]> git.openfabrics.org - ~emulex/infiniband.git/log
~emulex/infiniband.git
11 years agostaging: comedi: me4000: convert boardinfo initialization to C99 format
H Hartley Sweeten [Sat, 8 Sep 2012 00:38:52 +0000 (17:38 -0700)]
staging: comedi: me4000: convert boardinfo initialization to C99 format

Convert the boardinfo initialization to C99 format to make it
less error prone and easier to maintain.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: me4000: remove ME4000_BOARD_VERSIONS
H Hartley Sweeten [Sat, 8 Sep 2012 00:38:30 +0000 (17:38 -0700)]
staging: comedi: me4000: remove ME4000_BOARD_VERSIONS

Remove the terminating entry in the boardinfo so that ARRAY_SIZE
works correctly. Then remove ME4000_BOARD_VERSIONS and just use
ARRAY_SIZE in the probe.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging/ipack: Fix bug introduced by IPack device matching
Jens Taprogge [Fri, 7 Sep 2012 08:29:19 +0000 (10:29 +0200)]
staging/ipack: Fix bug introduced by IPack device matching

~0 can not be casted to u8.  Instead of using the IPACK_ANY_ID for the format
field we introduce a new IPACK_ANY_FORMAT specifically for that field and
defined as 0xff.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jens Taprogge <jens.taprogge@taprogge.org>
Acked-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: ipack: only build on platforms that provide ioread/iowrite.
Jens Taprogge [Thu, 6 Sep 2012 19:45:18 +0000 (21:45 +0200)]
staging: ipack: only build on platforms that provide ioread/iowrite.

Do so by depending on HAS_IOMEM.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Jens Taprogge <jens.taprogge@taprogge.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: vmk80xx: fix compiler warning
Greg Kroah-Hartman [Thu, 6 Sep 2012 18:21:48 +0000 (11:21 -0700)]
staging: comedi: vmk80xx: fix compiler warning

gcc complains about some potentially uninitalized variables here, yet it
can not happen, due to an enumerated type (either the board is one type
or the other.)  Make the compiler happy by providing a default case
option that makes the logic a bit simpler for it to determine that there
really isn't a problem here.

Cc: H Hartley Sweeten <hartleys@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: usbip: vhci_hcd: fixed suspend-resume loop
navin patidar [Thu, 6 Sep 2012 11:19:50 +0000 (16:49 +0530)]
staging: usbip: vhci_hcd: fixed suspend-resume loop

USB autosuspend suspends vhci_hcd. In this process hcd_bus_suspend gets
executed which puts vhci_hcd in suspend state and calls vhci_hub_status.
vhci_hub_status function checks hub state and if it is in suspend state,
usb_hcd_resume_root_hub gets executed which resumes hub and if hub is
idle, again autosuspend puts it in suspend state and this goes on.

vhci_hub_status should resume hub only when hub port is in suspend state
and hub port status has changed.

Signed-off-by: navin patidar <navinp@cdac.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: usbip: avoid deadlock in vhci_device_unlink_cleanup()
Bernard Blackham [Thu, 6 Sep 2012 10:25:04 +0000 (20:25 +1000)]
staging: usbip: avoid deadlock in vhci_device_unlink_cleanup()

Almost all of usbip assumes that the_controller->lock is acquired
before vdev->priv_lock. The exception is in
vhci_device_unlink_cleanup(), where locks are acquired in the
reverse order. This leads to occasional deadlocks.

Fixing this is a bit fiddly, as the_controller->lock can't be held
when calling usb_hcd_unlink_urb_from_ep() in the middle of the list
traversal. As I can't rule out concurrent callers to this function
(perhaps it is safe?), the code here becomes slightly uglier - when
locks are dropped in the middle so the list may have emptied itself
(not even list_for_each_entry_safe is safe here).

Signed-off-by: Bernard Blackham <b-linuxgit@largestprime.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: gdm72xx: use list_move instead of list_del/list_add
Wei Yongjun [Thu, 6 Sep 2012 04:36:49 +0000 (12:36 +0800)]
staging: gdm72xx: use list_move instead of list_del/list_add

