summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libsas
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2009-10-29 22:32:26 -0400
committerJames Bottomley <James.Bottomley@suse.de>2009-11-06 11:50:52 -0600
commitb2b465e9280b739a528435d2916c0a5c1b4eb100 (patch)
tree003751e8ad8f85a7a68e317aa8820de91ee5429a /drivers/scsi/libsas
parent88197966e1eeee6547764fa49bfce7e57549acd2 (diff)
downloadop-kernel-dev-b2b465e9280b739a528435d2916c0a5c1b4eb100.zip
op-kernel-dev-b2b465e9280b739a528435d2916c0a5c1b4eb100.tar.gz
[SCSI] Fix incorrect reporting of host protection capabilities
The advent of DIF Type 2 devices exposed some missing break statements in the protection mask switch constructs. However, rewriting the code to use an index into a small static array seemed like a more elegant solution. Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/libsas')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud