]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/scsi/hpsa_cmd.h
hpsa: fix handling of hpsa_volume_offline return value
authorStephen M. Cameron <scameron@beardog.cce.hp.com>
Thu, 29 May 2014 15:54:25 +0000 (10:54 -0500)
committerChristoph Hellwig <hch@lst.de>
Mon, 2 Jun 2014 07:55:02 +0000 (09:55 +0200)
commit67955ba36eccb5733fd289839a5a5d1dfc33ccf7
tree08d046a9244227992325b3c73e0bfa1aa19ccdf1
parenta84d794d5c12a4c118bcdc4fecc2ca76ed02f643
hpsa: fix handling of hpsa_volume_offline return value

Make return value an int instead of an unsigned char so that
we do not lose negative error return values.

Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Reviewed-by: Webb Scales <webb.scales@hp.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/hpsa.c
drivers/scsi/hpsa_cmd.h