From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 94D8AC77B61 for ; Mon, 1 May 2023 16:29:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=W3El9yNtW0wVlhies0f18NZNQ5uN3kloIx4u25l9BDk=; b=sv4RQ1GTriVcMp weDQmd8B/E0CmL229mYcbZhAKXay7ejkIVubZstQaDs+OIDc5xjbqN6n8ZWIoGBBaAMsIq6OJaROB uoV7V+QQj4BE7Enb9ER/LFpvWxNtVqCSkgt4zC+XkODDbwUJ2EP/AKOob5Nn1OIgFLkGVtT2obEQf UVzPzSR8nsilFLHgpvBi3T3RurWekJyPBaZGWu379toFwUv6GZosYeiutWF+N7xq9lJcn0WBsS8Og +yx5GEy03rxMMKESV6cAZOiNaIA/Kmb00BAr4KKXGhmW3bOAa+5w2GiZIwEE3eCNVwFOv8nR70lma sVyRoEgEti1TLKZ/ibDA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ptWOW-00GJa1-2g; Mon, 01 May 2023 16:28:56 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ptWOU-00GJZJ-38 for linux-arm-kernel@lists.infradead.org; Mon, 01 May 2023 16:28:56 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D29C461A60; Mon, 1 May 2023 16:28:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CE0DEC433D2; Mon, 1 May 2023 16:28:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682958533; bh=eQe5BjstwjDxSkWatIvKMKXf95VAWSpUZA1at5L08gA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pTq2pSOgs7ZnmBSgYTO2jLJEusa5tlOTodp/Ye0qtjHeEr8PTeHHa0aWk/GTxz/sS brPriewy7vmjsBBjXzoN/ZvC+0ggMkC8jjEQ2mjYcPc/w+HgXin9bXDuOAEBcG6lok lW5mf/Ri/nm0eGhU+gpTWrJIMHWOyJ/aETp1sozaxwSVp7Y6MbNAldXwUr5cngMRIS 0dT2dXmzrJ8VXipSKOkvYD95u6WpnvZ3N9YN4Revf4UfaRUmkDb/GgLdQaAZUssWne YwFnreDNIkMYDM0i2004wvv8/FRawUEyi3SRTG/BkA+NZD4FDbONwWS10IX/s2Cj8q W1PfiHKEMwe6A== Date: Mon, 1 May 2023 09:28:51 -0700 From: Nathan Chancellor To: Stephen Boyd Cc: Qin Jian , kernel test robot , llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [clk:clk-sunplus 1/1] drivers/clk/clk-sp7021.c:316:8: warning: result of comparison of constant 18446744073709551615 with expression of type 'typeof (_Generic((_m), char: (unsigned char)0, unsigned char: (unsigned char)0, signed char: (unsigned char)0, unsigned short: (unsigne... Message-ID: <20230501162851.GA2906609@dev-arch.thelio-3990X> References: <202303221947.pXP2v4xJ-lkp@intel.com> <81b2a67f89d7f46dd27f6d05606e753f.sboyd@kernel.org> <20230322195933.GA2828949@dev-arch.thelio-3990X> <00c24196e5ceb60b7d69967b73910264.sboyd@kernel.org> <20230324145056.GA428955@dev-arch.thelio-3990X> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230501_092855_069221_23C5D82C X-CRM114-Status: GOOD ( 17.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Apr 28, 2023 at 06:13:34PM -0700, Stephen Boyd wrote: > Quoting Nathan Chancellor (2023-03-24 07:50:56) > > On Wed, Mar 22, 2023 at 04:48:43PM -0700, Stephen Boyd wrote: > > > Quoting Nathan Chancellor (2023-03-22 12:59:33) > > > > > > > It looks like clang is > > > > complaining that mask is an unsigned int and it is being compared > > > > against ~0ull, which will always be false. This makes the warning go > > > > away for me, which is similar to commit cfd6fb45cfaf ("crypto: ccree - > > > > avoid out-of-range warnings from clang"), but I am not sure if that is > > > > correct or not. > > > > > > Cool thanks. Can you send it as a proper patch? > > > > Sure thing, I will do so when I am back online next week. > > > > Did you send the patch? Ugh, I am so sorry, I never added that to my TOOD list so I never rememebered after I got back :/ I will make sure to send the patch today. Cheers, Nathan _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel