Message ID | 1596454442-220565-1-git-send-email-chenxiang66@hisilicon.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | 8a8fb8977ea2bdf160b9e475cf2350abbad4f0e7 |
Headers | show |
Series | scsi: scsi_transport_sas: add spaces around binary operator "|" | expand |
On Mon, 3 Aug 2020 19:34:02 +0800, chenxiang wrote: > According to coding style, need to use one space around binary operator "|", > so add spaces around it. Applied to 5.9/scsi-queue, thanks! [1/1] scsi: scsi_transport_sas: Add spaces around binary operator "|" https://git.kernel.org/mkp/scsi/c/8a8fb8977ea2
diff --git a/drivers/scsi/scsi_transport_sas.c b/drivers/scsi/scsi_transport_sas.c index 182fd25..d1c0a21 100644 --- a/drivers/scsi/scsi_transport_sas.c +++ b/drivers/scsi/scsi_transport_sas.c @@ -1526,7 +1526,7 @@ int sas_rphy_add(struct sas_rphy *rphy) list_add_tail(&rphy->list, &sas_host->rphy_list); if (identify->device_type == SAS_END_DEVICE && (identify->target_port_protocols & - (SAS_PROTOCOL_SSP|SAS_PROTOCOL_STP|SAS_PROTOCOL_SATA))) + (SAS_PROTOCOL_SSP | SAS_PROTOCOL_STP | SAS_PROTOCOL_SATA))) rphy->scsi_target_id = sas_host->next_target_id++; else if (identify->device_type == SAS_END_DEVICE) rphy->scsi_target_id = -1;