- 04 4月, 2009 40 次提交
-
-
由 Julia Lawall 提交于
If the NULL test is necessary, then the dereference should be moved below the NULL test. The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // <smpl> @@ type T; expression E; identifier i,fld; statement S; @@ - T i = E->fld; + T i; ... when != E when != i if (E == NULL) S + i = E->fld; // </smpl> Signed-off-by: NJulia Lawall <julia@diku.dk> Cc: YanBo <dreamfly281@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Huang Weiyi 提交于
Removed duplicated #include's in drivers/staging/altpciechdma/altpciechdma.c drivers/staging/comedi/comedidev.h drivers/staging/rt2860/rt_linux.h drivers/staging/rt2870/rt_linux.h Signed-off-by: NHuang Weiyi <weiyi.huang@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Andre Haupt 提交于
This eliminates checkpatch.pl warnings, that struct file_operations is usually const. The structs me4000_ai_fops_array and me4000_ao_fops_array are not modified and thus also made const. Signed-off-by: NAndre Haupt <andre@bitwigglers.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Andre Haupt 提交于
Signed-off-by: NAndre Haupt <andre@bitwigglers.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Andre Haupt 提交于
Signed-off-by: NAndre Haupt <andre@bitwigglers.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Andre Haupt 提交于
Signed-off-by: NAndre Haupt <andre@bitwigglers.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Andre Haupt 提交于
Signed-off-by: NAndre Haupt <andre@bitwigglers.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Andre Haupt 提交于
checkpatch.pl triggered those as false positives for trailing statements, but those lines also triggered some other warnings. Signed-off-by: NAndre Haupt <andre@bitwigglers.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Andre Haupt 提交于
fixes some checkpatch.pl errors complaining about wrong position of the inline keyword Signed-off-by: NAndre Haupt <andre@bitwigglers.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Andre Haupt 提交于
fixes some checkpatch.pl errors about unneccessary parentheses. Signed-off-by: NAndre Haupt <andre@bitwigglers.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Andre Haupt 提交于
This fixes the following checkpatch.pl warnings: WARNING: Use #include <linux/uaccess.h> instead of <asm/uaccess.h> WARNING: Use #include <linux/io.h> instead of <asm/io.h> Signed-off-by: NAndre Haupt <andre@bitwigglers.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Richard Kennedy 提交于
Add a mutex to block ioctls before the card is fully initialised and only allow one ioctl at a time. This stops udev trying to load the firmware before to card is fully up. patch ported from wlan-ng-devel Karl Relton <karllinuxtest.relton@ntlworld.com> spotted that this was missing from the staging version, http://lists.linux-wlan.com/pipermail/linux-wlan-devel/2009-February/003890.htmlSigned-off-by: NRichard Kennedy <richard@rsk.demon.co.uk> Cc: Karl Relton <karllinuxtest.relton@ntlworld.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Moritz Muehlenhoff 提交于
Replace hfa384x2host_16(), hfa384x2host_32(), host2hfa384x_16() and host2hfa384x_32() with standard byteorder macros. Signed-off-by: NMoritz Muehlenhoff <jmm@debian.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Moritz Muehlenhoff 提交于
Signed-off-by: NMoritz Muehlenhoff <jmm@debian.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Moritz Muehlenhoff 提交于
Signed-off-by: NMoritz Muehlenhoff <jmm@debian.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Moritz Muehlenhoff 提交于
Signed-off-by: NMoritz Muehlenhoff <jmm@debian.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Moritz Muehlenhoff 提交于
Signed-off-by: NMoritz Muehlenhoff <jmm@debian.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Moritz Muehlenhoff 提交于
Signed-off-by: NMoritz Muehlenhoff <jmm@debian.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Moritz Muehlenhoff 提交于
Signed-off-by: NMoritz Muehlenhoff <jmm@debian.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Moritz Muehlenhoff 提交于
Signed-off-by: NMoritz Muehlenhoff <jmm@debian.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Moritz Muehlenhoff 提交于
Signed-off-by: NMoritz Muehlenhoff <jmm@debian.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Moritz Muehlenhoff 提交于
Signed-off-by: NMoritz Muehlenhoff <jmm@debian.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Moritz Muehlenhoff 提交于
Signed-off-by: NMoritz Muehlenhoff <jmm@debian.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Moritz Muehlenhoff 提交于
Signed-off-by: NMoritz Muehlenhoff <jmm@debian.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Moritz Muehlenhoff 提交于
Signed-off-by: NMoritz Muehlenhoff <jmm@debian.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Moritz Muehlenhoff 提交于
Signed-off-by: NMoritz Muehlenhoff <jmm@debian.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Moritz Muehlenhoff 提交于
Signed-off-by: NMoritz Muehlenhoff <jmm@debian.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Moritz Muehlenhoff 提交于
Signed-off-by: NMoritz Muehlenhoff <jmm@debian.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Moritz Muehlenhoff 提交于
Signed-off-by: NMoritz Muehlenhoff <jmm@debian.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Moritz Muehlenhoff 提交于
Signed-off-by: NMoritz Muehlenhoff <jmm@debian.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Moritz Muehlenhoff 提交于
Signed-off-by: NMoritz Muehlenhoff <jmm@debian.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Moritz Muehlenhoff 提交于
Signed-off-by: NMoritz Muehlenhoff <jmm@debian.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Moritz Muehlenhoff 提交于
Signed-off-by: NMoritz Muehlenhoff <jmm@debian.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Moritz Muehlenhoff 提交于
Signed-off-by: NMoritz Muehlenhoff <jmm@debian.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Moritz Muehlenhoff 提交于
Signed-off-by: NMoritz Muehlenhoff <jmm@debian.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Moritz Muehlenhoff 提交于
Signed-off-by: NMoritz Muehlenhoff <jmm@debian.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Moritz Muehlenhoff 提交于
Signed-off-by: NMoritz Muehlenhoff <jmm@debian.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Moritz Muehlenhoff 提交于
Signed-off-by: NMoritz Muehlenhoff <jmm@debian.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Moritz Muehlenhoff 提交于
Signed-off-by: NMoritz Muehlenhoff <jmm@debian.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Moritz Muehlenhoff 提交于
Signed-off-by: NMoritz Muehlenhoff <jmm@debian.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-