Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1399785ybh; Sun, 19 Jul 2020 18:56:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzuvj8+buHFwoPt0+IWxznPShBYeZT/C+52D9vJwTtBWnAjKz5QjiFVip/BQzig2dA+gi+t X-Received: by 2002:a17:906:c41:: with SMTP id t1mr18598761ejf.18.1595210219457; Sun, 19 Jul 2020 18:56:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595210219; cv=none; d=google.com; s=arc-20160816; b=HDloMumgX7M2prBk/LrfYLPYLsV9zicIXfgtlHzi17Fv9r1oK21emlu/uCbd+Rpm0L G4jG2l91C7b1tcv1wOWw+6PlJsnvEoxYjp+GD9gaf8E1nhCTzld6o++hK/SivqzBWg14 zBqwQzcDi/Od6IqEJSp9vIJI0aSEVNr8WK4sNhaqjK3D5Hq+w4MohwNTrY0nUrMLHUdV M6AH4taOTE8mCa2SCA/YQFPXND9CrEFtOjgUWMahdrRZQqoPUDw6/TOH3s7FcvR/ZOzE aQveNTSGO+SdlCKHM8DYZNJGIxZcIQsa85nr58CFMY+HATAjk/fKs5QnnuUqt41aArGf 2gfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=c1xWgfL4pIS58ul9rDcYmfO8BBSejIC5oZvdkqD/mzE=; b=gblL06T8g9nHOlqzIcx2XfFnzjsLfvKRH2YJwaScDJAV2eVdVYVU95ClBCl1s1Zar/ FDx//X5/0sIbPkkuGFvOw+W5T1fPgg6QbVtOdUwQPbZMMkNHGS2rzjwwPVaJ1vHJ+9vU jGRldkgwSJXU5OA35gokDxSwmNt707ccfgohiOhZNIi5Q1y1YTYhiKRH5DFvc9dEZofr vhao52iy0GKnuu3BmCglvDnC87X9cwTjJOMcnmucJvXlhOU7Avy8OlElXnxHN/zY1VQz B4Y+5Gu8S6lrCgVpG9GpUlHIDaSyUp8hD0GOOugFJhyw9jLmtuD7gG0frVUECKpiiDai VyWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=sMTz2hhU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id n5si9982223ejc.171.2020.07.19.18.56.36; Sun, 19 Jul 2020 18:56:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=sMTz2hhU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726845AbgGTB4M (ORCPT + 99 others); Sun, 19 Jul 2020 21:56:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:46956 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726225AbgGTB4M (ORCPT ); Sun, 19 Jul 2020 21:56:12 -0400 Received: from dragon (unknown [80.251.214.228]) (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 9EB0820809; Mon, 20 Jul 2020 01:56:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595210171; bh=W8YzRx78vB3k/uKqwUom8cLKtr60pKZvb50g41M28uI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sMTz2hhUZp9w8dXrJkd1hWjfwAxDM8zB73GZ8411ME0c7BLSdbyZLmqPCQF8suXmL 5azAd7pqFNBmVzLxN36ONOJ14dGUssXSKfgBcyAwACZ+wh9Sj/fNFG01R/uvk6eZEI PZ4LGToxAiEHuvqwIymw1f4BtJ5KIqiF98x3ShHM= Date: Mon, 20 Jul 2020 09:55:54 +0800 From: Shawn Guo To: Stephen Boyd Cc: Anson Huang , Georg.Waibel@wiedemann-group.com, abel.vesa@nxp.com, aisheng.dong@nxp.com, andrew.smirnov@gmail.com, chen.fang@nxp.com, daniel.baluta@nxp.com, festevam@gmail.com, fugang.duan@nxp.com, georg.waibel@wiedemann-group.de, horia.geanta@nxp.com, j.remmet@phytec.de, kernel@pengutronix.de, laurent.pinchart@ideasonboard.com, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, mturquette@baylibre.com, peng.fan@nxp.com, s.hauer@pengutronix.de, sfr@canb.auug.org.au, yuehaibing@huawei.com, Linux-imx@nxp.com Subject: Re: [PATCH V6 6/6] clk: imx6sl: Fix build warning reported by kernel test robot Message-ID: <20200720015553.GB11560@dragon> References: <1594098579-25050-1-git-send-email-Anson.Huang@nxp.com> <1594098579-25050-7-git-send-email-Anson.Huang@nxp.com> <159486121748.1987609.16422613903444902156@swboyd.mtv.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <159486121748.1987609.16422613903444902156@swboyd.mtv.corp.google.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 15, 2020 at 06:00:17PM -0700, Stephen Boyd wrote: > Quoting Anson Huang (2020-07-06 22:09:39) > > Use readl_relaxed() instead of __raw_readl(), and use BIT(x) > > instead of (1 << X) to fix below build warning reported by kernel > > test robot: > > > > drivers/clk/imx/clk-imx6sl.c:149:49: warning: Shifting signed 32-bit > > value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] > > while (!(__raw_readl(anatop_base + PLL_ARM) & BM_PLL_ARM_LOCK)) > > > > Signed-off-by: Anson Huang > > Reported-by: kernel test robot > > --- > > The subject is poor. Please improve it so that it summarizes the change > instead of the reaction to a warning from a robot. > > > New patch. > > --- > > drivers/clk/imx/clk-imx6sl.c | 15 ++++++++------- > > 1 file changed, 8 insertions(+), 7 deletions(-) > > > > This should come earlier in the series too so that the build warning > doesn't come out before this patch is applied. Anson, Please update the series per request from Stephen. I have dropped the series from my branch. Shawn