Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp3091328ybf; Mon, 2 Mar 2020 22:53:05 -0800 (PST) X-Google-Smtp-Source: ADFU+vtVFbTzDDCX1nsDzdTYRv3zehtdzrnrEToSLIRIhgepNZOQDGuvYD7NHfd1T6r5UQJENr++ X-Received: by 2002:a05:6830:310a:: with SMTP id b10mr2307152ots.210.1583218385676; Mon, 02 Mar 2020 22:53:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583218385; cv=none; d=google.com; s=arc-20160816; b=HEGh9TLONjMPHA7Oa7g2fJ3U4rwEQEMKOrcL8UNFqWi47VqnunQHgpsVy02oSscwUe uv6EtOhpV9S+9Ex3NS+FGPjI4awLsAe9jfSDgB1Xx6WX4cTXU/DkYAmTiD0QrTwzhP0c pUm3Ic4aQk0YQwkR1dgXzQ5V3iJBViLQhjzxo/94jFO0G5rzT2rCi1p4bfTEVkz0v2nK sNxBlptF8UCMm3SZxOIfg1izPwxbyaqGWVCY6sKrC7BxyGgfC0bR6yuDyTPq89iI68Oz n09rhw+O92VsnecAelfj5/KNgo+iiQ0WdsEVnwW8CAi0unRRN1ZZibKGajpuAZw1Gg2y tdxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=UMVONrKR+b8jzI+5t7WeqTF89uT5m1carSgINXmScQg=; b=bMSKEmljOu7t5Nevgy98oY2nFLuINBcwiNZAMaK1xN6ajIro3MJeUlQ8c4ajMthGy6 e9CvlrSs+9mVucW8eY8qYZC57mYrIODUDhpKjIvsiPRfXM/UcEXglM1dFcJ8RCl6hGhx IahCyv8qEFlRj77lYifmnJ2yqJb4Owp09AIDSb15c+Ry6wHm4SN++TryHc6JF9Gvv5PE S/D3ql84skuadsmm0uWEbZ2n8lppDUScQI16LUfxn2k0PCFQ5kjy8dKkPacxC8fXfm2+ xu13qqAntMkjdulzhIsv2J2VmdNCv3FvBdc3EQAMYOMZWc3G+UympYAS1THSBQ7FgXq3 EFCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lrelZO51; 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 a205si7532786oif.159.2020.03.02.22.52.51; Mon, 02 Mar 2020 22:53:05 -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=lrelZO51; 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 S1727498AbgCCGwr (ORCPT + 99 others); Tue, 3 Mar 2020 01:52:47 -0500 Received: from mail-pf1-f195.google.com ([209.85.210.195]:37808 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726164AbgCCGwr (ORCPT ); Tue, 3 Mar 2020 01:52:47 -0500 Received: by mail-pf1-f195.google.com with SMTP id p14so980265pfn.4 for ; Mon, 02 Mar 2020 22:52:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=UMVONrKR+b8jzI+5t7WeqTF89uT5m1carSgINXmScQg=; b=lrelZO51p6z5wWVvrMuWpeuVX0mrlYsvGCdmltMpxMdhfWVRHfCEuXJZzvJugN96rM x7szzUXmfYThPoGsWLOs25vTmvDHSlNUi+oE2wDR3NiV0VuHHPuTdT7d2ZYVPgV+sB3S awMWetqHxP7JgPJLME0tzEF/xGgko02k3koqiHDNOg1ihfMRHx1FW1j4PhFaPNnx/YlJ mBxgsbX7dGd2mlnsvrohxC9Y5gLutciE9i1VLept+dFpqQdyIk6KGj4oKj+abhtw89oZ ukQfU38NK6teNULcz2m0xWrD1Mm2R+dBheVliIKzYbFQ1pLYP37qgxSa5T3TqzRPY6J8 WIcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=UMVONrKR+b8jzI+5t7WeqTF89uT5m1carSgINXmScQg=; b=cpuzaM8u/XWjLMpSqat++O3towi3+GMSGiCYO7I745vxcWOTwj6Xqn6d3PKY3dz0Nh XOzlYMDR0Q2KNlG3KWSkNjagQPBGu6vzlW9qWck6Q477IaYpWMAmRNywvQC38Ezu8pxX wRNSMW7IPDbQELvdCW7FlvDS/+ELb5I9U8INqFTDwEzpzzxhAZf5JQByKJ4HM8Z03//o DyGeo86ltyHCI2ZrTQ5VIQVup2//MZFtBQG1PBzzgObtNRzA0QauhACMNBRveodi29mo +5vDnZyV6gmpnP1tot7mxNetIPjNDNpipXB6fCPEapdI8BcgXvzMeeX5MBatScyFj5TF H5sg== X-Gm-Message-State: ANhLgQ1lj0xA7E7RawDdxeC0d1LTST/CpmHJJRpMKocQj140ZjXuF+JG GVjxv2kgiWRwHeR2htt6iJvYszjJ X-Received: by 2002:a63:ed14:: with SMTP id d20mr2631432pgi.267.1583218365926; Mon, 02 Mar 2020 22:52:45 -0800 (PST) Received: from ZB-PF114XEA.360buyad.local ([103.90.76.242]) by smtp.gmail.com with ESMTPSA id t11sm22780754pgi.15.2020.03.02.22.52.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Mar 2020 22:52:45 -0800 (PST) From: Zhenzhong Duan To: linux-kernel@vger.kernel.org Cc: x86@kernel.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, zhenzhong.duan@gmail.com Subject: [PATCH 0/2] Add -Wunused to x86 boot module and fix build warning Date: Tue, 3 Mar 2020 14:52:08 +0800 Message-Id: <20200303065210.1279-1-zhenzhong.duan@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [PATCH 1/2] is based on previous discuss in link below https://lore.kernel.org/patchwork/patch/1175001/#1379873 [PATCH 2/2] drop true/false change per Thomas suggestion. This two patches is a series, the warning in patch2 will not trigger without patch1 by default. Zhenzhong Duan (2): x86/boot: Add -Wunused to KBUILD_CFLAGS x86/boot/KASLR: Fix unused variable warning arch/x86/boot/compressed/Makefile | 2 +- arch/x86/boot/compressed/kaslr.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.17.1