mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
if_cablemodem.h: Add parenthesis around ioctl macros
[ Upstream commit 4f924b2aa4
]
Protect the SIOCGCM* ioctl macros with parenthesis.
Reported-by: Paul Wouters <pwouters@redhat.com>
Signed-off-by: Josh Boyer <jwboyer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9faef35be7
commit
e52507b906
1 changed files with 6 additions and 6 deletions
|
@ -12,11 +12,11 @@
|
|||
*/
|
||||
|
||||
/* some useful defines for sb1000.c e cmconfig.c - fv */
|
||||
#define SIOCGCMSTATS SIOCDEVPRIVATE+0 /* get cable modem stats */
|
||||
#define SIOCGCMFIRMWARE SIOCDEVPRIVATE+1 /* get cm firmware version */
|
||||
#define SIOCGCMFREQUENCY SIOCDEVPRIVATE+2 /* get cable modem frequency */
|
||||
#define SIOCSCMFREQUENCY SIOCDEVPRIVATE+3 /* set cable modem frequency */
|
||||
#define SIOCGCMPIDS SIOCDEVPRIVATE+4 /* get cable modem PIDs */
|
||||
#define SIOCSCMPIDS SIOCDEVPRIVATE+5 /* set cable modem PIDs */
|
||||
#define SIOCGCMSTATS (SIOCDEVPRIVATE+0) /* get cable modem stats */
|
||||
#define SIOCGCMFIRMWARE (SIOCDEVPRIVATE+1) /* get cm firmware version */
|
||||
#define SIOCGCMFREQUENCY (SIOCDEVPRIVATE+2) /* get cable modem frequency */
|
||||
#define SIOCSCMFREQUENCY (SIOCDEVPRIVATE+3) /* set cable modem frequency */
|
||||
#define SIOCGCMPIDS (SIOCDEVPRIVATE+4) /* get cable modem PIDs */
|
||||
#define SIOCSCMPIDS (SIOCDEVPRIVATE+5) /* set cable modem PIDs */
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue