aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorJohannes Thumshirn <[email protected]>2016-08-17 09:46:17 +0000
committerMartin K. Petersen <[email protected]>2016-08-19 02:22:19 +0000
commit835831c57e9b0cccc24e96a812542875471d75b5 (patch)
tree1cfb9d4cf49fcb963bd451d1e30841d32681027f /net/lapb/lapb_timer.c
parentscsi: sas: provide stub implementation for scsi_is_sas_rphy (diff)
downloadkernel-835831c57e9b0cccc24e96a812542875471d75b5.tar.gz
kernel-835831c57e9b0cccc24e96a812542875471d75b5.zip
scsi: ses: use scsi_is_sas_rphy instead of is_sas_attached
Use scsi_is_sas_rphy() instead of is_sas_attached() to decide whether we should obtain the SAS address from a scsi device or not. This will prevent us from tripping on the BUG_ON() in sas_sdev_to_rdev() if the rphy isn't attached to the SAS transport class, like it is with hpsa's logical devices. Fixes: 3f8d6f2a0 ('ses: fix discovery of SATA devices in SAS enclosures') Signed-off-by: Johannes Thumshirn <[email protected]> Reviewed-by: James E.J. Bottomley <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions