Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1616168ybv; Fri, 21 Feb 2020 00:21:05 -0800 (PST) X-Google-Smtp-Source: APXvYqwMjHt0nVBwTKz40l3bEt95LYfX8IGS4ZqFeaqiqHV4eKcqifE9uc5RSn/SCVuKlUBaZYsS X-Received: by 2002:a9d:6443:: with SMTP id m3mr26219903otl.20.1582273265046; Fri, 21 Feb 2020 00:21:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582273265; cv=none; d=google.com; s=arc-20160816; b=xgmTcv+gIj/yiowVQA2Lh7V3nBrKcYyeLrhuxPGLFHZomZrYxTUxAjYGoeTJSg/9ag 7NXxlLD+gXAmTSGi/IhQiwpiOw+cp+xyZ2mDW1Pe2lIByK5Fm/Idsj1N2HZe5zmuUmoy 7R3wczb8kImtVIGj6hUI/m0zX0+3zcmn85IP/s8WoSCf+gnjPMXqz94UJfbZw23O6XXg iOFQfh+NbAhLJFGFdJ9ew5luaaRPoBvlIoDJpHTf5lDszEFf6+HZS0apkSVrzHpPnv+p ZSdNAhJPWosa079oU4JUtjkheKeO6cs1sOa4/HqVhbhKAJXzORyRM8zrteCw86R7Abu4 sLCA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=+oZrvAo+KkbqWi1t6Wt5QtIspqZtfvuRNWVRtc1Pb4Q=; b=vYNLwi8wIT+NS0Is+z9hAJt1vexAYQDkkgP74CacLBGIpwjhFaBAsRCVFEvwYpqaUV m65LzMOOwUj0bd+QYM/oEO7pKq3f6viPFfPbME7n2fXtogkQ4MdBVlg1xJmbPktkYsI0 sP6UodQYmqYt6+zXmx5ywoQzqRjYaLc3nj4meswLXdaw67GE5o7njkeMevKHYX2ltu1A iKLZzb/2lkceVvJdP+6KsGoefCZ1D7hOvcqPwudDf+QXk26+CnaMDNZ61ocKb3vy0Wcx y3mOhhWRiG2s7i4aSKoHpuZ/G9lnte5diFhFK1AwtTJ/cfawxP6VIPWmDOk++Y2sFyeK LU5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=JEX66qfD; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i15si1216437otk.120.2020.02.21.00.20.52; Fri, 21 Feb 2020 00:21:05 -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=JEX66qfD; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388124AbgBUIUI (ORCPT + 99 others); Fri, 21 Feb 2020 03:20:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:58874 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388107AbgBUIUD (ORCPT ); Fri, 21 Feb 2020 03:20:03 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8249E2468F; Fri, 21 Feb 2020 08:20:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582273203; bh=7kdgymCTe3z+kDx0t23a5tS8Fgh/KOpwizHQDgLdcc4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JEX66qfDJpkJ/oCtsQQCwR++SEsgohg08qXssdz4TeWvKUzZfNeqOFb8LDBJbq3XD 4FJb84WWKcZr6EgOZlbbli3LtuImM/2RE5MfRd9m+nK9kNI1053ZHMRvi5aDzL1xlv OfoIl1eJi4DW88zXY7zaFryf1Pm2BEA1zsDpm8Eg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Nathan Chancellor , "Martin K. Petersen" , Sasha Levin Subject: [PATCH 4.19 082/191] scsi: aic7xxx: Adjust indentation in ahc_find_syncrate Date: Fri, 21 Feb 2020 08:40:55 +0100 Message-Id: <20200221072301.047802665@linuxfoundation.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200221072250.732482588@linuxfoundation.org> References: <20200221072250.732482588@linuxfoundation.org> User-Agent: quilt/0.66 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 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 915a34f141e4f..49e02e8745533 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