Commit Graph

9 Commits

Author SHA1 Message Date
Jonas Bonn 67701b1c40 drivers: constify vtables
The driver vtables are read-only structures.  This patch declares them as
'const' allowing the compiler to (optionally) put them in the RELRO
section.  RELRO pages may be marked as read-only by the linker after
the relocations have been done ensuring that they aren't inadvertently
or maliciously altered at runtime.
2018-10-17 09:56:27 -05:00
Denis Kenzior ccbccc9bd0 nwmodem: Remove atom if driver fails to init 2012-03-26 16:50:59 -05:00
Marcel Holtmann 4e77afffb3 drivers: Update copyright information 2011-10-10 13:39:48 -07:00
Jeevaka Badrappan d7a14347f6 nwmodem: M15 coding style fix 2011-01-12 08:06:58 -08:00
Lucas De Marchi b82a7f8511 drivers: explicitly compare pointers to NULL
This patch was generated by the following semantic patch
(http://coccinelle.lip6.fr/)

// <smpl>
@fix disable is_null,isnt_null1@
expression *E;
@@

- !E
+ E == NULL
// </smpl>
2010-11-29 11:37:09 -06:00
Marcel Holtmann 64f327e2d0 nwmodem: Fix handling of radio access mode enum 2010-10-27 11:05:33 +02:00
Denis Kenzior f51b8af585 nwemodem: Fix up radio-settings driver 2010-08-13 14:00:43 -05:00
Denis Kenzior e916acc353 nwemodem: Use g_at_chat_clone 2010-08-12 23:40:47 -05:00
Marcel Holtmann 5b504e8a0d Add support for Novatel specific radio settings 2010-06-06 11:08:16 -07:00