Commit Graph

6 Commits

Author SHA1 Message Date
Jonas Bonn 3beeff758d treewide: Remove superfluous use of _GNU_SOURCE
There are a large number of files in the tree that define _GNU_SOURCE
despite not actually using features hidden behind this flag.  This patch
removes all these definitions in one fell swoop...
2018-10-17 10:01:57 -05:00
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 ab4cfc1070 ztemodem: Remove atom if driver fails to init 2012-03-26 16:50:11 -05:00
Denis Kenzior e9fc8c6411 ztemodem: Fix compile error
drivers/ztemodem/radio-settings.c:129: error: ‘value’ may be used
uninitialized in this function
2012-03-26 16:49:38 -05:00
Bertrand Aygon 75e3bb6167 ztemodem: Add radio settings support 2012-03-26 16:42:38 -05:00
Bertrand Aygon 87bda87830 Add ZTE modem driver 2012-03-26 16:38:19 -05:00