Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp117911ybl; Thu, 9 Jan 2020 18:11:02 -0800 (PST) X-Google-Smtp-Source: APXvYqxCLYK4+WGdr2uvqWNKHU3mf0vJMV8WSwo6X7oChmS5zmeiWJthyQAJkIi/Vf/p07dlFW4k X-Received: by 2002:aca:1b19:: with SMTP id b25mr455027oib.24.1578622262108; Thu, 09 Jan 2020 18:11:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578622262; cv=none; d=google.com; s=arc-20160816; b=c7wot5m9sRKIW/h1/hmI0bqe6UmJuZGMGwXoi7BdH3+e+/bettZv0MUyXzJIEDYBRt K7ZvmN+qM7XwSnKjGHbZhqI22LyRJMvlwdVzqU4XFPvP1Ug/r+LtSw2M4eeeAyLPk8Cy 05bYmuSMuSY5VYqBFhaQ847w9HsiCTDqZ7XV6vHrC+yA75oH0F/8+f32mgT18DmzVVLi 0h86J473HhbRnI8tfe4oyAQOQsn1nK1zBxNMLIt06up5cdIypRl84RnNuayn29daYv3L 2Ky7HmscHAwxqISoWjI2xhPtDvTsJ6plvQ6ULgK8c2n5JqYc/t05nU5SK+20MpYjhjAV ZeMg== 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=R4EGY9E2x/SkAY5ypNNovap4WyyEX7OCvqo4o4ElTiI=; b=w1dsVDgH0KlRBCfK5c14W+772U60hjq1fOhb/u4YfjELmKLVwWHOMnm7PveVdMAlc6 W9mgj/GIqtslf9n/bGnAOjX6IKMQ0q0yBYdVXOSUk8VhEhBSX0MVvX3c6GCenSVer6Wa U1DTQ5R1AqhvTozEyFN9dZIyTINTwGJ7Wv/K5xl3B4rFFoYk38+188eKmZAEoY8o2tUl 00kAdzHGYvjb2GfgwroDtV0m9E8eju8eGgUEhuxEF1F8gQVwzN2O9bVHgg7EPthzbWe0 52IAJ/J7o3iqCONuOI9QBY/6Hydt1ifkaJ00bkXHQGcBIsixtl1Glp1tZlmssJlV6Obx 0CjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CG765F8W; 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 x26si215599oie.73.2020.01.09.18.10.49; Thu, 09 Jan 2020 18:11:02 -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=@gmail.com header.s=20161025 header.b=CG765F8W; 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 S1730708AbgAJCJw (ORCPT + 99 others); Thu, 9 Jan 2020 21:09:52 -0500 Received: from mail-lj1-f196.google.com ([209.85.208.196]:45196 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730601AbgAJCJv (ORCPT ); Thu, 9 Jan 2020 21:09:51 -0500 Received: by mail-lj1-f196.google.com with SMTP id j26so416648ljc.12 for ; Thu, 09 Jan 2020 18:09:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=R4EGY9E2x/SkAY5ypNNovap4WyyEX7OCvqo4o4ElTiI=; b=CG765F8Wc69HfycniYIukc82Y/Lt+AnIHQ4oupzFv9Ay/kIZEqDWcuncuJ453mu4TG mb9SuTTKH4Nsq7LC18frT+FHu2iQAqpsslZkH06uj/WSEmyDDqwKF1Bzb5akSTP3xrEr KguU9wsqhKxAVv9X4ocQvQJHIC37EzBW6e4+My55/m4nZ65JtdXerh99zQegUTv/9JaB AUJoaRYlZc2E8nyt4fIGtzhlo44b0bVrx3xkegLnfsY1rLlRTRkJyuQtrNDWK+VQrbfb SlqhHnIlP/ZvYPyF/YHxiZrlWonn5EitlNbADiQnMSgdRM8XPi/MozfxpXaIP2d9mb3C L4eA== 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=R4EGY9E2x/SkAY5ypNNovap4WyyEX7OCvqo4o4ElTiI=; b=DnaFhZqE19qq6RIpLfz7FbOhOHscyyuLtp3qJ1urkcf6e1jZ94v0vGVhW4GbLX6d7Q lQj6yFSyC0m770qlZYU5fIbafvbGAvsQkJaZ6mOqe0tYqLOhr3UlwYR+q4/zyrJ8CX3x RHuP8ATs8v2uc9M/Vz2aLMadSgOPuYYP6GBDACy3eHwGNuT1TVZZOqRzAwUqWbluhJCd jAP68GHYBG13PErjHiTkW3aUqJgVfWU6uPsQaK66uadRyyCGsUGWcvNRV3G5K8102uRg B2lI+0Pz6nHqIp8IFRX/9/dymeB3aczeZEJUN6tqpo3nmH9wEruliQjNq+qpYIjvOPnz d2Tg== X-Gm-Message-State: APjAAAWThgxUtVIgWi8WfeHNWuZeQGyRdwi4/ghXb5mZ56uWJcCc49cI VkKZOvuVhs13UFGJo6kCAQS8xe7GULZHVdCfp3M= X-Received: by 2002:a2e:7518:: with SMTP id q24mr706748ljc.119.1578622189693; Thu, 09 Jan 2020 18:09:49 -0800 (PST) MIME-Version: 1.0 References: <20200103033929.4956-1-zhenzhong.duan@gmail.com> <20200109184055.GI5603@zn.tnic> <20200109204638.GA523773@rani.riverdale.lan> <20200109205041.GJ5603@zn.tnic> In-Reply-To: <20200109205041.GJ5603@zn.tnic> From: Zhenzhong Duan Date: Fri, 10 Jan 2020 10:09:38 +0800 Message-ID: Subject: Re: [PATCH v2] x86/boot/KASLR: Fix unused variable warning To: Borislav Petkov Cc: Arvind Sankar , linux-kernel@vger.kernel.org, x86@kernel.org, Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Dave Hansen , "Rafael J. Wysocki" 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 Fri, Jan 10, 2020 at 4:50 AM Borislav Petkov wrote: > > Drop fanc.fnst@cn.fujitsu.com from Cc because it bounces. > > On Thu, Jan 09, 2020 at 03:46:41PM -0500, Arvind Sankar wrote: > > The boot/compressed Makefile resets KBUILD_CFLAGS. Following hack and > > building with W=1 shows it, or just add -Wunused in there. > > I'm interested in how he reproduced it on the stock tree, without > additional hacks or changes. I indeed used additional parameters as below for daily build. # make O=/build/kernel/ -j4 EXTRA_CFLAGS=-Wall binrpm-pkg Regards Zhenzhong