- 01 9月, 2010 40 次提交
-
-
由 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>
-
由 Roberto Rodriguez Alkala 提交于
In today linux-next I got a compile warning in staging/otus driver. This patch solves the issue and also improves the coding style. Signed-off-by: NRoberto Rodriguez Alcala <rralcala@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Denis Kirjanov 提交于
Remove explicit arch dependencies Signed-off-by: NDenis Kirjanov <dkirjanov@kernel.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Manuel Stahl 提交于
this one completes my last patch set to compile fine for all drivers. Signed-off-by: NManuel Stahl <manuel.stahl@iis.fraunhofer.de> Signed-off-by: NJonathan Cameron <jic23@cam.ac.uk> Signed-off-by: NDatta, Shubhrajyoti <shubhrajyoti@ti.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Manuel Stahl 提交于
g -> ms/s^2 deg -> rad deg/s -> rad/s some temperatures still broken Signed-off-by: NManuel Stahl <manuel.stahl@iis.fraunhofer.de> Signed-off-by: NJonathan Cameron <jic23@cam.ac.uk> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Manuel Stahl 提交于
Signed-off-by: NManuel Stahl <manuel.stahl@iis.fraunhofer.de> Signed-off-by: NJonathan Cameron <jic23@cam.ac.uk> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Manuel Stahl 提交于
Signed-off-by: NManuel Stahl <manuel.stahl@iis.fraunhofer.de> Signed-off-by: NJonathan Cameron <jic23@cam.ac.uk> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Manuel Stahl 提交于
tested with sca3000, adis16400 Signed-off-by: NManuel Stahl <manuel.stahl@iis.fraunhofer.de> Signed-off-by: NJonathan Cameron <jic23@cam.ac.uk> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Manuel Stahl 提交于
Now fits other driver's structure for easier modification. Signed-off-by: NManuel Stahl <manuel.stahl@iis.fraunhofer.de> Signed-off-by: NJonathan Cameron <jic23@cam.ac.uk> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Manuel Stahl 提交于
bps -> bytes_per_datum ring_enable -> enable Signed-off-by: NManuel Stahl <manuel.stahl@iis.fraunhofer.de> Signed-off-by: NJonathan Cameron <jic23@cam.ac.uk> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Dan Carpenter 提交于
i2c_smbus_read_byte_data() returns an s32 type. We need to change "rate" to signed for the error handling to work. Also I changed it to propogate the error code instead of just returning -EINVAL. Other error codes could be -EAGAIN for example. Signed-off-by: NDan Carpenter <error27@gmail.com> Acked-by: NJonathan Cameron <jic23@cam.ac.uk> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Julia Lawall 提交于
Adjust the error handling code so that it benefits from the call to mutex_unlock at the end of the function. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @rcu exists@ position p1; expression E; @@ mutex_lock@p1(E); ... mutex_unlock(E); @exists@ position rcu.p1; expression E; @@ *mutex_lock@p1(E); ... when != mutex_unlock(E); ?*return ...; // </smpl> Signed-off-by: NJulia Lawall <julia@diku.dk> Acked-by: NJonathan Cameron <jic23@cam.ac.uk> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Dan Carpenter 提交于
The first kfree(pDevice) is pointless because pDevice is NULL. The second kfree(pDevice) is a double free because pDevice is the driver's private data and that is already freed by free_netdev(netdev). Also the free_netdev() error path doesn't call usb_put_dev(). Signed-off-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Luis Bosch 提交于
Added spaces in for loop arguments. Signed-off-by: NLuis Bosch <luis.bosch@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Victor Rosales 提交于
Removed spaces between functions name and parenthesis. Signed-off-by: NVictor Rosales <victorhrosales@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-