sd_do_mode_sense() is no longer called with a fixed length buffer. Updated its description to reflect the same. Signed-off-by: ChinmayVS <cvs268@xxxxxxxxx> --- 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 b58e8f8..b183347 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c @@ -2237,7 +2237,7 @@ got_data: sdkp->device->sector_size = sector_size; } -/* called with buffer of length 512 */ +/* called with buffer of length len */ static inline int sd_do_mode_sense(struct scsi_device *sdp, int dbd, int modepage, unsigned char *buffer, int len, struct scsi_mode_data *data, -- 1.8.1.2 -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html