summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/fcoe
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2011-09-23 18:09:11 -0700
committerJames Bottomley <JBottomley@Parallels.com>2011-10-02 12:51:53 -0500
commit05a2a17317b48eb16a167c8c2932ba7b3cdee89e (patch)
tree18eff1df18a28c5cd07fd1347823948b115a2f94 /drivers/scsi/fcoe
parentbb041a0e9c31229071b6e56e1d0d8374af0d2038 (diff)
downloadop-kernel-dev-05a2a17317b48eb16a167c8c2932ba7b3cdee89e.zip
op-kernel-dev-05a2a17317b48eb16a167c8c2932ba7b3cdee89e.tar.gz
[SCSI] libsas: fix warnings when checking sata/stp protocol
Several sas drivers legitimately check the protocol against the union of SAS_PROTOCOL_SATA and SAS_PROTOCOL_STP. Provide a SAS_PROTOCOL_STP_ALL to silence warnings like: drivers/scsi/pm8001/pm8001_sas.c:438:3: warning: case value ‘5’ not in enumerated type ‘enum sas_protocol’ [-Wswitch] drivers/scsi/mvsas/mv_sas.c:798:2: warning: case value ‘5’ not in enumerated type ‘enum sas_protocol’ [-Wswitch] drivers/scsi/mvsas/mv_sas.c:1783:2: warning: case value ‘5’ not in enumerated type ‘enum sas_protocol’ [-Wswitch] drivers/scsi/mvsas/mv_sas.c:1886:2: warning: case value ‘5’ not in enumerated type ‘enum sas_protocol’ [-Wswitch] drivers/scsi/isci/request.c:3565:2: warning: case value ‘5’ not in enumerated type ‘enum sas_protocol’ [-Wswitch] Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/fcoe')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud