From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 41D84C31E44 for ; Tue, 11 Jun 2019 21:44:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 19AC620872 for ; Tue, 11 Jun 2019 21:44:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2407053AbfFKVo1 (ORCPT ); Tue, 11 Jun 2019 17:44:27 -0400 Received: from namei.org ([65.99.196.166]:38582 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404730AbfFKVo1 (ORCPT ); Tue, 11 Jun 2019 17:44:27 -0400 Received: from localhost (localhost [127.0.0.1]) by namei.org (8.14.4/8.14.4) with ESMTP id x5BLiHHk015933; Tue, 11 Jun 2019 21:44:17 GMT Date: Wed, 12 Jun 2019 07:44:17 +1000 (AEST) From: James Morris To: YueHaibing cc: serge@hallyn.com, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org Subject: Re: [PATCH -next] security: Make capability_hooks static In-Reply-To: <20190611134815.16612-1-yuehaibing@huawei.com> Message-ID: References: <20190611134815.16612-1-yuehaibing@huawei.com> User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: owner-linux-security-module@vger.kernel.org Precedence: bulk List-ID: On Tue, 11 Jun 2019, YueHaibing wrote: > Fix sparse warning: > > security/commoncap.c:1347:27: warning: > symbol 'capability_hooks' was not declared. Should it be static? > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing > --- > security/commoncap.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Thanks! Applied to git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next-lsm -- James Morris