Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1589147ybv; Thu, 20 Feb 2020 23:50:54 -0800 (PST) X-Google-Smtp-Source: APXvYqyiRr//4/bzg0Lcf3Vu36FXsYJ8FnfNoyKdGXU58enhb5OjtHPrQXdvrD5Uxhi7QomRKR/y X-Received: by 2002:a9d:624e:: with SMTP id i14mr27490465otk.371.1582271454052; Thu, 20 Feb 2020 23:50:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582271454; cv=none; d=google.com; s=arc-20160816; b=HjdIGyYfGo6QDiEjjPQbyQUCyL2o5cjEn+pvv8q2RSv6qSN1TbHQzgnA+1FsM8T7e+ /Q9QcX6dSfHdp0g+zIW2H+lyZbk6JKs+xUgdBeemW60e2DenUdaqICFApgT1NSnVvoQZ jqFVnMaMBjFhovNrsEZyeVjexbyzkWoUnh8oFNKnVLHG3x3ruSxFLKg7P381/5ALHb8Z 95SelAOc3FFLyYUVDGquygG478Da0zS7XapYYNzEa9ytWMl/ch4s5cJcnSs3WPR5fzpO 0KmzvLwShZ1mGoVbM1yyD5V3yr2zaRtbUmaZfZl28urF7k7lKtZAXx/sLMkNEpe4cY9z EZeQ== 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=tFJD7dwIceOtXhZp+9SFebkru4T7ebGwB68tjIUmsL4=; b=WCAUHBOasDz+/Q0XEep4H3wKSsRMnONNiYLkwBf92Q9ZZezFV7nszkZICWbcCW5nys 3/0x87IQ50msNvv/Y+Q6w+ZMn/VsEeItJL/mYcBgbXwjQaI+m6glX0C868clSnrQmEz/ sGT9MsD5m8rgQ9G3Dy6W0HNL9JRM12iovBdtksIejvcBc0Z9fdsaw47xAnRahcu0Q0tq FoCYBjFIfN2pk6WACRxF8aqL1nlAeUt9VHylopibG7ZP0JbAnpJrZPpBaMz1oVVLuvtt /Y1qGOPcCA1bCF5/VIvz/v5TLJMYXBp3tO2JtPSarHRB9B/0KrbYQwKBilL7UBsIUad/ oJ2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="ISPl/Ixd"; 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 w207si436861oia.226.2020.02.20.23.50.42; Thu, 20 Feb 2020 23:50:54 -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="ISPl/Ixd"; 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 S1729589AbgBUHuk (ORCPT + 99 others); Fri, 21 Feb 2020 02:50:40 -0500 Received: from mail.kernel.org ([198.145.29.99]:47608 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729580AbgBUHuj (ORCPT ); Fri, 21 Feb 2020 02:50:39 -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 12E2D207FD; Fri, 21 Feb 2020 07:50:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582271438; bh=S3JQ2UnbkSepe0YPKZPgiY0Z/Igmz5BB5w122SddXJ8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ISPl/IxdA9DwCAYvGHer30ATJR/uMF/n7eRB6lZS3Nyos6Zp+XLgKEW1gF+RtOBm1 IZ7MdQd5S2nrt+CIniaNDcTlWFzsH/GlhjHCwvL5OK75b75LUh8iA0i1aZl0I7FeH7 5T98F557I9exh8KI92e9N5B52GDLDoerA+ayJ4AA= 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 5.5 167/399] scsi: aic7xxx: Adjust indentation in ahc_find_syncrate Date: Fri, 21 Feb 2020 08:38:12 +0100 Message-Id: <20200221072418.878328078@linuxfoundation.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200221072402.315346745@linuxfoundation.org> References: <20200221072402.315346745@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 a9d40d3b90efc..4190a025381a5 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_core.c +++ b/drivers/scsi/aic7xxx/aic7xxx_core.c @@ -2314,7 +2314,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