Using list_move() instead of list_del() + list_add().

spatch with a semantic match is used to found this problem.
(http://coccinelle.lip6.fr/)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: wlags49_h2: use list_move instead of list_del/list_add
Wei Yongjun [Thu, 6 Sep 2012 04:38:59 +0000 (12:38 +0800)]
staging: wlags49_h2: use list_move instead of list_del/list_add

Using list_move() instead of list_del() + list_add().

spatch with a semantic match is used to found this problem.
(http://coccinelle.lip6.fr/)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: ramster: fix range checks in zcache_autocreate_pool()
Dan Carpenter [Thu, 6 Sep 2012 12:40:20 +0000 (15:40 +0300)]
staging: ramster: fix range checks in zcache_autocreate_pool()

If "pool_id" is negative then it leads to a read before the start of the
array.  If "cli_id" is out of bounds then it leads to a NULL dereference
of "cli".  GCC would have warned about that bug except that we
initialized the warning message away.

Also it's better to put the parameter names into the function
declaration in the .h file.  It serves as a kind of documentation.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: range: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:59:44 +0000 (18:59 -0700)]
staging: comedi: range: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: kcomedilib: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:59:26 +0000 (18:59 -0700)]
staging: comedi: kcomedilib: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: vmk80xx: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:59:09 +0000 (18:59 -0700)]
staging: comedi: vmk80xx: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: usbduxsigma: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:58:51 +0000 (18:58 -0700)]
staging: comedi: usbduxsigma: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: usbduxfast: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:58:32 +0000 (18:58 -0700)]
staging: comedi: usbduxfast: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: usbdux: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:58:15 +0000 (18:58 -0700)]
staging: comedi: usbdux: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: ssv_dnp: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:57:57 +0000 (18:57 -0700)]
staging: comedi: ssv_dnp: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: skel: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:57:38 +0000 (18:57 -0700)]
staging: comedi: skel: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: serial2002: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:57:21 +0000 (18:57 -0700)]
staging: comedi: serial2002: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: s526: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:57:01 +0000 (18:57 -0700)]
staging: comedi: s526: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: rti802: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:56:41 +0000 (18:56 -0700)]
staging: comedi: rti802: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: rti800: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:56:23 +0000 (18:56 -0700)]
staging: comedi: rti800: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: rtd520: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:56:05 +0000 (18:56 -0700)]
staging: comedi: rtd520: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: quatech_daqp_cs: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:55:46 +0000 (18:55 -0700)]
staging: comedi: quatech_daqp_cs: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: poc: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:55:27 +0000 (18:55 -0700)]
staging: comedi: poc: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: pcmuio: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:55:08 +0000 (18:55 -0700)]
staging: comedi: pcmuio: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: pcmmio: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:54:46 +0000 (18:54 -0700)]
staging: comedi: pcmmio: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: pcmda12: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:54:19 +0000 (18:54 -0700)]
staging: comedi: pcmda12: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: pcmad: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:54:00 +0000 (18:54 -0700)]
staging: comedi: pcmad: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: pcm3730: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:53:42 +0000 (18:53 -0700)]
staging: comedi: pcm3730: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: pcm3724: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:53:24 +0000 (18:53 -0700)]
staging: comedi: pcm3724: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: pcl818: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:53:07 +0000 (18:53 -0700)]
staging: comedi: pcl818: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: pcl816: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:52:49 +0000 (18:52 -0700)]
staging: comedi: pcl816: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: pcl812: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:52:32 +0000 (18:52 -0700)]
staging: comedi: pcl812: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: pcl730: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:52:13 +0000 (18:52 -0700)]
staging: comedi: pcl730: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: pcl726: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:51:55 +0000 (18:51 -0700)]
staging: comedi: pcl726: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: pcl725: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:51:38 +0000 (18:51 -0700)]
staging: comedi: pcl725: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: pcl724: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:51:20 +0000 (18:51 -0700)]
staging: comedi: pcl724: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: pcl711: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:51:01 +0000 (18:51 -0700)]
staging: comedi: pcl711: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: ni_pcidio: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:50:39 +0000 (18:50 -0700)]
staging: comedi: ni_pcidio: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: ni_mio_common: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:50:19 +0000 (18:50 -0700)]
staging: comedi: ni_mio_common: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: ni_labpc: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:49:58 +0000 (18:49 -0700)]
staging: comedi: ni_labpc: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: ni_daq_dio24: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:49:34 +0000 (18:49 -0700)]
staging: comedi: ni_daq_dio24: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: ni_daq_700: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:49:16 +0000 (18:49 -0700)]
staging: comedi: ni_daq_700: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: ni_atmio16d: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:48:58 +0000 (18:48 -0700)]
staging: comedi: ni_atmio16d: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: ni_at_ao: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:48:38 +0000 (18:48 -0700)]
staging: comedi: ni_at_ao: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: ni_at_a2150: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:48:20 +0000 (18:48 -0700)]
staging: comedi: ni_at_a2150: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: ni_670x: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:48:03 +0000 (18:48 -0700)]
staging: comedi: ni_670x: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: ni_660x: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:47:44 +0000 (18:47 -0700)]
staging: comedi: ni_660x: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: ni_65xx: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:47:24 +0000 (18:47 -0700)]
staging: comedi: ni_65xx: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: ni_6527: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:47:06 +0000 (18:47 -0700)]
staging: comedi: ni_6527: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: multiq3: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:46:47 +0000 (18:46 -0700)]
staging: comedi: multiq3: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: mpc8260cpm: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:46:26 +0000 (18:46 -0700)]
staging: comedi: mpc8260cpm: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: mpc624: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:46:07 +0000 (18:46 -0700)]
staging: comedi: mpc624: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: me_daq: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:45:45 +0000 (18:45 -0700)]
staging: comedi: me_daq: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: me_daq: rename 'subdevice' variable to 's'
H Hartley Sweeten [Thu, 6 Sep 2012 01:45:26 +0000 (18:45 -0700)]
staging: comedi: me_daq: rename 'subdevice' variable to 's'

