Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp215462imm; Tue, 16 Oct 2018 21:47:04 -0700 (PDT) X-Google-Smtp-Source: ACcGV60gIYvGm2HFiCMppS+bNNSRyQf6oS2drFVE1xuWhpAa5lvRh66O/KMlXArb4Wq2bFI1XXCo X-Received: by 2002:a17:902:9004:: with SMTP id a4-v6mr24000506plp.166.1539751624019; Tue, 16 Oct 2018 21:47:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539751623; cv=none; d=google.com; s=arc-20160816; b=p1FzSOc4mqcwdNCivRVWQ7OffMyvOfLKsLCYab1+E94MTMdwazyivgOkx/wBuT70bZ plToeMKaMEMyt42Lz37X1nJemY0hj1jCUNvWS0B4hlK67zFKfIVWhJ9d+vji7pj/6BE3 ns47eJ0LBTilI2JvWpqvMAXMlsiofBNNy13xXMPACFrKZLR6QXZB2RGpqNSHRgRxDE4B FFUqcIZJ5wA1httGjtNaAl930b5U7A2MIc1fbHj0hoAjpQgnhFx3QUWV097IluwODSbY XYCt9KpFsMsJZHWSNTeEwniZXIyzl0vzFYL9/oYvMc6rNq09ree6+DPxN6h3160ouGMx bRDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=SvxdV+DeSaWc3WWNI2HFC0gb8fgI4Qrf3SATdZFzkSo=; b=BFPJH15i+jJuQD817HsPas/UtxK8dkaL5kEMHzkwbH4ZcJznJwh+seDfuPgPU2dp5P O0OUH2fCKv2j6xNBa6J/+oCcoq5aKfAmNogKqO+F60NxPDn2mwI4Uu8BqG5s5YLyIhyk vtVXPxihCGhwl3CfxEA8CDVLu+I5/QloU2PHCjqFql1nDBFJvbFG2GjDaBHKtIi8TORj XR6KHgTZ3d9IfsGRFUH00E/z2ncmlEOQqgd5v//QpfuQnQqhz/UKN8TbyENUP2Q71jsv k2z6SWtRi4ry2IVMyHPERUKGV9z5KwW25yIdu46lPsxkZmQXdfBQLET+7JzL8nlbO7N0 UuLA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z14-v6si15864788pgk.172.2018.10.16.21.46.33; Tue, 16 Oct 2018 21:47:03 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727013AbeJQMjq (ORCPT + 99 others); Wed, 17 Oct 2018 08:39:46 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:47074 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726168AbeJQMjq (ORCPT ); Wed, 17 Oct 2018 08:39:46 -0400 Received: by mail-qk1-f193.google.com with SMTP id q12-v6so15673812qkl.13; Tue, 16 Oct 2018 21:46:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=SvxdV+DeSaWc3WWNI2HFC0gb8fgI4Qrf3SATdZFzkSo=; b=RECmOfo3eCF5P3pOf7inPivdXRDU+B/CoiYAufPopICzl+QPzfsWCbisv5T5MYgY/t Nr9scTU5DA2YV+tzxKPL23HipJjf1qqYYJLPhlaeKa4eXtyWP8BwpL6lydlZWIg8INZd /epwLMZuhnc8svQquHwg8sYTlr41+6LJAyHPiIZlaTf1Txvouwh5d0BnrRBVDoHquDaC NtebqVSsucHW38DGiJEGJHadNU2YWbn4t2X7Ce7cXx3lPemNFlBvfR031ncQwUDo1AH9 nxHkY+K+pdglBHaX55kiHDWvH3F0vqLAG7cr/AvWzUE1xv3wvGSpo6ZwfE4Uc6MLcDg5 2TKg== X-Gm-Message-State: ABuFfoigLWh27VdYwxFYBwdArKT/mDV/XWenI7sfaR9rySFnzFc1xJ2G CMX9YjHoh4Gvchp7ZQpo/uU= X-Received: by 2002:a37:ddcf:: with SMTP id u76-v6mr22401083qku.184.1539751560260; Tue, 16 Oct 2018 21:46:00 -0700 (PDT) Received: from ?IPv6:2804:431:9718:6346:661:e081:23ef:66b? ([2804:431:9718:6346:661:e081:23ef:66b]) by smtp.gmail.com with ESMTPSA id 128-v6sm8501361qko.7.2018.10.16.21.45.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Oct 2018 21:45:59 -0700 (PDT) Subject: Re: [Lkcamp] [PATCH 0/4] Adds -Wshadow=local on KBUILD_HOSTCFLAGS To: =?UTF-8?Q?Leonardo_Br=c3=a1s?= , lkcamp@lists.libreplanetbr.org Cc: x86@kernel.org, linux-kbuild@vger.kernel.org, Matthew Wilcox , linux-kernel@vger.kernel.org, Masahiro Yamada , Ingo Molnar , Borislav Petkov , Andy Lutomirski , "H. Peter Anvin" , Michal Marek , Thomas Gleixner References: <20181017000722.GA20892@WindFlash> From: Helen Koike Message-ID: <00beb3a2-e68d-4f6c-d69a-8413acc214c4@koikeco.de> Date: Wed, 17 Oct 2018 01:45:54 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20181017000722.GA20892@WindFlash> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Leonardo, Thanks for the patches. On 10/16/18 9:07 PM, Leonardo Brás wrote: > This patchset add -Wshadow=local on KBUILD_HOSTCFLAGS and fixes > all code that show this warning. > > The third patch was already submitted, but was not merged yet. > I like to think it's part of this patchset, but if it was > already merged, please ignore it. You can check if it was merged in the maintainers' tree, if it is not there then it is not merged :) imho, I would prefer if you submitted it as a v2 with an explanation of what changed since v1 (e.g. new commits) or even stating that nothing has changed and you just regrouped it. Or better, you could also not re-submit it and just point out that this series depends on a previous commit (with a link to it). > > Leonardo Brás (4): > Adds -Wshadow=local on KBUILD_HOSTCFLAGS > Renames variable to fix shadow warning. > kbuild: Removes unnecessary shadowed local variable and optimize > testing. > Changes macro usage to avoid shadowing a variable. > > Makefile | 2 +- > arch/x86/entry/vdso/vdso2c.h | 4 ++-- > scripts/asn1_compiler.c | 7 +++---- > scripts/mod/file2alias.c | 14 ++++++++------ > 4 files changed, 14 insertions(+), 13 deletions(-) > I hope this helps. Regards, Helen