Commit Graph

24 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
Marcel Holtmann 4e77afffb3 drivers: Update copyright information 2011-10-10 13:39:48 -07:00
Aki Niemi e17da972e2 isimodem: Rename resource debug macro 2011-04-12 20:39:18 +03:00
Mika Liljeberg c9a5b5143c isimodem: remove atoms that fail to probe 2011-03-31 10:22:22 -05:00
Pekka Pessi fef6de49af isimodem: fix crash in gprs
There was a crash if gprs was removed while creating context.
2011-01-18 22:29:24 +02:00
Aki Niemi 321bd16eb1 isimodem: Style fix in gprs, M12 2011-01-18 22:29:24 +02:00
Pekka Pessi e0b6a058a2 isimodem: use simplified client interface 2011-01-07 13:39:18 +02:00
Aki Niemi 98074fdb60 isimodem: Always compare to NULL explicitly 2010-12-22 17:13:48 +02:00
Mika Liljeberg 1199b3fc54 isimodem: prevent gprs autodetach 2010-12-22 17:13:48 +02:00
Mika Liljeberg 1272da9bb2 isimodem: improve GPRS timeouts 2010-12-22 17:13:48 +02:00
Mika Liljeberg b08f5b9e3b isimodem: revector GPRS driver to new gisi API 2010-12-22 17:13:48 +02: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
Aki Niemi 255782f8c2 isimodem: Fix request cleanup code
Adds a check for when the driver is being removed, in which case no
new ISI requests should be generated.
2010-10-19 15:06:35 +03:00
Aki Niemi 297b14ca8b isimodem: Fix copyright and license boilerplate 2010-10-14 15:22:16 +03:00
Aki Niemi cbf53bc708 isimodem: Report GPRS detach 2010-09-30 11:25:48 +03:00
Lucas De Marchi 74125ff5d4 Fix common misspellings in drivers
Fix common misspellings by using the list available at
http://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines

From the list cited above, the substitution script found the following
misspellings:

subsidary(-ies)->subsidiary(-ies)
transfering->transferring
2010-09-14 16:00:16 +09:00
Mika Liljeberg 74e4f9ee51 isimodem: implement Suspended property 2010-09-10 10:52:07 -05:00
Pekka Pessi 9d4a232313 isimodem/gprs: use g_isi_send() 2010-09-02 07:52:07 +03:00
Pekka Pessi 2778092b83 isimodem/gprs: fix attached_status response 2010-08-26 10:38:04 -05:00
Pekka Pessi 654c0ef73b Eliminated bool, true and false from isimodem. 2010-05-27 13:41:51 -05:00
Aki Niemi 41a21ac96b Fix typo in gprs driver 2010-04-27 23:21:48 +03:00
Aki Niemi c123a9b5ba Fix remove ops in isimodem drivers 2010-04-27 23:21:48 +03:00
Aki Niemi a03d11fec7 Fix style issues in isimodem 2010-04-27 23:21:48 +03:00
Aki Niemi a7989b7cbb Add isimodem gprs driver 2010-04-20 14:16:18 +03:00