linux_dsm_epyc7002/drivers/net/wireless/rtlwifi
Phil Carmody 497888cf69 treewide: fix potentially dangerous trailing ';' in #defined values/expressions
All these are instances of
  #define NAME value;
or
  #define NAME(params_opt) value;

These of course fail to build when used in contexts like
  if(foo $OP NAME)
  while(bar $OP NAME)
and may silently generate the wrong code in contexts such as
  foo = NAME + 1;    /* foo = value; + 1; */
  bar = NAME - 1;    /* bar = value; - 1; */
  baz = NAME & quux; /* baz = value; & quux; */

Reported on comp.lang.c,
Message-ID: <ab0d55fe-25e5-482b-811e-c475aa6065c3@c29g2000yqd.googlegroups.com>
Initial analysis of the dangers provided by Keith Thompson in that thread.

There are many more instances of more complicated macros having unnecessary
trailing semicolons, but this pile seems to be all of the cases of simple
values suffering from the problem. (Thus things that are likely to be found
in one of the contexts above, more complicated ones aren't.)

Signed-off-by: Phil Carmody <ext-phil.2.carmody@nokia.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2011-07-21 14:10:00 +02:00
..
rtl8192c rtlwifi: rtl8192c-common: rtl8192ce: Fix for HT40 regression 2011-05-16 14:25:30 -04:00
rtl8192ce treewide: fix potentially dangerous trailing ';' in #defined values/expressions 2011-07-21 14:10:00 +02:00
rtl8192cu rtl8192cu: Fix missing firmware load 2011-06-22 15:47:59 -04:00
rtl8192se rtlwifi: rtl8192se: Remove need to disable ASPM 2011-05-10 15:54:47 -04:00
base.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2011-05-05 13:32:35 -04:00
base.h rtlwifi: Change base routines for addition of rtl8192se and rtl8192de 2011-04-26 16:13:31 -04:00
cam.c rtlwifi: Change cam routines for addition of rtl8192se and rtl8192de 2011-04-26 16:13:31 -04:00
cam.h rtlwifi: Change cam routines for addition of rtl8192se and rtl8192de 2011-04-26 16:13:31 -04:00
core.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-05-23 09:12:26 -07:00
core.h rtlwifi: Convert core routines for addition of rtl8192se and rtl8192de 2011-04-26 16:13:32 -04:00
debug.c
debug.h rtlwifi: Modify core routines 2011-02-11 16:16:37 -05:00
efuse.c rtlwifi: Move 2 large arrays off stack 2011-05-10 15:54:46 -04:00
efuse.h rtlwifi: Change efuse routines addition of RTL8192SE and RTL8192DE 2011-04-26 16:13:31 -04:00
Kconfig rtlwifi: rtl8192se: Modify Kconfig and Makefile routines for new driver 2011-05-05 14:59:14 -04:00
Makefile rtlwifi: rtl8192se: Modify Kconfig and Makefile routines for new driver 2011-05-05 14:59:14 -04:00
pci.c rtlwifi: rtl8192se: Handle duplicate PCI ID 0x10ec:0x8192 conflict with r8192e_pci 2011-06-20 14:56:56 -04:00
pci.h rtlwifi: Convert pci routines for addition of rtl8192se and rtl8192de 2011-04-26 16:13:32 -04:00
ps.c rtlwifi: rtl8192c-common: rtl8192ce: Fix for HT40 regression 2011-05-16 14:25:30 -04:00
ps.h rtlwifi: Convert ps routines for addition of rtl8192se and rtl8192de 2011-04-26 16:13:32 -04:00
rc.c rtlwifi: Convert rc routines for addition of rtl8192se and rtl8192de 2011-04-26 16:13:32 -04:00
rc.h rtlwifi: Convert rc routines for addition of rtl8192se and rtl8192de 2011-04-26 16:13:32 -04:00
regd.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2011-05-05 13:32:35 -04:00
regd.h rtlwifi: Convert regulatory domain routines for addition of rtl8192se and rtl8192de 2011-04-26 16:13:32 -04:00
usb.c rtlwifi: Convert usb routines for addition of rtl8192se and rtl8192de 2011-04-26 16:13:32 -04:00
usb.h rtlwifi: Change base routines for addition of rtl8192se and rtl8192de 2011-04-26 16:13:31 -04:00
wifi.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2011-05-05 13:32:35 -04:00