lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 13 Jun 2017 14:03:21 +0100 From: Colin King <colin.king@...onical.com> To: Yisen Zhuang <yisen.zhuang@...wei.com>, Salil Mehta <salil.mehta@...wei.com>, "David S . Miller" <davem@...emloft.net>, Daode Huang <huangdaode@...ilicon.com>, Kejian Yan <yankejian@...wei.com>, Andy Shevchenko <andriy.shevchenko@...ux.intel.com>, oulijun <oulijun@...wei.com>, netdev@...r.kernel.org Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org Subject: [PATCH][netdev-next] net: hns: make guid hns_dsaf_acpi_dsm_guid static From: Colin Ian King <colin.king@...onical.com> 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 <colin.king@...onical.com> --- 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
Powered by blists - more mailing lists