Fixes the following W=1 kernel build warning(s):

 drivers/scsi/sd.c:1537: warning: expecting prototype for sd_ioctl(). Prototype 
was for sd_ioctl_common() instead

Cc: "James E.J. Bottomley" <[email protected]>
Cc: "Martin K. Petersen" <[email protected]>
Cc: Drew Eckhardt <[email protected]>
Cc: Eric Youngdale <[email protected]>
Cc: Jirka Hanika <[email protected]>
Cc: Richard Gooch <[email protected]>
Cc: Torben Mathiasen <[email protected]>
Cc: Alex Davis <[email protected]>
Cc: Douglas Gilbert <[email protected]>
Cc: Badari Pulavarty <[email protected]>
Cc: [email protected]
Cc: Kurt Garloff <[email protected]>
Cc: [email protected]
Signed-off-by: Lee Jones <[email protected]>
---
 drivers/scsi/sd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c
index ed0b1bb99f083..91c34ee972c79 100644
--- a/drivers/scsi/sd.c
+++ b/drivers/scsi/sd.c
@@ -1519,7 +1519,7 @@ static int sd_getgeo(struct block_device *bdev, struct 
hd_geometry *geo)
 }
 
 /**
- *     sd_ioctl - process an ioctl
+ *     sd_ioctl_common - process an ioctl
  *     @bdev: target block device
  *     @mode: FMODE_* mask
  *     @cmd: ioctl command number
-- 
2.27.0

Reply via email to