From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Google-Smtp-Source: AH8x227GI5AAx55J3YH/vqTf7gkkqlNwKyosv79WbuqnV/w7kUq32gCdRCak4Pw2CxsE4KbKxyeh ARC-Seal: i=1; a=rsa-sha256; t=1517156566; cv=none; d=google.com; s=arc-20160816; b=zOKF0lGX4cjj8fBS/X0JbfuHMfGWKIGBnKQosDIpD6TkTWgq7EYQLVUfKIPjtEAVdA mT9gK1vr/CWvq6qxDp07OpC7qqxzZlgQ5gqHfEhd0yzi3JaavQYyy9qvt/6CArLckern KEVT3A/kqzFUEhmqLcFN4IgA72KZZzAhwK+ebErKQydArpv32+FawhFGC72sasVNY8aH 73Wd6BO39W+Lkttpip4e6OXEk5tgmZJDSUee3Gbj+Qotf7tWP6hiwfUP0IFHeMREAU8Y wod2t42uzORfRWgh77118oYWZkntDQXcDa51NgjkPSUpR66MvSTSPuXJPJ0eJb4jvyiF tHow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:arc-authentication-results; bh=6K1tqv3H6jupphivyMi0W3pZ7HrO+mQkFOZTZLn0lRY=; b=PBk37MitvTse9wX5iuSaq8M+ApQ8Vy90XJFCi/RJ30vUOyLXsA1+acziQz8F53QKe4 nZtLsVrseuI8u4EZvoCPhoYwSjbFITzLGzG6sfgbXjYw+5p9iTwNPoQ2LQlTlkVXzxTh O4Ccw6d2wjZPQUgtiYfM1r6G3uYeWGK1xtJFfjo2m521Cmql7Ozmkzj5mXfbydhO03xn CkSSP2JjUzGOMCWbai9kfjMafDAUMr4e7vBRhSRmxnL3YCdrPXrdrpNcicadwWQ3T+n3 +ML5QzuZ3miLLfHNBuJ3Vi0ZR3AQ1q8t7IRKDDmG7glSN6NpvLvjAOH4S7ILAecMaUK0 kZWQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of segher@gate.crashing.org designates 63.228.1.57 as permitted sender) smtp.mailfrom=segher@gate.crashing.org Authentication-Results: mx.google.com; spf=pass (google.com: domain of segher@gate.crashing.org designates 63.228.1.57 as permitted sender) smtp.mailfrom=segher@gate.crashing.org Date: Sun, 28 Jan 2018 10:22:39 -0600 From: Segher Boessenkool To: Prasad Sodagudi Cc: gregkh@linuxfoundation.org, mmarek@suse.com, ghackmann@google.com, yamada.masahiro@socionext.com, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] kbuild: clang: Disable -Wunused-const-variable warnings Message-ID: <20180128162239.GZ21977@gate.crashing.org> References: <1517014786-30685-1-git-send-email-psodagud@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1517014786-30685-1-git-send-email-psodagud@codeaurora.org> User-Agent: Mutt/1.4.2.3i X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: =?utf-8?q?1590705328423377998?= X-GMAIL-MSGID: =?utf-8?q?1590853963591893144?= X-Mailing-List: linux-kernel@vger.kernel.org List-ID: On Fri, Jan 26, 2018 at 04:59:46PM -0800, Prasad Sodagudi wrote: > Disable -Wunused-const-variable warnings instead of > disabling -Wunused-variable warnings, So that in both > clang and GCC -Wunused-const-variable gets disabled. Why would you disable -Wunused-const-variable on GCC? You do not explain why. Segher