From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753425AbdFMNDp (ORCPT ); Tue, 13 Jun 2017 09:03:45 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:59544 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753392AbdFMNDn (ORCPT ); Tue, 13 Jun 2017 09:03:43 -0400 From: Colin King To: Yisen Zhuang , Salil Mehta , "David S . Miller" , Daode Huang , Kejian Yan , Andy Shevchenko , oulijun , netdev@vger.kernel.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH][netdev-next] net: hns: make guid hns_dsaf_acpi_dsm_guid static Date: Tue, 13 Jun 2017 14:03:21 +0100 Message-Id: <20170613130321.7797-1-colin.king@canonical.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Colin Ian King The guid hns_dsaf_acpi_dsm_guid does not need to be in global scope, so make it static. Cleans up sparse warning: "symbol 'hns_dsaf_acpi_dsm_guid' was not declared. Should it be static?" Signed-off-by: Colin Ian King --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c b/drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c index 6b15a507999c..7a8addda726e 100644 --- a/drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c +++ b/drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c @@ -29,7 +29,7 @@ enum _dsm_rst_type { HNS_ROCE_RESET_FUNC = 0x7, }; -const guid_t hns_dsaf_acpi_dsm_guid = +static const guid_t hns_dsaf_acpi_dsm_guid = GUID_INIT(0x1A85AA1A, 0xE293, 0x415E, 0x8E, 0x28, 0x8D, 0x69, 0x0A, 0x0F, 0x82, 0x0A); -- 2.11.0