Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752140Ab3G3MNJ (ORCPT ); Tue, 30 Jul 2013 08:13:09 -0400 Received: from mail-pb0-f53.google.com ([209.85.160.53]:41379 "EHLO mail-pb0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751287Ab3G3MNG (ORCPT ); Tue, 30 Jul 2013 08:13:06 -0400 From: ChinmayVS To: JBottomley@parallels.com Cc: trivial@kernel.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/1] Trivial cleanup : Updated sd_do_mode_sense() description Date: Tue, 30 Jul 2013 20:12:40 +0800 Message-Id: <1375186360-16605-1-git-send-email-cvs268@gmail.com> X-Mailer: git-send-email 1.8.1.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 940 Lines: 29 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 --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/