Skip to contentSkip to conversation

Updated sd_do_mode_sense() description

PATCH New ChinmayVS 1 participant 1 message Aug 9, 2013 SCSI

lore
Share & tools
lore

ChinmayVS

author
#0 lore raw

PATCH 1/1 Updated sd_do_mode_sense() description

sd_do_mode_sense() is no longer called with a fixed length buffer. Updated its description to reflect the same.

---
 drivers/scsi/sd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/sd.c +1 -1
index b58e8f8..b183347 100644
@@ -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,
Signature · 1 line
1.8.1.2