* [PATCH 1/1] Trivial cleanup : Updated sd_do_mode_sense() description
@ 2013-07-30 12:12 ChinmayVS
0 siblings, 0 replies; only message in thread
From: ChinmayVS @ 2013-07-30 12:12 UTC (permalink / raw)
To: JBottomley; +Cc: trivial, linux-scsi, linux-kernel
sd_do_mode_sense() is no longer called with a fixed length buffer.
Updated the descriptive comment to reflect the same.
Signed-off-by: ChinmayVS <cvs268@gmail.com>
---
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 c1c5552..7890bec 100644
--- a/drivers/scsi/sd.c
+++ b/drivers/scsi/sd.c
@@ -2231,7 +2231,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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-07-30 12:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-30 12:12 [PATCH 1/1] Trivial cleanup : Updated sd_do_mode_sense() description ChinmayVS
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®