Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1457461ybe; Wed, 11 Sep 2019 15:29:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqz24QIEozA60XGT1rMCZzO2N7X/ygqiv07R03j97VKFHi9E3SPtFnP9Fns6FXFS47aKpnQK X-Received: by 2002:a50:ea8d:: with SMTP id d13mr12336486edo.288.1568240951936; Wed, 11 Sep 2019 15:29:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568240951; cv=none; d=google.com; s=arc-20160816; b=nW+KbAt79wK73zVAANbw9jvZPqQKAn4NKWx9JBqtM3Ra6XnAdU601996bpcnlWi6A8 XpcFbhtIHTUCSPM06yempoTKOLxHnS82RAwGdhWfTFj9DUCTb5/lYwCHZrLdfGzEUFFY pupLkw2xLXvKPep9ip3ZLk18qmCj/4YNY/iOip+LtAFH8ntUyN8r+42ePvD2TuBQfXBT EPuQ6iaeItkijst8efM9f3umFzDmHk0JX+um+K9+Xq0sQuI7v7N76vqGbs8dxkWFLpVN jEwuLISN2HdfuWsXHKnyXeBExIUZbjCdpVyzJxokWeiaIwMYVC2UXQy8G12NZb1AXyQ0 /9eQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=59SUVBa/U8KH9R/EN9PCKCXd3iVBg2OFU1HH4k1bx6c=; b=Lpd8dOgalV0jgCEuO2CTzZx51y374Lpgl2BQOKYb5MXcDyLZNwhL23AfCAJ4y38qS9 dFOUwoOHcIlvc0CHkEzFefWmE9hqHAKG+KbQfpdqisfNOy5ONBYYzuhUxTNxL5xxd3My KoyIpzbbVHrWRh9yO3qMSknjkxaxyBRnvWoK7vlDxkxcvLCn6/3oWtTpFxPfj54a452d eWhCzySHMkTr57+Lw4x2yhl4HMY61RKdBmjXDp/nTDXkOrZWg4xlUyAg5jGMcHQK5y51 RgwtCKvEpRG9hg68kpg1w7UJP0Xtzck8qpfdx6H/71o+jeVkJbjGKT1PD75hHTvEHh5p 9Vrg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gv21si11808622ejb.289.2019.09.11.15.28.48; Wed, 11 Sep 2019 15:29:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730623AbfIKUiw (ORCPT + 99 others); Wed, 11 Sep 2019 16:38:52 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:60512 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728998AbfIKUiv (ORCPT ); Wed, 11 Sep 2019 16:38:51 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: tonyk) with ESMTPSA id AD7D728D854 From: =?UTF-8?q?Andr=C3=A9=20Almeida?= To: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, linux-doc@vger.kernel.org Cc: corbet@lwn.net, kernel@collabora.com, krisman@collabora.com, jejb@linux.ibm.com, martin.petersen@oracle.com, =?UTF-8?q?Andr=C3=A9=20Almeida?= Subject: [PATCH 2/3] scsi: core: remove trailing whitespaces Date: Wed, 11 Sep 2019 17:37:34 -0300 Message-Id: <20190911203735.1332398-2-andrealmeid@collabora.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190911203735.1332398-1-andrealmeid@collabora.com> References: <20190911203735.1332398-1-andrealmeid@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove all trailing whitespaces from scsi_lib.c Signed-off-by: André Almeida --- drivers/scsi/scsi_lib.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 11e64b50497f..8565bee31922 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c @@ -401,7 +401,7 @@ static void scsi_single_lun_run(struct scsi_device *current_sdev) spin_unlock_irqrestore(shost->host_lock, flags); scsi_kick_queue(sdev->request_queue); spin_lock_irqsave(shost->host_lock, flags); - + scsi_device_put(sdev); } out: @@ -995,7 +995,7 @@ static blk_status_t scsi_init_sgtable(struct request *req, SCSI_INLINE_SG_CNT))) return BLK_STS_RESOURCE; - /* + /* * Next, walk the list, and fill in the addresses and sizes of * each segment. */ @@ -2019,7 +2019,7 @@ scsi_mode_select(struct scsi_device *sdev, int pf, int sp, int modepage, real_buffer[1] = data->medium_type; real_buffer[2] = data->device_specific; real_buffer[3] = data->block_descriptor_length; - + cmd[0] = MODE_SELECT; cmd[4] = len; @@ -2103,7 +2103,7 @@ scsi_mode_sense(struct scsi_device *sdev, int dbd, int modepage, if (scsi_sense_valid(sshdr)) { if ((sshdr->sense_key == ILLEGAL_REQUEST) && (sshdr->asc == 0x20) && (sshdr->ascq == 0)) { - /* + /* * Invalid command operation code */ sdev->use_10_for_ms = 0; @@ -2205,7 +2205,7 @@ scsi_device_set_state(struct scsi_device *sdev, enum scsi_device_state state) goto illegal; } break; - + case SDEV_RUNNING: switch (oldstate) { case SDEV_CREATED: @@ -2488,7 +2488,7 @@ EXPORT_SYMBOL_GPL(sdev_evt_send_simple); * (which must be a legal transition). When the device is in this * state, only special requests will be accepted, all others will * be deferred. Since special requests may also be requeued requests, - * a successful return doesn't guarantee the device will be + * a successful return doesn't guarantee the device will be * totally quiescent. * * Must be called with user context, may sleep. @@ -2614,10 +2614,10 @@ int scsi_internal_device_block_nowait(struct scsi_device *sdev) return err; } - /* + /* * The device has transitioned to SDEV_BLOCK. Stop the * block layer from calling the midlayer with this device's - * request queue. + * request queue. */ blk_mq_quiesce_queue_nowait(q); return 0; @@ -2652,7 +2652,7 @@ static int scsi_internal_device_block(struct scsi_device *sdev) return err; } - + void scsi_start_queue(struct scsi_device *sdev) { struct request_queue *q = sdev->request_queue; -- 2.23.0