Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp2871658ima; Mon, 22 Oct 2018 18:13:03 -0700 (PDT) X-Google-Smtp-Source: ACcGV60q7VT0TOjN9NSTFNpkSf80BB6HgeaeDbvH9vLHzXrstrXINO3KPi1swB562yvJqRWbFhL8 X-Received: by 2002:a63:4c23:: with SMTP id z35-v6mr45550446pga.312.1540257183437; Mon, 22 Oct 2018 18:13:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540257183; cv=none; d=google.com; s=arc-20160816; b=BxGIxO8ZqKjmedMZisdhTdWiI6WwoMtIeOjb1p87h0APb/Jr+VB3tsiDM4nEOyG9n4 axRZtM9Cy0rwBS5NAceTRdPwIggNYde+nPKE6CepExkscufh+/8uXmCIGb8Na1YtMSkC AdvyWfmCyQS2C9d7FYTWo/WaZxyfEoH837NT6ldB/kBnSQlalbcnZQ/mPq1vcUsMI4eq nghR9VJdbpVofGG2Tkt+CHTiIT6E1ObdleIn8AkOo3AjKO21y/RHJEhAnwV/JOhjIp+L YA7glwbs2TZcrEfWRLW4Jg0bfQJQmPIL9OeVbQzUUtKcJQwsXsMvG0UG1HVBXVooT809 r0Ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-transfer-encoding :content-disposition:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=FBQw2s4pCChAO/X8Yk6XewgTMXo6hSZSprD6cHrH444=; b=K39z9FheG7ItI2UqKq5lERDmOf6ZoA+tiw7GMkpqbl9QwyoLaLBYeXni76Pi5HO52X pgN6QhHJ4vAkhbyXqTwnkajHWvNOGDJPXpmK9T3CoplDdAAizYbgqGA7nvEXrKITtlNf z/Lrq1BDL0B2EAcT2n0ikHORN8cqxWT3qAasOQ8q/Zh+8Jw0AdRjEqF0iXqnngCDp36C +vSfh05P1JT7KBaWNeBkSNwye7nSEMxb29YoonT4gV1/EH/9GRbl1x8uU7VczGOxDumY tToBqbpew6sFvfNbV2LVaft/y1M/yMz6p25TwRdd7uKcvdq0OX4aAYrJdDvA3bohrfna R0Og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dVaqH2z8; 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 u8-v6si37643094plk.368.2018.10.22.18.12.47; Mon, 22 Oct 2018 18:13: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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dVaqH2z8; 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 S1727852AbeJWJb6 (ORCPT + 99 others); Tue, 23 Oct 2018 05:31:58 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:42465 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725883AbeJWJb6 (ORCPT ); Tue, 23 Oct 2018 05:31:58 -0400 Received: by mail-qk1-f195.google.com with SMTP id u20-v6so12087587qkk.9; Mon, 22 Oct 2018 18:10:59 -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:mime-version:content-disposition :content-transfer-encoding:user-agent; bh=FBQw2s4pCChAO/X8Yk6XewgTMXo6hSZSprD6cHrH444=; b=dVaqH2z8f6Jr79Bm1JILsdyPdTPdyp/GDElric1ill4oJ0DfHXlgnJH+y5h71rwDqU 6lpoOARFbx/VBY5f6ystB6ZazCRHH6EeJd+J+2ohn14RZylTFH30rLJ7pRTbompquGt2 TbjUc/afAJ5OhxQ1SKcjbhfNan3KII2rFx92+7ra62D3ULcx+/XTptHXvGHm0aQcB/Yg IUkLo/r2/nT4qJYu9OSuJuGCKmA8t90FEklldEAsAraZl4KVRQRq46JTP7jb6OFYkpKp 9EFsqKACWd07cXUtjx1mFGa41Au2lChWW80LqnrjGAVRnX6aaD2YC9ApN2fz0OVEJkDM Ugaw== 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:mime-version :content-disposition:content-transfer-encoding:user-agent; bh=FBQw2s4pCChAO/X8Yk6XewgTMXo6hSZSprD6cHrH444=; b=nJ8NTFLqJEPGUT9++OV9txZkEGnklzZ37hD6B/EickxnXrgF3k8wkzbOm24v35Lefe 6XcRGDjBzxuc67HMxuBnsJ0UBKzmi6WTSdROxkKu3NepN+lZx6/EVaFKeq5Iiy+jE2r+ E58BphD/rbBCn6aY7GyDVScSvkA7iOXTuz7dXDmUhdOrbjZ3lP1pwEcG0M35B+tzukPY qzYGYzFO98nVVB+TBhInyHOuPcR3tRtUfXS7eZuzUU59sAJ0D4HcbnboWAhjfZw9+xIQ yex37IL+UHXuP4f8m37jKtEXAEKUwdMVHNCnseANsjBeB7xDBvMcfWqOKPMh3NgdF7AJ /kDQ== X-Gm-Message-State: ABuFfojVqPaBO/Z19wCSbnDazmaOYTG+quCCHmtTviAEDn1CrkEjhtxQ c5Q7JO2oIAC8FMm/h4HPmwI= X-Received: by 2002:a37:30d4:: with SMTP id w203-v6mr44203494qkw.106.1540257059028; Mon, 22 Oct 2018 18:10:59 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id 83sm3056255qkz.73.2018.10.22.18.10.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 22 Oct 2018 18:10:58 -0700 (PDT) Date: Mon, 22 Oct 2018 22:10:52 -0300 From: Leonardo =?utf-8?B?QnLDoXM=?= To: lkcamp@lists.libreplanetbr.org Cc: Borislav Petkov , David.Laight@aculab.com, Andy Lutomirski , Ingo Molnar , helen@koikeco.de, Masahiro Yamada , Michal Marek , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/5] modpost: Changes parameter name to avoid shadowing. Message-ID: <20181023011052.GA6584@WindFlash> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Changes the parameter name to avoid shadowing a variable. Signed-off-by: Leonardo BrĂ¡s --- scripts/mod/modpost.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 0d998c54564d..368fe42340df 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c @@ -2228,13 +2228,13 @@ static int add_versions(struct buffer *b, struct module *mod) } static void add_depends(struct buffer *b, struct module *mod, - struct module *modules) + struct module *module_list) { struct symbol *s; struct module *m; int first = 1; - for (m = modules; m; m = m->next) + for (m = module_list; m; m = m->next) m->seen = is_vmlinux(m->name); buf_printf(b, "\n"); -- 2.19.1