Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4577093ybl; Mon, 9 Dec 2019 13:14:33 -0800 (PST) X-Google-Smtp-Source: APXvYqxSj4p9dKIDl7NzL0ovVV7wylPoQyQg5Bxv+WC/xP4sAAgfNr3IndfUmgFW7bc957hwqZ1j X-Received: by 2002:a9d:191f:: with SMTP id j31mr22398735ota.163.1575926073455; Mon, 09 Dec 2019 13:14:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575926073; cv=none; d=google.com; s=arc-20160816; b=Xp+EIGdFD+7xbxdtnWV9tMKkLj4sqNTo1cGpl/mfeKnpGSj+tJeRE23/ub5/GTAaP8 VGLR60JsiZ87HsJpfHkazb1ddl9/+LI2HyUv9ICnwu0HgoAUzqBCt4eIdb+I2C5ggI26 eR6C8cRdlRgR+imZHX5oOQpm9tP1z0hK6jmGuzMlQMTbKUwtpgMA0o+XkGIvyYVhCbvB tkvgCQTJlQSrhKcjyjeUGHmXTEooLKLxweI0EaqWKnFex4lpKeCn4vIW8YUKq1mHs9FX BslIhMbBqPNHw63qGGYmJTPItrNd73Zrmam3wyM1kTl7YhWkFnU7PUKaTk4HLutZul2F C4eA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=reyZZJheLd9yHQxDntXi/qlyLtQlfdLU5vTmTSU2J4w=; b=bKZKwezH32XO3k38KhQyt4QuxlRVgkEHUd5indZAYeADIfmCYMnd3lKQT4e+P56BhC RQOb8xhmCG87TFNqpxyGLtAkFofHj7bnXnSVvAG7pT1GcyjDtVBfkfigwv33dUhmJPYP 8ClJVbIPtQ4TlHiZv/7zKEW9NnIOie0EPCxVBa733E1GaLZ2SgS7ginseghTC1VGTGMk Y7WdunpeJK40fe8EWDL0eicFXIWY+e1bEmx/bR0oMUTiKaMUT6Krab6ameYTyaqtp7BE gdU5AnhaKjW3rGfNyzMlhXnOJ544U9lwvYhi42QBBkthXpuBM9JDhNyKC5A/B2vTCKrk aeBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=wTf08lNe; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v92si613017otb.140.2019.12.09.13.14.19; Mon, 09 Dec 2019 13:14:33 -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=@google.com header.s=20161025 header.b=wTf08lNe; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726589AbfLIVMs (ORCPT + 99 others); Mon, 9 Dec 2019 16:12:48 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:36064 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726354AbfLIVMr (ORCPT ); Mon, 9 Dec 2019 16:12:47 -0500 Received: by mail-pf1-f196.google.com with SMTP id x184so6416917pfb.3 for ; Mon, 09 Dec 2019 13:12:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=reyZZJheLd9yHQxDntXi/qlyLtQlfdLU5vTmTSU2J4w=; b=wTf08lNeP17+SN7FmdBXOMHbX47zfgrkLvREVS5gXOgqNTkW7U9Cch1XQfVdtEc2gg aA15kTWlGED0Hum556nKwbzPSZ5EaE4X6MGEueaj7Fi6Qf2Kl1yQtEOaa7LRyKmcV8gs BoFFOpT0JRzbBNq7FVQNPow/WgjFEiCVdYwIFQbWXYeI7iLuTtQs4HzlzkTrJ0fB26iv HaCAtSASApe9u958UOkUL/qCoc9ebU/VQmMKcH+gECZA2newVCGxrAi5qjtPLCV8WyXX blp+7DgHmrwGR2Oht2SHVZ8shW+/F7czJteB5NgIYPKJ+elPO390ybYmu8eTbz2MgtAs jQfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=reyZZJheLd9yHQxDntXi/qlyLtQlfdLU5vTmTSU2J4w=; b=ZpnGSP5+InxDGQHwbEXxfIsr2B7ecnzD9ZSRUGxzF1xisC7i/mJ6tgS0gVSbt490IT 6VXWJsWDHPcGThrgaXQCMUA7uGTCUCjKHxo9YAs8kP2SlrCxYJaQTQlwIS3NWrtLTZL6 vlTZW5rP18Kfc4PJWLdjzftk1f+zhogHgrL/+lMdbi8Z39mfW99HRB85OnURzReUrPHe FfyRPucZ46jSDGsJ2D29a9Vc4ODJ7KzMROvxTLjScQZQ2tAOZHeAVj+3vuMhRIa1OB3n aX+awE6NeGM4phoCypLHAk+VykWbmh858+zKEdkV1ggqqXf/yZEGnVrcqr6tx4Kob7ef FOgw== X-Gm-Message-State: APjAAAXMPE4Iy0kUDBVg2PHBKyOpt7MrNUds4J6xaojj1SaR0tMCDL04 nIy2qJC15z/8j1u3B9baN+QUjVIWd727zs4ZhYvrcw== X-Received: by 2002:a65:590f:: with SMTP id f15mr20500805pgu.381.1575925966701; Mon, 09 Dec 2019 13:12:46 -0800 (PST) MIME-Version: 1.0 References: <20191209200338.12546-1-natechancellor@gmail.com> In-Reply-To: <20191209200338.12546-1-natechancellor@gmail.com> From: Nick Desaulniers Date: Mon, 9 Dec 2019 13:12:35 -0800 Message-ID: Subject: Re: [PATCH] powerpc/44x: Adjust indentation in ibm4xx_denali_fixup_memsize To: Nathan Chancellor Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , linuxppc-dev , LKML , clang-built-linux Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 9, 2019 at 12:04 PM Nathan Chancellor wrote: > > Clang warns: > > ../arch/powerpc/boot/4xx.c:231:3: warning: misleading indentation; > statement is not part of the previous 'else' [-Wmisleading-indentation] > val = SDRAM0_READ(DDR0_42); > ^ > ../arch/powerpc/boot/4xx.c:227:2: note: previous statement is here > else > ^ > > This is because there is a space at the beginning of this line; remove > it so that the indentation is consistent according to the Linux kernel > coding style and clang no longer warns. > > Fixes: d23f5099297c ("[POWERPC] 4xx: Adds decoding of 440SPE memory size to boot wrapper library") ah, can even see it in the diff. Thanks for the patch. Reviewed-by: Nick Desaulniers > Link: https://github.com/ClangBuiltLinux/linux/issues/780 > Signed-off-by: Nathan Chancellor > --- > arch/powerpc/boot/4xx.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/powerpc/boot/4xx.c b/arch/powerpc/boot/4xx.c > index 1699e9531552..00c4d843a023 100644 > --- a/arch/powerpc/boot/4xx.c > +++ b/arch/powerpc/boot/4xx.c > @@ -228,7 +228,7 @@ void ibm4xx_denali_fixup_memsize(void) > dpath = 8; /* 64 bits */ > > /* get address pins (rows) */ > - val = SDRAM0_READ(DDR0_42); > + val = SDRAM0_READ(DDR0_42); > > row = DDR_GET_VAL(val, DDR_APIN, DDR_APIN_SHIFT); > if (row > max_row) > -- > 2.24.0 > > -- > You received this message because you are subscribed to the Google Groups "Clang Built Linux" group. > To unsubscribe from this group and stop receiving emails from it, send an email to clang-built-linux+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/clang-built-linux/20191209200338.12546-1-natechancellor%40gmail.com. -- Thanks, ~Nick Desaulniers