Rename the variable used for the comedi_subdevice pointer from
'subdevice' to 's'. This is more typical in other comedi drivers
and helps when searching with grep.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: me4000: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:45:05 +0000 (18:45 -0700)]
staging: comedi: me4000: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: ke_counter: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:44:44 +0000 (18:44 -0700)]
staging: comedi: ke_counter: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: ke_counter: rename 'subdevice' variable to 's'
H Hartley Sweeten [Thu, 6 Sep 2012 01:44:26 +0000 (18:44 -0700)]
staging: comedi: ke_counter: rename 'subdevice' variable to 's'

Rename the variable used for the comedi_subdevice pointer from
'subdevice' to 's'. This is more typical in other comedi drivers
and helps when searching with grep.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: ii_pci20kc: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:44:06 +0000 (18:44 -0700)]
staging: comedi: ii_pci20kc: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: icp_multi: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:43:46 +0000 (18:43 -0700)]
staging: comedi: icp_multi: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: gsc_hpdi: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:43:20 +0000 (18:43 -0700)]
staging: comedi: gsc_hpdi: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: fl512: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:42:42 +0000 (18:42 -0700)]
staging: comedi: fl512: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: dyna_pci10xx: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:42:24 +0000 (18:42 -0700)]
staging: comedi: dyna_pci10xx: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: dt9812: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:42:02 +0000 (18:42 -0700)]
staging: comedi: dt9812: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: dt3000: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:41:29 +0000 (18:41 -0700)]
staging: comedi: dt3000: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: dt282x: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:41:08 +0000 (18:41 -0700)]
staging: comedi: dt282x: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: dt2817: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:40:49 +0000 (18:40 -0700)]
staging: comedi: dt2817: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: dt2815: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:40:29 +0000 (18:40 -0700)]
staging: comedi: dt2815: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: dt2814: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:40:09 +0000 (18:40 -0700)]
staging: comedi: dt2814: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: dt2811: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:39:51 +0000 (18:39 -0700)]
staging: comedi: dt2811: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: dt2801: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:39:32 +0000 (18:39 -0700)]
staging: comedi: dt2801: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: dt2801: fix access to 2nd dio subdevice
H Hartley Sweeten [Thu, 6 Sep 2012 01:39:13 +0000 (18:39 -0700)]
staging: comedi: dt2801: fix access to 2nd dio subdevice

