Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1942608ybv; Fri, 14 Feb 2020 08:36:57 -0800 (PST) X-Google-Smtp-Source: APXvYqzajeruwfAcoac/+3815uWD0l4R7EUWEgyevETOHcR37qL+05iQktiUwVZ4m+cDJvvhtKff X-Received: by 2002:a05:6830:1d7b:: with SMTP id l27mr2801067oti.251.1581698216938; Fri, 14 Feb 2020 08:36:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581698216; cv=none; d=google.com; s=arc-20160816; b=mMW6K2o7flYcHGC2TlCUXDUzKzV9JOlFk4VBOuqUlmZIzNsq3P2EOqKgi6yVPgHmLU KLle2Mv42d/huN+2/WlDFDXueBqVQXVXEsc96Mjd4cbFdq+Cxunv9x1hGp3lncdpShGj Yc07AIiq8DJx29QOHqti6KpPsAqJYorq5fyPaxBtnFNU/gHZwf4EbWYhQzqsOugAO8DA fHuc40A3TktD9vGXF9jN7TD6RYCk2Sbe1So76fZEzmY32EbRtB73VOK5TPBEfX3c0gva TXzaDY8wU6QJSzPHlGvQPrGkipFtwdSfK6jpmRqBPomKOcsRFnunWskGTWKnGLYQbSjo zxkg== 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 :dkim-signature; bh=XAG5uiOukw9phA1BvSdiPdrHiPjaQdgdU/PGJmyyv38=; b=fNJTEQRuQjZyI9XBcOJvbTmoFJD0SxEKeNFerQFpY/YPZ2AS9MPduP4vlHdkshYNkW yNcBjkinJCSLqkMMWhwBprv6ZkYW9CUcXuwd/+XONkffybTE7N+VNZNHnIg6ypUFsC5A 01wUItTM4feubSAVnmCkkmrN9aRFZ5ZCTdJqyh+BDyMo/asHMqSBdlF+rtwRQ3lq+ZQ2 DnJ3VCroinhM3GoCBkGwxUsSyOehMYeYDDWSEQaJ0eixxiCCMfWD8b0ha1tIlMvnLHur uhFqWsNpwo0rXZoyqIS14kANxcN3oDhMEOv2gEHfs07yL6N7begbVmk/fjCMnzonHqzb V2iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=WSMZMWq0; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t20si3024995otr.64.2020.02.14.08.36.45; Fri, 14 Feb 2020 08:36:56 -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=@kernel.org header.s=default header.b=WSMZMWq0; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405889AbgBNQYa (ORCPT + 99 others); Fri, 14 Feb 2020 11:24:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:58682 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393247AbgBNQWt (ORCPT ); Fri, 14 Feb 2020 11:22:49 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6FF592473E; Fri, 14 Feb 2020 16:22:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581697369; bh=BAiSBRFdJMN3ZHL/w78o+PZyV1AC1701XX/Z2jnkgC0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WSMZMWq0MxTu3hDwAo2IQl51T3o8M/dpCs75iysSQ7qpGCXvAbTG4QZGh4m5e6UQW U++Y1D291ghjX7me2JQscbkwDVyFF5eiL/M7N0Hj6O1Z/0BwX2CRsO/8MN7zcV6YPQ 50HzWUFGey3HPZFava40hs1J7udhH6m81va4UK/0= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Nathan Chancellor , "Martin K . Petersen" , Sasha Levin , linux-scsi@vger.kernel.org, clang-built-linux@googlegroups.com Subject: [PATCH AUTOSEL 4.9 068/141] scsi: aic7xxx: Adjust indentation in ahc_find_syncrate Date: Fri, 14 Feb 2020 11:20:08 -0500 Message-Id: <20200214162122.19794-68-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200214162122.19794-1-sashal@kernel.org> References: <20200214162122.19794-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Nathan Chancellor [ Upstream commit 4dbc96ad65c45cdd4e895ed7ae4c151b780790c5 ] Clang warns: ../drivers/scsi/aic7xxx/aic7xxx_core.c:2317:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] if ((syncrate->sxfr_u2 & ST_SXFR) != 0) ^ ../drivers/scsi/aic7xxx/aic7xxx_core.c:2310:4: note: previous statement is here if (syncrate == &ahc_syncrates[maxsync]) ^ 1 warning generated. This warning occurs because there is a space amongst the tabs on this line. Remove it so that the indentation is consistent with the Linux kernel coding style and clang no longer warns. This has been a problem since the beginning of git history hence no fixes tag. Link: https://github.com/ClangBuiltLinux/linux/issues/817 Link: https://lore.kernel.org/r/20191218014220.52746-1-natechancellor@gmail.com Signed-off-by: Nathan Chancellor Signed-off-by: Martin K. Petersen Signed-off-by: Sasha Levin --- drivers/scsi/aic7xxx/aic7xxx_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/aic7xxx/aic7xxx_core.c b/drivers/scsi/aic7xxx/aic7xxx_core.c index 64ab9eaec428c..def3208dd2905 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_core.c +++ b/drivers/scsi/aic7xxx/aic7xxx_core.c @@ -2321,7 +2321,7 @@ ahc_find_syncrate(struct ahc_softc *ahc, u_int *period, * At some speeds, we only support * ST transfers. */ - if ((syncrate->sxfr_u2 & ST_SXFR) != 0) + if ((syncrate->sxfr_u2 & ST_SXFR) != 0) *ppr_options &= ~MSG_EXT_PPR_DT_REQ; break; } -- 2.20.1