Received: by 10.223.185.116 with SMTP id b49csp3471616wrg; Mon, 26 Feb 2018 00:01:29 -0800 (PST) X-Google-Smtp-Source: AH8x226PE3lCOytv+utbHzF/MBkVHV6A6Czk7K69ZqYaZfYP1bGZlXDg3itLXW3Xm1QpNWLVNnmj X-Received: by 2002:a17:902:8214:: with SMTP id x20-v6mr9680943pln.182.1519632089100; Mon, 26 Feb 2018 00:01:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519632089; cv=none; d=google.com; s=arc-20160816; b=YP0mdFuRuTgMvCGafklHYtuwbGXLnrPQ8IiV6vBZuLo0I/bz08fTkzGIkVXIonXrpR N7nMhZMqUqnnPHehanFu7eH4o2A7sISvmD0Yi7piCV18qyIRMO4jo9MLtZDVIyd/25HH eThMfNq0muw0shq0AdqRkUnRs+SURLTTam/FL1pavgGVmVJvLCAODFOs3ypZYGmVV1sz fSw3rvHgSpPj57NwiyJxMUJPxgZAoNgncy76dlStXf8WOdA57O2vrJX3Ci9dK+464l+6 JwrsrZd5hGun9bDqZYRJnf+CJKAZrlRdsRs7MnlafLhUYiarKMjjUU45+GDF2lfMWV+j /G3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=ZN1dOtd4Mlkv2a59dBvYLtFjZ5HL0XJQFJbocqCoaZ0=; b=pp9i+1tURlNAoNpfM8a+yzhiD35Oo3nhltaaogKicvKq5TztsTY/HNyxg/VWC7gyZW 4z2WfVStkqT/fjwk7mTUzU7waDLEzESL2ls2UibEL4g35SIKIJOJIRV56KXjUWvx8vdY uN1ZIL+v8OIVgQ9QYWEbm5YNsMnPXBv3/fRoOOtl3UHyD3UfnektWqz6oqsSIQ8GwLbA SgJCmnI94rCRZ8eLPRBZG9s/F2KqbgO8VTexJQUSIy3c9rujUKmDp0xzKNtBQReSuf3b q+AOyyVqJKZOQ45O6c/JUfDyQ08d5mgOBxl8tg8P9vpirXa7+81N9/kK80QqjpD8Z+zw hwbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=ffLMs/R5; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 64-v6si6345090plb.472.2018.02.26.00.01.15; Mon, 26 Feb 2018 00:01:29 -0800 (PST) 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; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=ffLMs/R5; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752180AbeBZH7S (ORCPT + 99 others); Mon, 26 Feb 2018 02:59:18 -0500 Received: from aserp2130.oracle.com ([141.146.126.79]:54876 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750929AbeBZH7P (ORCPT ); Mon, 26 Feb 2018 02:59:15 -0500 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w1Q7v7La083510; Mon, 26 Feb 2018 07:58:57 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id; s=corp-2017-10-26; bh=ZN1dOtd4Mlkv2a59dBvYLtFjZ5HL0XJQFJbocqCoaZ0=; b=ffLMs/R5UBNwC5EpY8yVIbEBm4+sOddHPx/dZGVhw4lGIcXMa/ch0/I62oWaDdZgxQTb tYI8jhX+DfYNVO7xHWlTdejHmJSCkjtyZyEvl3ukYK56Fn4znb7WKVFKn8OQJPnM6QqU FdTj+VoBbckOovixGClxaqrRxUuOuYzI3kwYlsCl3RAcfnX0CaBPTrslVhkNRYm4zKsC 2iS8f9sKIM+8erjSBUtJwaAzfMzsvwEW33MBbNnQ0X6YkOJVQT/k3JRtVGMeYfz22gnY iwQ3LWwE4wt9Bi8hIS3z5kwizMcwULnf8SMdSBbUNCKHoJRctDa/qxZyxJp6aLMjlPvO HQ== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp2130.oracle.com with ESMTP id 2gce47g15b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 26 Feb 2018 07:58:57 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w1Q7wv7T029383 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 26 Feb 2018 07:58:57 GMT Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w1Q7wvJB020809; Mon, 26 Feb 2018 07:58:57 GMT Received: from will-ThinkCentre-M910s.cn.oracle.com (/10.182.70.254) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 25 Feb 2018 23:58:57 -0800 From: Jianchao Wang To: jejb@linux.vnet.ibm.com, martin.petersen@oracle.com Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] scsi: core: fix two wrong indentation cases Date: Mon, 26 Feb 2018 15:59:16 +0800 Message-Id: <1519631956-1775-1-git-send-email-jianchao.w.wang@oracle.com> X-Mailer: git-send-email 2.7.4 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8815 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=844 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1802260109 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org No functional changes. Just fix two wrong indentation cases in scsi_finish_command and scsi_decide_disposition. Signed-off-by: Jianchao Wang --- drivers/scsi/scsi.c | 2 +- drivers/scsi/scsi_error.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c index a7e4fba..4c60c26 100644 --- a/drivers/scsi/scsi.c +++ b/drivers/scsi/scsi.c @@ -231,7 +231,7 @@ void scsi_finish_command(struct scsi_cmnd *cmd) "(result %x)\n", cmd->result)); good_bytes = scsi_bufflen(cmd); - if (!blk_rq_is_passthrough(cmd->request)) { + if (!blk_rq_is_passthrough(cmd->request)) { int old_good_bytes = good_bytes; drv = scsi_cmd_to_driver(cmd); if (drv->done) diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c index d042915..96066d1 100644 --- a/drivers/scsi/scsi_error.c +++ b/drivers/scsi/scsi_error.c @@ -1888,7 +1888,7 @@ int scsi_decide_disposition(struct scsi_cmnd *scmd) } return FAILED; - maybe_retry: +maybe_retry: /* we requeue for retry because the error was retryable, and * the request was not marked fast fail. Note that above, -- 2.7.4