Only 4 subdevices are allocated by this driver. The 2nd dio
subdevice is 'dev->subdevice + 3' not '... + 4'.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: dmm32at: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:38:49 +0000 (18:38 -0700)]
staging: comedi: dmm32at: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: das800: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:38:30 +0000 (18:38 -0700)]
staging: comedi: das800: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: das800: 'dev->subdevices + 0' is already known
H Hartley Sweeten [Thu, 6 Sep 2012 01:38:11 +0000 (18:38 -0700)]
staging: comedi: das800: 'dev->subdevices + 0' is already known

There is no need to calculate the subdevice for the call to
das800_cancel. The variable 's' in this function is set to the
'dev->read_subdev' which is the same as 'dev->subdevices + 0'.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: das6402: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:36:41 +0000 (18:36 -0700)]
staging: comedi: das6402: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: das1800: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:36:21 +0000 (18:36 -0700)]
staging: comedi: das1800: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: das16m1: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:36:03 +0000 (18:36 -0700)]
staging: comedi: das16m1: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: das16: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:35:45 +0000 (18:35 -0700)]
staging: comedi: das16: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: das08: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:35:24 +0000 (18:35 -0700)]
staging: comedi: das08: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: daqboard2000: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:34:59 +0000 (18:34 -0700)]
staging: comedi: daqboard2000: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: contec_pci_dio: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:34:37 +0000 (18:34 -0700)]
staging: comedi: contec_pci_dio: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: comedi_test: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:34:16 +0000 (18:34 -0700)]
staging: comedi: comedi_test: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: comedi_parport: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:33:57 +0000 (18:33 -0700)]
staging: comedi: comedi_parport: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: comedi_bond: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:33:38 +0000 (18:33 -0700)]
staging: comedi: comedi_bond: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: cb_pcimdda: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:33:19 +0000 (18:33 -0700)]
staging: comedi: cb_pcimdda: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: cb_pcimdas: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:33:00 +0000 (18:33 -0700)]
staging: comedi: cb_pcimdas: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: cb_pcidio: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:32:42 +0000 (18:32 -0700)]
staging: comedi: cb_pcidio: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: cb_pcidda: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:32:23 +0000 (18:32 -0700)]
staging: comedi: cb_pcidda: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: cb_pcidas64: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:32:04 +0000 (18:32 -0700)]
staging: comedi: cb_pcidas64: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: cb_pcidas: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:31:45 +0000 (18:31 -0700)]
staging: comedi: cb_pcidas: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: cb_das16_cs: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:31:27 +0000 (18:31 -0700)]
staging: comedi: cb_das16_cs: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: c6xdigio: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:31:08 +0000 (18:31 -0700)]
staging: comedi: c6xdigio: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: amplc_pci230: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:30:47 +0000 (18:30 -0700)]
staging: comedi: amplc_pci230: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: amplc_pci224: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:30:28 +0000 (18:30 -0700)]
staging: comedi: amplc_pci224: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: amplc_pc263: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:30:08 +0000 (18:30 -0700)]
staging: comedi: amplc_pc263: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: amplc_pc236: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:29:45 +0000 (18:29 -0700)]
staging: comedi: amplc_pc236: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: amplc_dio200: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:29:25 +0000 (18:29 -0700)]
staging: comedi: amplc_dio200: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Use a local variable for the subdevice pointer to keep the line
< 80 chars.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agostaging: comedi: aio_iiro_16: remove subdevice pointer math
H Hartley Sweeten [Thu, 6 Sep 2012 01:29:02 +0000 (18:29 -0700)]
staging: comedi: aio_iiro_16: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>