Received: by 10.223.176.46 with SMTP id f43csp168090wra; Thu, 18 Jan 2018 15:36:21 -0800 (PST) X-Google-Smtp-Source: ACJfBovLWyZIdL+gllNsjtmv/P6Lm7DXZZNo/IZ9sQBXyKGfm6Ec9VdbWmEjAtRZS4SW1m1qPFpA X-Received: by 10.98.246.8 with SMTP id x8mr6105786pfh.234.1516318581323; Thu, 18 Jan 2018 15:36:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516318581; cv=none; d=google.com; s=arc-20160816; b=1D0YmL4wWHBOoryz4zeVv9trtWsRoBaZlS6geC6nULslaf6mf9qSDERK5Ug1IRFSrp uqxWkj5FCmz4Gkm20h6+7SI3Bh3tGiQD/+ZuEVoudGpWq6nXdLU7I3/ZXQEEieqnp12g DX2dnXjVovGtWFlhahsKtIxA5ajdiNBsb1Kj3H15+EndTg6AqfS/d3RMNnaTfgrKkPUQ Zdje8Eu+PPqIzS5rJndTaV/DI7PdUrQkIAI32RUnUFJdIEzVrpKisPktbLfmsJ0v/T/q J0nEFZc5geqBz0lAsw/LpCQEGkeVCvAQfVB10gZ7nGmkj4YLBGZCi3l7UYH0VKOsABW8 kzSg== 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:dkim-signature :arc-authentication-results; bh=mjMCMvF/KPLVXevp57atBK//VJO09itbU8b4V/+6i0w=; b=ZTfCKjBfWYXyK3mWGukQnVCducem0U5dDuNcdJUJKIXpHJ/xvIFhqi90D+FRnRs2/o Roa/NKO2c1gVxYynSp6BWVfw7AYbeyG4FbJkYxqGV3T0iQXYSrzRUNAFF5Tel20u09gm x6VPndiGb/t8DcqQUEAw9s/1XPQVdLd5c0A0teMQQ03yer58DeVTp/5sCEwuWSUI9/KV lZchdgJzP7r6/s5jxHNuHiXTnCfY7zLNlMo7sGGeTkLtHmnFisLh/VxZ1hfEwhfjkecq syM3q+yPknIOihGkByTgmV8JwKG9iXYrqQtxao+mT3IMEB+Smzz8NmoHnfcdkorPFukf USuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=WclKv2QR; 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 t19-v6si303776plo.128.2018.01.18.15.36.07; Thu, 18 Jan 2018 15:36:21 -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=fail header.i=@infradead.org header.s=merlin.20170209 header.b=WclKv2QR; 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 S932611AbeARXfU (ORCPT + 99 others); Thu, 18 Jan 2018 18:35:20 -0500 Received: from merlin.infradead.org ([205.233.59.134]:50572 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932394AbeARXfN (ORCPT ); Thu, 18 Jan 2018 18:35:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=mjMCMvF/KPLVXevp57atBK//VJO09itbU8b4V/+6i0w=; b=WclKv2QRvRjU4e+SACnxcBwRNJ QGOMBzsQSsz3cqJE5xi/KUEOIdTNgDljb6MZ+z1J7Ll8zkEtj9oCf1nAPsZ51SRvdbd8KJ31oroTD vYepq4H+UuvnC98fo+wCA+MiIC+X17LdrK3ogfNGtG3JxKtpDuYKrgC+Z5UurissW6D+X2YskBezA iHOxZ4eSBmees81CvJSUspHVS0EHC1AjJz4be6uoA00NOMHsLgOOSfFNjDir3ty01/b7rSXXDQFBG 6yUqndRUVmOcJvgEdt01Ryw3SvH7e6dkgw0fg1UMhBkoRneUpXvZfmTzc+XHIarLiNQrmqBpk+Fcp f09mEQiw==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=dragon.site) by merlin.infradead.org with esmtpsa (Exim 4.89 #1 (Red Hat Linux)) id 1ecJi6-0006JG-Q7; Thu, 18 Jan 2018 23:35:06 +0000 Subject: Re: [PATCH-next] init/main.c: make local symbol static To: =?UTF-8?Q?Christopher_D=c3=adaz_Riveros?= , Tom Lendacky , mingo@kernel.org, akpm@linux-foundation.org, tglx@linutronix.de, keescook@chromium.org, lauraa@codeaurora.org, rostedt@goodmis.org, mhocko@suse.com, tal.shorer@gmail.com, viresh.kumar@linaro.org, lokeshvutla@ti.com Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org References: <20180118220629.25116-1-chrisadr@gentoo.org> <9f473c55-7304-dda3-dea4-2734292927a6@infradead.org> <30828c91-a39d-6342-2774-32386baa30b6@amd.com> <1516318407.2510.76.camel@gentoo.org> From: Randy Dunlap Message-ID: <34989256-cac4-05ed-5b74-53a956b89eb2@infradead.org> Date: Thu, 18 Jan 2018 15:35:04 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <1516318407.2510.76.camel@gentoo.org> 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 On 01/18/2018 03:33 PM, Christopher Díaz Riveros wrote: > El jue, 18-01-2018 a las 16:31 -0600, Tom Lendacky escribió: >> On 1/18/2018 4:09 PM, Randy Dunlap wrote: >>> On 01/18/2018 02:06 PM, Christopher Díaz Riveros wrote: >>>> Fixes the following sparse warning: >>>> >>>> init/main.c:167:12: warning: >>>> symbol 'envp_init' was not declared. Should it be static? >>>> >>>> Signed-off-by: Christopher Díaz Riveros >>> >>> Does the kernel build OK after this change? >>> > > I built it a couple of times before sending the patch, now I compiled > it again and everything went ok. > >>> What about the other user(s) of envp_init? >> >> It looks like it's referenced in init/do_mounts_initrd.c. Rather >> than making it static, it should be declared in .h file. >> init/Makefile should give you a clue. > > Ok, I'll try to figure it out, akpm accepted the patch in mm-next but > was dropped because of testing failures. I'm still very new to all of > this process. -- ~Randy