Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp1136009ybf; Thu, 27 Feb 2020 05:42:59 -0800 (PST) X-Google-Smtp-Source: APXvYqwRf10+AUrVwDpoASwruG+mKDP9bMigzyiIXZaj1CKAaorVTbTDO1uqt6+9V/UBvbmhgs1e X-Received: by 2002:a9d:7509:: with SMTP id r9mr3247284otk.270.1582810979282; Thu, 27 Feb 2020 05:42:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582810979; cv=none; d=google.com; s=arc-20160816; b=NzksGq/2PAfKe1Ti5AtLUKZSZZzgKtSIN96nOPFO4T50nuxinLo/fdffeYawtEvgSa aVZpb22ELBOB5z9ipa48rBPw6rpghs9112mnHiAy9Hy5YWJb6EYOhf/fNP8Kjaz9ZZ7Q LdctdkSFKbm/695cGJ5L+beq8/IIh6fxiO9TwtN+ZYZUbNo6DE5xMA4jUIu5+Za0MApJ XjRG1MrcbARIvcDDp6sYGtmMcHKZjcmbPJaWbkWEfJ64iNlZXSSn2AZpFzch9EXcNyUa zNnIqT4trdYKqPytCpBAB8zsd2QGFwd99Rd6M61i7K/lVsZxjgthip/vnWlbnlXg7Cbj 58Pw== 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=XAG5uiOukw9phA1BvSdiPdrHiPjaQdgdU/PGJmyyv38=; b=isMTbfj0cixLmwHJ0v6pGi/FyWSjFjh6mS5smosP8dD98frzicAwSDCxsMlf2GsBhE iDsXJ11+ApSpw+rtiSe3faRk3BkCl09Aqt4bO2e6RtO/M5A1mykIG5PqSmO03FWi3npx I7soxdryrM3p1+7Pr1YRkEX6+64ERyDdSzCEc8bMGG+nKhAmwyfs9kkB1+/CBB0aoBeq 6HFs7jq0yKViJzh9TDElt4Z8Bspll+dyluWO2XJZHpGkMbRzu6rkNNWqIESrkQ+pTfcx f+IoDDf9P4T+CjJTbL2PVIclTiYJuNzZQKtO/Sa30y035jsO+BD1WVp55ByOBbZAtP1q nDDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2nOnm2tG; 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 u23si1619758otj.242.2020.02.27.05.42.46; Thu, 27 Feb 2020 05:42:59 -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=2nOnm2tG; 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 S1729703AbgB0NmB (ORCPT + 99 others); Thu, 27 Feb 2020 08:42:01 -0500 Received: from mail.kernel.org ([198.145.29.99]:36726 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729305AbgB0Nl6 (ORCPT ); Thu, 27 Feb 2020 08:41:58 -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 3D03A20578; Thu, 27 Feb 2020 13:41:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582810917; bh=BAiSBRFdJMN3ZHL/w78o+PZyV1AC1701XX/Z2jnkgC0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2nOnm2tGnnSQsQKMSbllNiwdh52HQoRdYuRi3nhW6hZCmvz8eE3JM4RHEOzmppwQX hlRCCuz5me4fQtp+ynACQwoeKV7GkD0Mq2mucPfzKjPxqvYO/8rmeXbSy3+DO9sq7C xqJ10MCATnKGGnEQl/v9Sg/p+/f60M6zGHs4EcOY= 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.4 046/113] scsi: aic7xxx: Adjust indentation in ahc_find_syncrate Date: Thu, 27 Feb 2020 14:36:02 +0100 Message-Id: <20200227132219.106958971@linuxfoundation.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200227132211.791484803@linuxfoundation.org> References: <20200227132211.791484803@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 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