- 01 9月, 2010 40 次提交
-
-
由 Mike McCormack 提交于
Signed-off-by: NMike McCormack <mikem@ring3k.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mike McCormack 提交于
Signed-off-by: NMike McCormack <mikem@ring3k.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mike McCormack 提交于
Signed-off-by: NMike McCormack <mikem@ring3k.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mike McCormack 提交于
Make functions static and move their declarations to the top of the file. Signed-off-by: NMike McCormack <mikem@ring3k.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mike McCormack 提交于
Signed-off-by: NMike McCormack <mikem@ring3k.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mike McCormack 提交于
Signed-off-by: NMike McCormack <mikem@ring3k.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mike McCormack 提交于
Signed-off-by: NMike McCormack <mikem@ring3k.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Randy Dunlap 提交于
Fix many sparse warnings about data or functions being static. Fix many sparse warnings about data or functions not being used (put them inside #if 0/#endif blocks). Fix sparse warnings about 0 being used for NULL. Fixed a small bit of source formatting when those lines were being modified anyway, but there is still lots of this yet to be done. Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com> Cc: devel@driverdev.osuosl.org Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Dan Carpenter 提交于
copy_to_user() returns the number of bytes remaining to be copied, but we want to return a negative error code here. Signed-off-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Kulikov Vasiliy 提交于
Original code does not call sysfs_remove_group() on error. This can lead to NULL dereference. Signed-off-by: NKulikov Vasiliy <segooon@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Kulikov Vasiliy 提交于
Original code doesn't call kfree(chip) on error. Signed-off-by: NKulikov Vasiliy <segooon@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Kulikov Vasiliy 提交于
If stub_probe() failed then do not increase interf_count. In original code sdev was leaked as its interf_count never reaches 0. Signed-off-by: NKulikov Vasiliy <segooon@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Jarod Wilson 提交于
On Fri, Aug 13, 2010 at 03:38:40PM +0200, Dan Carpenter wrote: > Speak of left over stuff, it's weird that I didn't notice this before > but gcc complains about an unitialized variable in > imon_incoming_packet(). > > drivers/staging/lirc/lirc_imon.c: In function ‘imon_incoming_packet’: > drivers/staging/lirc/lirc_imon.c:661: warning: ‘chunk_num’ may be used > uninitialized in this function > > I don't know how to fix that, but it looks important. Ew. Yeah, that doesn't look so hot like it is right now. The old lirc_imon driver had chunk_num = buf[7], and made much more extensive use of chunk_num. Simply removing chunk_num and using buf[7] should be fine. Signed-off-by: NJarod Wilson <jarod@redhat.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Kulikov Vasiliy 提交于
Driver should call disable_pci_device() if it returns from pci_probe() with error. Also it must not be called if pci_request_region() fails as it means that somebody uses device resources and rules the device. Signed-off-by: NKulikov Vasiliy <segooon@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Kulikov Vasiliy 提交于
Driver should call disable_pci_device() if it returns from pci_probe() with error. Signed-off-by: NKulikov Vasiliy <segooon@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Kulikov Vasiliy 提交于
Driver should call disable_pci_device() if it returns from pci_probe() with error. Signed-off-by: NKulikov Vasiliy <segooon@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Dan Carpenter 提交于
acpi_bus_register_driver() returns an int, not acpi_status. It returns zero on success and negative error codes on failure, but acpi_status is unsigned. We can just use "ret" here. Signed-off-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Dan Carpenter 提交于
In the original source it would write past the end of the array before returning the error code. Signed-off-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Dan Carpenter 提交于
In the original code there was some extra semicolons after the if statement: if (!channel_map[ieee->current_network.channel]); ^^^ >From the indenting it looked like that should be curly braces instead. Also I made some white space changes to stop checkpatch.pl from complaining. Signed-off-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Dan Carpenter 提交于
We never use control_req so I removed it. Signed-off-by: NDan Carpenter <error27@gmail.com> Acked-by: NJarod Wilson <jarod@redhat.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Kulikov Vasiliy 提交于
Driver should call disable_pci_device() if it returns from pci_probe() with error. Signed-off-by: NKulikov Vasiliy <segooon@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Kulikov Vasiliy 提交于
Driver should call disable_pci_device() if it returns from pci_probe() with error. Signed-off-by: NKulikov Vasiliy <segooon@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Kulikov Vasiliy 提交于
Driver should call disable_pci_device() if it returns from pci_probe() with error. Signed-off-by: NKulikov Vasiliy <segooon@gmail.com> Acked-by: NJarod Wilson <jarod@redhat.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Javier Martinez Canillas 提交于
Use DEFINE_PCI_DEVICE_TABLE() to make xgifb_pci_table const and marked as __devinitconst Signed-off-by: NJavier Martinez Canillas <martinez.javier@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Javier Martinez Canillas 提交于
This is the first of a patch series that uses PCI_DEVICE() macro for pci table entries on comedi drivers and thus improving readability. Signed-off-by: NJavier Martinez Canillas <martinez.javier@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Javier Martinez Canillas 提交于
Use PCI_DEVICE() macro for pci table entries on comedi driver and thus improves readability. Signed-off-by: NJavier Martinez Canillas <martinez.javier@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Javier Martinez Canillas 提交于
Use PCI_DEVICE() macro for pci table entries on comedi driver and thus improves readability. Signed-off-by: NJavier Martinez Canillas <martinez.javier@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Javier Martinez Canillas 提交于
Use PCI_DEVICE() macro for pci table entries on comedi driver and thus improves readability. Signed-off-by: NJavier Martinez Canillas <martinez.javier@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Javier Martinez Canillas 提交于
Use PCI_DEVICE() macro for pci table entries on comedi driver and thus improves readability. Signed-off-by: NJavier Martinez Canillas <martinez.javier@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Javier Martinez Canillas 提交于
Use PCI_DEVICE() macro for pci table entries on comedi driver and thus improves readability. Signed-off-by: NJavier Martinez Canillas <martinez.javier@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Javier Martinez Canillas 提交于
Use PCI_DEVICE() macro for pci table entries on comedi driver and thus improves readability. Signed-off-by: NJavier Martinez Canillas <martinez.javier@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Javier Martinez Canillas 提交于
Use PCI_DEVICE() macro for pci table entries on comedi driver and thus improves readability. Signed-off-by: NJavier Martinez Canillas <martinez.javier@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Javier Martinez Canillas 提交于
Use PCI_DEVICE() macro for pci table entries on comedi driver and thus improves readability. Signed-off-by: NJavier Martinez Canillas <martinez.javier@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Javier Martinez Canillas 提交于
Use PCI_DEVICE() macro for pci table entries on comedi driver and thus improves readability. Signed-off-by: NJavier Martinez Canillas <martinez.javier@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Javier Martinez Canillas 提交于
Use PCI_DEVICE() macro for pci table entries on comedi driver and thus improves readability. Signed-off-by: NJavier Martinez Canillas <martinez.javier@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Javier Martinez Canillas 提交于
Use PCI_DEVICE() macro for pci table entries on comedi driver and thus improves readability. Signed-off-by: NJavier Martinez Canillas <martinez.javier@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Javier Martinez Canillas 提交于
Use PCI_DEVICE() macro for pci table entries on comedi driver and thus improves readability. Signed-off-by: NJavier Martinez Canillas <martinez.javier@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Javier Martinez Canillas 提交于
Use PCI_DEVICE() macro for pci table entries on comedi driver and thus improves readability. Signed-off-by: NJavier Martinez Canillas <martinez.javier@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Neil Munro 提交于
Fixed the single spacing error in oid.h. Signed-off-by: NNeil Munro <neilmunro@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Neil Munro 提交于
Fixed two coding style errors in the form of pointer style issues in eeprom.h. Signed-off-by: NNeil Munro <neilmunro@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-