]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hpsa: change devtype to unsigned
authorDon Brace <don.brace@pmcs.com>
Fri, 6 May 2016 19:03:55 +0000 (12:03 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Sun, 22 May 2016 21:49:03 +0000 (14:49 -0700)
commit0a8ae97e28809b232f550b2e61a020006e77730f
tree47d710536a1c92f09869076dd293d03cc4f814a6
parentaba7d14902d557e96af2d4425b83f8e7a71563d5
hpsa: change devtype to unsigned

This member is used in calls to scsi_device_type.
It should be unsigned since the kernel checks for upper bounds
and it should never be negative.

Suggested-by: Tomas Henzl <thenzl@redhat.com>
Suggested-by: Hannes Reinecke <hare@suse.de>
Suggested-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Signed-off-by: Don Brace <don.brace@pmcs.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Orabug: 23064595
Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>
drivers/scsi/hpsa.h