mbox series

[0/2] scsi: Use PTR_ERR_OR_ZERO to replace the open code

Message ID 1534158640-24353-1-git-send-email-zhongjiang@huawei.com (mailing list archive)
Headers show
Series scsi: Use PTR_ERR_OR_ZERO to replace the open code | expand

Message

zhong jiang Aug. 13, 2018, 11:10 a.m. UTC
The issue is detected with the help of Coccinelle.

zhong jiang (2):
  scsi:ufs: Use PTR_ERR_OR_ZERO to replace the open code
  scsi:qla2xxx: Use PTR_ERR_OR_ZERO to replace the open code

 drivers/scsi/qla2xxx/tcm_qla2xxx.c | 6 ++----
 drivers/scsi/ufs/ufs-hisi.c        | 4 +---
 2 files changed, 3 insertions(+), 7 deletions(-)