aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/scsi_device.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/scsi/scsi_device.h b/include/scsi/scsi_device.h
index 895d212864cd..b401c82036be 100644
--- a/include/scsi/scsi_device.h
+++ b/include/scsi/scsi_device.h
@@ -298,9 +298,9 @@ extern int scsi_execute_async(struct scsi_device *sdev,
298 void (*done)(void *, char *, int, int), 298 void (*done)(void *, char *, int, int),
299 gfp_t gfp); 299 gfp_t gfp);
300 300
301static inline void scsi_device_reprobe(struct scsi_device *sdev) 301static inline int __must_check scsi_device_reprobe(struct scsi_device *sdev)
302{ 302{
303 device_reprobe(&sdev->sdev_gendev); 303 return device_reprobe(&sdev->sdev_gendev);
304} 304}
305 305
306static inline unsigned int sdev_channel(struct scsi_device *sdev) 306static inline unsigned int sdev_channel(struct scsi_device *sdev)