Received: by 10.223.176.5 with SMTP id f5csp73772wra; Thu, 8 Feb 2018 16:51:23 -0800 (PST) X-Google-Smtp-Source: AH8x224U0KAl4ElGs27GN4xxxgRQKSFzjiHjsGvKw/92QN4J24Efn//Ijxm4ba9FGapdeI/Rd62A X-Received: by 10.101.100.208 with SMTP id t16mr816217pgv.19.1518137483541; Thu, 08 Feb 2018 16:51:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518137483; cv=none; d=google.com; s=arc-20160816; b=xdAAoyWLBnQWx3FUDwIvuLblMkWH7mxWI0rJFagp7Sy/o+9AwrLvPWKunSPnhjYPI0 MfLh5PJUMORNutHx8pV3t+574CrG29z8+XqvM4kx/kTTt5v3NIztpf/Vw9udWd0Lrubi STz8cwmBvSUeCQ5dXWcCA4Cmtu4mogdkSOmzVqsZdgbhD0YzLbqBRsJsSAWVL6lsJY7f 6UKqItxxc5xUktfLO+gPExMp+8hGNezM+DGhJuV4EM9EsTjVYAmORomlmnmliKvpVzS4 hSpaabiji9NLbTSwpbZI1UDjwUne95iesJ6BGBps8dsy0Tuw+rcbw3CStJvC2xB+TC56 ZMcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:organization:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=jGfyKVj85hDOjlVGlAi25TwFrsxQiOZ2YGkpCEVa6vg=; b=DMB1mR8VWbd1/KsIqO7HiIK0YK3EE37nW7l27XMWFfqD7qB+bOJ87200BO8yErHufj ree/cKeEIbtvpJCtxRp2+DRL4sCVZRW/KkVY/WcL/eU6yZlFWZfkItWpYK3VEZ8O44UI gBcvTUv0m595IMMXFSeZw2AdKRFakFUK7r6/WzDMdHBuVs+flRZbFbyeSEUCl2XGFd/h nPNMrwBOCaq6i4zFEpTczrEDyV7EAXmI+ULU9yXnfqxEPXnj3jKJGYYdM9FjD1F9UhIY LPxTjadANPTDVuTHvRCXXP8ryc9f4dKhNVRV1xX1LJRXaaZh9t36nO51kDk5uVf4Pd2S FppQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=MRcXYHKB; 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 l4-v6si756237plk.390.2018.02.08.16.51.08; Thu, 08 Feb 2018 16:51:23 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=MRcXYHKB; 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 S1752408AbeBIAt5 (ORCPT + 99 others); Thu, 8 Feb 2018 19:49:57 -0500 Received: from mail-pl0-f66.google.com ([209.85.160.66]:37301 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752026AbeBIAtz (ORCPT ); Thu, 8 Feb 2018 19:49:55 -0500 Received: by mail-pl0-f66.google.com with SMTP id ay8so716214plb.4 for ; Thu, 08 Feb 2018 16:49:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version; bh=jGfyKVj85hDOjlVGlAi25TwFrsxQiOZ2YGkpCEVa6vg=; b=MRcXYHKBjyrZl2S4o1P7K1JgRuqwV+ytgpcAtdoXImpfonEhVOFQCqNhnKR+Z0fJhi D2LetYO+qHq+UX2Er9yaAxJjxF75hBHegpkinDLegkxDJym1BKNtVOpQD4mjDumcg6D8 GrnDnMeMtlCvH78nmioFjZl75yeFtYR1birJrU2IoZ0V7T2+WkOKElju2ep7kUUkiuZG atTPKv2BXOpXgCQAkGVqOxM7s3LwzyMZ01868KlgU17KujyihRZU7WUcV3zkZ8HEqBEb e9tYDEaF1ecDDy5Eu+iAEf6luK3Nl0+bUq1LWktqgxkif3i60al1PKoE7mv7Bz3TWylo KRyQ== 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:organization:references:date :in-reply-to:message-id:user-agent:mime-version; bh=jGfyKVj85hDOjlVGlAi25TwFrsxQiOZ2YGkpCEVa6vg=; b=gLEfGkLArNqq+GGyRJJ7v5WNTHW9eHDKnHbahZzeYOi1++N5l6OUUpd98+zpVkBlW+ 8PQ5pgyKSXPhZ/lIZewdAa819CVIGjY0r+1gQ74GJNM/nzQIeGrpUyHqB16WSUnL7QfZ oBLW97Z+K/BspUtzKZY878H52FZi31Cmx8Ngsm9Dbf//jmA7WaN02K5e9g3r/rWnzQzH 8qsZNH/Pin3InsgvQvQwQly9AuJbIX3ViEh5q/gbSWPHb5XRjVzM8l3m3SHzou2AO4dD h/rswIfSEh/zuJJScEL1w583IX3eHyts5sk+aH5scKPl1nnbx6wRy9zIK96p9bIZpfng wixw== X-Gm-Message-State: APf1xPBz8wdwvEVCMhbuqwzOH69qHESyE1TD24wi5k0Fdxf9VxiAalpV 9F3ilTKhR5qo4ejEczsmb+euXQ== X-Received: by 2002:a17:902:6bca:: with SMTP id m10-v6mr766877plt.351.1518137394688; Thu, 08 Feb 2018 16:49:54 -0800 (PST) Received: from localhost ([98.237.141.101]) by smtp.googlemail.com with ESMTPSA id q13sm2101630pgp.76.2018.02.08.16.49.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Feb 2018 16:49:53 -0800 (PST) From: Kevin Hilman To: Neil Armstrong Cc: Wei Yongjun , Carlo Caione , Arnaud Patard , linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH -next] meson-gx-socinfo: make local function meson_gx_socinfo_init static Organization: BayLibre References: <1515593988-78626-1-git-send-email-weiyongjun1@huawei.com> <3cb83737-bb60-7648-e72e-2d39590c8418@baylibre.com> Date: Thu, 08 Feb 2018 16:49:52 -0800 In-Reply-To: <3cb83737-bb60-7648-e72e-2d39590c8418@baylibre.com> (Neil Armstrong's message of "Tue, 6 Feb 2018 13:25:19 +0100") Message-ID: <7hh8qr9ebz.fsf@baylibre.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Neil Armstrong writes: > On 10/01/2018 15:19, Wei Yongjun wrote: >> Fixes the following sparse warnings: >> >> drivers/soc/amlogic/meson-gx-socinfo.c:100:12: warning: >> symbol 'meson_gx_socinfo_init' was not declared. Should it be static? >> >> Signed-off-by: Wei Yongjun >> --- >> drivers/soc/amlogic/meson-gx-socinfo.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/drivers/soc/amlogic/meson-gx-socinfo.c b/drivers/soc/amlogic/meson-gx-socinfo.c >> index f2d8c3c..ea091f1 100644 >> --- a/drivers/soc/amlogic/meson-gx-socinfo.c >> +++ b/drivers/soc/amlogic/meson-gx-socinfo.c >> @@ -97,7 +97,7 @@ static const char *socinfo_to_soc_id(u32 socinfo) >> return "Unknown"; >> } >> >> -int __init meson_gx_socinfo_init(void) >> +static int __init meson_gx_socinfo_init(void) >> { >> struct soc_device_attribute *soc_dev_attr; >> struct soc_device *soc_dev; >> >> >> > > Acked-by: Neil Armstrong Applied for v4.17, with Neil's ack. Kevin