qla4xxx: fix get_host_stats error propagation
authorMike Christie <michaelc@cs.wisc.edu>
Sat, 12 Jul 2014 20:51:49 +0000 (15:51 -0500)
committerChristoph Hellwig <hch@lst.de>
Fri, 1 Aug 2014 12:16:39 +0000 (08:16 -0400)
commit7f3976f03ff128fd5aa8dc22e4784d03311ebd09
tree4c334ee3e2b51bc69322172be8386dac490b887f
parenta5c277ec5a331171c6508924ce7767e363bf3a05
qla4xxx: fix get_host_stats error propagation

qla4xxx was not always returning -EXYZ error codes when
qla4xxx_get_host_stats failed.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Acked-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/qla4xxx/ql4_os.c