Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1574531pxb; Thu, 28 Jan 2021 22:29:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJy1DmJOJ7l6/40hHRkgD+J6SyPOS1veUB+eEwBqjNr2rji2VGhZ9wutA+2iOLWrI3GF/SCm X-Received: by 2002:a05:6402:1383:: with SMTP id b3mr3330805edv.131.1611901782156; Thu, 28 Jan 2021 22:29:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611901782; cv=none; d=google.com; s=arc-20160816; b=YyF/DHomgZdJU68e0V67HwbhVzYP5DBF0ONl7pOORVNZe9skG9zXSlggR4ezDMhTKU nxDiT7Jxh2ADnCUBm0+L34JzaubzFlSKB9W69RX9M7ryjqVPNQka3+drHnIQKvCanJn7 tswymrBPzAAVcviN0zUvSTehFZveiZbFd3nunMrMjDFvOBs7pq3YsxB6DeyjiXzfalOU hetrnY9cfCNI48KUljrrgw7qaz3ExfsfAKeLRTNlfwwZWDr69J+6aKzdhByR/aO154k5 o/Woi01wuJCPdrbhb1NSGvRwvfDmGvSGdWR9LsnNMvjSVWRYYza/pejoIpOpogzTCz8E plnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :ironport-sdr:ironport-sdr; bh=rBvCRF5VUYxBK3woNDKCJDZ7ROdGTy/oBtIawXUfQWU=; b=kE7zbMvBbGSxk4TWtxafRrZVyDoniJzeNz5AB0byKXvAuFx0n9ZTUDIeIX+79x+EBs S4/jQ+omUHKPitNE+6+rWF7wd6VOPNVJsqo1A0wz57WGRYypb3fH02ZoEHEygHiW6uA6 IldyCK9f5vvWe5Kyh3RxlkLIjfk2y89QJXr3Z05HunCL/Pmt3W06av6Zlv5e9wmCwnM/ nbh3/rD4FvuLncYGTWoKWZhD/fy1Ph4AdLTV9TK34bp1sX2lVDLs3OvWdgDGLeExCtiB Lj9/zNkhNZPRp5QI//k+Lrr72xQnSrELPvPDmtSErn9rPvVVYCjsa25k4sWEREEePWBB 1sTA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lt6si3947661ejb.133.2021.01.28.22.29.12; Thu, 28 Jan 2021 22:29:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232097AbhA2G0V (ORCPT + 99 others); Fri, 29 Jan 2021 01:26:21 -0500 Received: from mga14.intel.com ([192.55.52.115]:28869 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232029AbhA2G0M (ORCPT ); Fri, 29 Jan 2021 01:26:12 -0500 IronPort-SDR: PuQqDKsxs8Ewsv6+4ZAbokdax2st/X50Sb8lUKzUtlEPQUm1xIv6B00oTwwcBB1DeF593PTW7Q eJ4FM38NVgcw== X-IronPort-AV: E=McAfee;i="6000,8403,9878"; a="179592728" X-IronPort-AV: E=Sophos;i="5.79,384,1602572400"; d="scan'208";a="179592728" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jan 2021 22:25:32 -0800 IronPort-SDR: oX2YZrpx3tu7S/vNustT46zdvOeFhXKTRQeKDUMK0toKKPhTL5+OzUdO0FSbFNS2vm5PeJoPsn 4+z4WxcpWcWQ== X-IronPort-AV: E=Sophos;i="5.79,384,1602572400"; d="scan'208";a="578942725" Received: from chengpol-mobl1.ccr.corp.intel.com ([10.249.170.29]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jan 2021 22:25:30 -0800 Message-ID: <0940484c3c64c3a6ba1e05f19f2d5137bc4fdcdf.camel@intel.com> Subject: Re: [PATCH -next] ACPI: tables: Mark acpi_init_fpdt with static keyword From: Zhang Rui To: Zou Wei , rjw@rjwysocki.net, lenb@kernel.org Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Date: Fri, 29 Jan 2021 14:25:28 +0800 In-Reply-To: <1611833479-87653-1-git-send-email-zou_wei@huawei.com> References: <1611833479-87653-1-git-send-email-zou_wei@huawei.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Wei, Thanks for the patch. Given that there are a couple of things need to be fixed in the orignal patch, I'd prefer to refresh the patch with all the fixes included https://patchwork.kernel.org/project/linux-acpi/patch/20210129061548.13448-1-rui.zhang@intel.com/ what do you think? thanks, rui On Thu, 2021-01-28 at 19:31 +0800, Zou Wei wrote: > Fix the following sparse warning: > > drivers/acpi/acpi_fpdt.c:230:6: warning: symbol 'acpi_init_fpdt' was > not declared. Should it be static? > > Signed-off-by: Zou Wei > --- > drivers/acpi/acpi_fpdt.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/acpi/acpi_fpdt.c b/drivers/acpi/acpi_fpdt.c > index b810811..968f9cc 100644 > --- a/drivers/acpi/acpi_fpdt.c > +++ b/drivers/acpi/acpi_fpdt.c > @@ -227,7 +227,7 @@ static int fpdt_process_subtable(u64 address, u32 > subtable_type) > return 0; > } > > -void acpi_init_fpdt(void) > +static void acpi_init_fpdt(void) > { > acpi_status status; > struct acpi_table_header *header;