Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp150195ybh; Tue, 10 Mar 2020 21:39:23 -0700 (PDT) X-Google-Smtp-Source: ADFU+vu9BNyrizgIJ2+/aKGVCPATKPvJlcqORTL9IC41ikYVgXjqXQBZYLJ9qyOftuz9VHtxAM/X X-Received: by 2002:a9d:6254:: with SMTP id i20mr945990otk.130.1583901563588; Tue, 10 Mar 2020 21:39:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583901563; cv=none; d=google.com; s=arc-20160816; b=KsaAWdqh6Z7KUkMFmMccD20J+stm7vTN4Q0auLv1VF3HuWVciE9kS45VxElvwJcrjn GBDuvkVVdIaYmWrofkOFS7rX7yjKtB2oUK44PhwYoRxOaTYmu37jHHAWx8yeENaz5+XJ K1nxtFFzuYEXIFs73aS1B/6daBnmTvT/Q059kGexjXq9FrKhyybqANrIJDwuIGM92Nkq Y6fNTacrKJEQtzQevSG4uZGRFzso3TllGaQfCGSkRWB1OlvUYRXpANNSYIIN8upE6TP/ bOaWOEU6kx/p8hRT8N0fpZ03XpKqVLpMLcEUBYeVkIBIQJU4eXd6VVVZrkjmtic4o+gL GvGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=RsAa5SD/jxIxjxLPY5iqTGr1c695sVY8RqNi7sozSsk=; b=z2gLLTKdlt5uNc+VUZmXCGlrxvMW6yF+xdrp66OkEo70NOL4KsqcLmGDzQCOwJPTRy et88i/BgGjxQSTjs78DufxTG6WixqGFkbn83mT1ZuxUIz3nGu7yWWBR+w2MbEF6W1fAn 70QN+i3cOHw8uZhL2qsbQ5VpPvuZZJklIfhC9G4tU2oY/96rF7Eaa4YVn3/MaFDMBQVa ar7UTuDNyE6sBiyMxhQ1mk3uqS5/jt7zAIf5ARSmPGDWqVjEJh/s9rbJAEqC8lHaLNWn 7UN5BQ1my9d0vN6nYtsl1IYPFSZqfOLl/CgTx+a7YQax2cF3C09JvecDmk9BN425VIdV 3cTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kWyAB5A2; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f6si513011otq.50.2020.03.10.21.39.11; Tue, 10 Mar 2020 21:39:23 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=kWyAB5A2; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726160AbgCKEhc (ORCPT + 99 others); Wed, 11 Mar 2020 00:37:32 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:43657 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725379AbgCKEhc (ORCPT ); Wed, 11 Mar 2020 00:37:32 -0400 Received: by mail-wr1-f67.google.com with SMTP id v9so813192wrf.10 for ; Tue, 10 Mar 2020 21:37:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=RsAa5SD/jxIxjxLPY5iqTGr1c695sVY8RqNi7sozSsk=; b=kWyAB5A2p4jl6vt9F69/5GNpGi5ca1s/ccS7NJMQQ9Ijy6a39+FAN9MzV1l0jfsmJv OYDXMichdQ3T2/3+C63yb6vgY+7BfgcTDdTPle7nkwG/fSLgJ1cABWb0wThhTo7b+gNF ieHkK1PTg/9a3bwjBjBZ3CAVfSVV7FfMMmN2dRMT3YWOpqm13FcHmCQ0zYKgsPLxZLvh MvwVxFW7fPh7J0ZrnK4qkgUqBUg/17rJsRHJieQVgnJBQ7JzIucdH4uPFxKRdaCb2WfY L0YPuPJtePXDURla1wizh8WjQzmV0BRJqNSB/TKOLA2hgI5VmGB5LNZ9422Af+0avoxs nKDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=RsAa5SD/jxIxjxLPY5iqTGr1c695sVY8RqNi7sozSsk=; b=sQNPMT4rp9GLLYv1B3Gwy/+zy9jECA+INXgIgXYVlAfGahRVZOUyPl996zstJYDZOD CEEKbSxuJxWUH7Z7BWKonh2ujUPlYY8ROrI0JSJPuPQp4Ll1m3DyMOh1yu7FJc5IyMh0 S9JB8BfJP2J9j25Ej2fugTpUfJ0002UIUstsHyGNYbxjoyP/ao/MbwmZnC1mu0bvEciv CqLrEjRSFmvGRui5PfSEHJGzqmuWLS4wWQxjwhbIhUiqZVcxWdpi9mNwyvqbFQZdKju7 NpJNaBCbqWJ0e5boV5z8cwL57FO40qW6r1+Db9ZBYemkJbY7lMzk+8Z7BGJ3tf0utBxt OtNw== X-Gm-Message-State: ANhLgQ2MFD3Hg+uee/kmVbBHV1eyqGoHXIJeFLk3auBDYjcy72vtoSXy ftoZgoMLSrGciAoDqAfeHMU= X-Received: by 2002:a5d:5710:: with SMTP id a16mr1870802wrv.5.1583901448738; Tue, 10 Mar 2020 21:37:28 -0700 (PDT) Received: from ltop.local ([2a02:a03f:4075:2100:20fd:9efb:5961:f66e]) by smtp.gmail.com with ESMTPSA id u17sm45956944wrq.74.2020.03.10.21.37.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Mar 2020 21:37:28 -0700 (PDT) Date: Wed, 11 Mar 2020 05:37:26 +0100 From: Luc Van Oostenryck To: Jesse Brandeburg Cc: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, x86@kernel.org, linux-kernel@vger.kernel.org, linux@rasmusvillemoes.dk, andriy.shevchenko@intel.com, dan.j.williams@intel.com, peterz@infradead.org Subject: Re: [PATCH v6 1/2] x86: fix bitops.h warning with a moved cast Message-ID: <20200311043726.kqdshlteaz27c2jn@ltop.local> References: <20200310221747.2848474-1-jesse.brandeburg@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200310221747.2848474-1-jesse.brandeburg@intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 10, 2020 at 03:17:46PM -0700, Jesse Brandeburg wrote: > Fix many sparse warnings when building with C=1. These are useless > noise from the bitops.h file and getting rid of them helps devs > make more use of the tools and possibly find real bugs. > > When the kernel is compiled with C=1, there are lots of messages like: > arch/x86/include/asm/bitops.h:77:37: warning: cast truncates bits from constant value (ffffff7f becomes 7f) Acked-by: Luc Van Oostenryck