Stephen Hemminger
450d7a4b7a
Staging: hv: ring parameter
...
The ring size parameter should be number of pages (not bytes).
Add module parameter information as well.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com >
Acked-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:09 -07:00
Stephen Hemminger
7880fc54c9
Staging: hv: cleanup network driver
...
Minor stuff:
* Add module description
* Remove variable set but never used.
* Move variable inside conditional
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com >
Acked-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:09 -07:00
Greg Kroah-Hartman
4e4b592cb5
Staging: comedi: hwdrv_apci3xxx.c: loads of sparse cleanups
...
__iomem pointer fixes, and static cleanups.
Cc: Ian Abbott <abbotti@mev.co.uk >
Cc: Frank Mori Hess <fmhess@users.sourceforge.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:09 -07:00
Greg Kroah-Hartman
a6dc6d0df2
Staging: comedi: hwdrv_apci3501.h: make a variable static.
...
Cleans up the sparse warning.
Cc: Ian Abbott <abbotti@mev.co.uk >
Cc: Frank Mori Hess <fmhess@users.sourceforge.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:09 -07:00
Greg Kroah-Hartman
882980133d
Staging: comedi: hwdrv_apci2032.c: static sparse fix
...
Cc: Ian Abbott <abbotti@mev.co.uk >
Cc: Frank Mori Hess <fmhess@users.sourceforge.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:09 -07:00
Greg Kroah-Hartman
0b437fc493
Staging: comedi: hwdrv_apci1564.c: static sparse cleanups.
...
Cc: Ian Abbott <abbotti@mev.co.uk >
Cc: Frank Mori Hess <fmhess@users.sourceforge.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:09 -07:00
Greg Kroah-Hartman
a943532652
Staging: comedi: hwdrv_apci1500.c: sparse static cleanups
...
Mark a bunch of variables and functions as static.
Cc: Ian Abbott <abbotti@mev.co.uk >
Cc: Frank Mori Hess <fmhess@users.sourceforge.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:09 -07:00
Greg Kroah-Hartman
2179b4c8b5
Staging: comedi: hwdrv_apci1032.c: sparse warning fixups
...
Mark a variable as static.
Cc: Ian Abbott <abbotti@mev.co.uk >
Cc: Frank Mori Hess <fmhess@users.sourceforge.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:08 -07:00
Greg Kroah-Hartman
1a538dfd16
Staging: comedi: hwdrv_apci035.h: fix sparse warnings
...
This let us delete two variables and mark one as static.
Cc: Ian Abbott <abbotti@mev.co.uk >
Cc: Frank Mori Hess <fmhess@users.sourceforge.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:08 -07:00
Greg Kroah-Hartman
08b93e7bda
Staging: comedi: hwdrv_apci035.c: fix sparse warnings
...
Some variables should be static.
Cc: Ian Abbott <abbotti@mev.co.uk >
Cc: Frank Mori Hess <fmhess@users.sourceforge.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:08 -07:00
Greg Kroah-Hartman
525d1b1395
Staging: comedi: adl_pci9111.c: fix sparse warnings
...
divisor and other problems fixed.
Cc: Ian Abbott <abbotti@mev.co.uk >
Cc: Frank Mori Hess <fmhess@users.sourceforge.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:08 -07:00
Greg Kroah-Hartman
5f35f3f19f
Staging: comedi: adl_pci9118.c: fix unsigned problem with divisors
...
Cc: Ian Abbott <abbotti@mev.co.uk >
Cc: Frank Mori Hess <fmhess@users.sourceforge.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:08 -07:00
Greg Kroah-Hartman
a8cb9ad9ad
Staging: comedi: adv_pci1710.c: fix unsigned problem with divisors
...
Cc: Ian Abbott <abbotti@mev.co.uk >
Cc: Frank Mori Hess <fmhess@users.sourceforge.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:08 -07:00
Greg Kroah-Hartman
a7f22a84ba
Staging: comedi: amplc_dio200.c: fix NULL sparse warnings
...
Cc: Ian Abbott <abbotti@mev.co.uk >
Cc: Frank Mori Hess <fmhess@users.sourceforge.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:08 -07:00
Greg Kroah-Hartman
f31d0008ce
Staging: comedi: cb_pcidas64.c: fix sparse warnings
...
This fixes a bunch of iomem and other sparse warnings.
Cc: Ian Abbott <abbotti@mev.co.uk >
Cc: Frank Mori Hess <fmhess@users.sourceforge.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:08 -07:00
Greg Kroah-Hartman
d18c5906d0
Staging: comedi: das1800.c: fix a locking error on the error path.
...
Cc: Ian Abbott <abbotti@mev.co.uk >
Cc: Frank Mori Hess <fmhess@users.sourceforge.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:08 -07:00
Greg Kroah-Hartman
b74a967085
Staging: comedi: plx9080.h: properly mark iomem variables
...
It's a __iomem *, so mark it as such.
Cc: Ian Abbott <abbotti@mev.co.uk >
Cc: Frank Mori Hess <fmhess@users.sourceforge.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:07 -07:00
Greg Kroah-Hartman
e3752a1dfd
Staging: comedi: quatech_daqp_cs.c: fix up the irq
...
The irq needs to return the correct type. Also fix up some other
sparse warnings that were found.
Cc: Ian Abbott <abbotti@mev.co.uk >
Cc: Frank Mori Hess <fmhess@users.sourceforge.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:07 -07:00
Greg Kroah-Hartman
ad2d4714a5
Staging: comedi: addi_amcc_s5933.h: sparse cleanup
...
Mark a variable static that does not need to be global.
Cc: Ian Abbott <abbotti@mev.co.uk >
Cc: Frank Mori Hess <fmhess@users.sourceforge.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:07 -07:00
Greg Kroah-Hartman
2f78c64255
Staging: comedi: addi_common.c: sparse cleanups
...
Now that we are properly marking the variable as __iomem, don't
cast it.
Also fix up some other sparse warnings.
Cc: Ian Abbott <abbotti@mev.co.uk >
Cc: Frank Mori Hess <fmhess@users.sourceforge.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:07 -07:00
Greg Kroah-Hartman
6dd2281464
Staging: comedi: addi_common.h: properly mark this variable as __iomem
...
It's not an unsigned long, it's a __iomem pointer, so mark it as
such.
Cc: Ian Abbott <abbotti@mev.co.uk >
Cc: Frank Mori Hess <fmhess@users.sourceforge.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:07 -07:00
Greg Kroah-Hartman
643a5420f1
Staging: comedi: usbduxfast.c: mark a function static
...
It does not need to be global.
Cc: Ian Abbott <abbotti@mev.co.uk >
Cc: Frank Mori Hess <fmhess@users.sourceforge.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:07 -07:00
Greg Kroah-Hartman
135998cc00
Staging: comedi: 8255.c: mark some functions static
...
sparse pointed out that these functions should be static, so mark them
as such.
Cc: Ian Abbott <abbotti@mev.co.uk >
Cc: Frank Mori Hess <fmhess@users.sourceforge.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:07 -07:00
Greg Kroah-Hartman
30162d690c
Staging: comedi: mark a variable as __user
...
This is really a userspace pointer, so mark it as such.
Cc: Ian Abbott <abbotti@mev.co.uk >
Cc: Frank Mori Hess <fmhess@users.sourceforge.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:07 -07:00
Greg Kroah-Hartman
6610944a91
Staging: hv: fix up sparse warning in hyperv_utils.c
...
The function isn't called by anyone else, so mark it static.
Also remove version.h, as it is not needed.
Cc: Hank Janssen <hjanssen@microsoft.com >
Cc: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:07 -07:00
Alan Cox
375d65db27
Staging: rar and memrar updates
...
rar: perform a clean up pass
- Move to a registration model where each RAR is claimed/unclaimed
- Use that to fix the client stuff (one client per RAR so no need to queue stuff)
- Support unregister so drivers can rmmod themselves safely
- Fix locking hang on calling rar lock from rar callback
- Clean up
- Kerneldoc
Folded in the memrar update as Greg asked
- Fix various unload related bugs
- Use the per RAR allocator/deallocator
- Add kerneldoc
Signed-off-by: Alan Cox <alan@linux.intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:07 -07:00
Barry Song
a9d26f00b8
staging:iio:imu ADIS16400 and ADIS16405 driver
...
Signed-off-by: Manuel Stahl <manuel.stahl@iis.fraunhofer.de >
Signed-off-by: Barry Song <Barry.Song@analog.com >
Acked-by: Jonathan Cameron <jic23@cam.ac.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:06 -07:00
Barry Song
1e3864e635
staging:iio:imu ADIS16300 driver
...
Signed-off-by: Barry Song <Barry.Song@analog.com >
Acked-by: Jonathan Cameron <jic23@cam.ac.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:06 -07:00
Jonathan Cameron
9d8ae6c884
staging:iio:Documentation: Rewrite example for new abi.
...
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:06 -07:00
Jonathan Cameron
e9124afad3
staging:iio:tsl2563 add a name attribute under the iio
...
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:06 -07:00
Jonathan Cameron
8474ddd7cb
staging:iio:ring_sw: Fix incorrect test on successful read of last value, causes infinite loop
...
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:06 -07:00
Jonathan Cameron
3bf877c1cc
staging:iio:max1363 add support for 8 bit equivalent devices, max1036-9, max11600-5
...
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:06 -07:00
Jonathan Cameron
c3fa0fddd6
staging:iio:max1363 add support for max11606-max11617
...
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:06 -07:00
Jonathan Cameron
758d988ce0
staging:iio: Remove naming via IDR's where no longer necessary under new abi.
...
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:06 -07:00
Jonathan Cameron
2a6a255494
staging:iio:tsl2563: change lux to illuminance0_input to match new abi
...
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:06 -07:00
Jonathan Cameron
ba5c6fbac6
staging:iio: Directory name changes to match new ABI.
...
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:05 -07:00
Jonathan Cameron
e34d2c5fa2
staging:iio: ABI documentation (partial)
...
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:05 -07:00
Jonathan Cameron
eaf86ff939
staging:iio: Documentation, update iio_utils.h for the move to a bus
...
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:05 -07:00
Jonathan Cameron
82020b0ef1
staging:iio:max1363 move to new abi.
...
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:05 -07:00
Jonathan Cameron
1722762cea
staging:iio: Clean out unused IIO_SCAN_EL and add IIO_SCAN_NAMED_EL_C
...
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:05 -07:00
Jonathan Cameron
5cba220b0a
staging:iio: Move event attributes into the event[n] device in sysfs
...
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:05 -07:00
Jonathan Cameron
5aaaeba82e
staging: iio: Move from class to bus
...
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:05 -07:00
Jonathan Cameron
e5c003ae82
staging:iio: Support functions for scan mask matching
...
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:05 -07:00
Jonathan Cameron
f3fb001191
iio:staging:accelerometers move towards the new abi
...
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:05 -07:00
Jonathan Cameron
ff7723e203
staging:iio: Add new attrs for sampling frequency available and temp_raw
...
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:04 -07:00
Jonathan Cameron
ad313b1062
staging:iio: Add new in_raw definitions for adc channels.
...
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:04 -07:00
Florian Schilhabel
495c57f5f0
Staging: rtl8192su: all rtl8192su chips have the 93c46 eprom
...
all rtl8192su chips have the 93c46 eprom. (no 93c56)
it it theoretically safe to remove the 93c56 definitions and some unneeded code.
if your device stops working after this patch, please send me a mail
and include some information about your device:
* dmesg
* lsusb -v
* _exact_ chipset (version)
* vendor
* everything else, that may help
plus cosmetics.
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:04 -07:00
Florian Schilhabel
e695b470b3
Staging: rtl8192su: refactored FirmwareCheckReady
...
replaced if..else if..else by a switch.
this is hopefully easier to read.
plus cosmetics.
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:04 -07:00
Florian Schilhabel
199ef62a28
Staging: rtl8192su: check for skb == NULL
...
added 2 checks for skb == NULL.
plus cosmetics
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:04 -07:00
Joe Perches
694a98073f
Staging: staging/cxt1e1: Convert bare printks to pr_<level>
...
Added #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
A few line splits for long arguments
A couple of embedded function names converted to "%s", __func__
Removed some uses of THIS_MODULE->name
Signed-off-by: Joe Perches <joe@perches.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-11 11:36:04 -07:00