Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5154720ybi; Tue, 11 Jun 2019 20:32:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqx4e/5t80DCp4g6mVCcR1Kb/+PU12EkSoVXB6qC7BktJjTuwR1AOABDAEzBPwFDXaTH3dBW X-Received: by 2002:a17:90a:a10c:: with SMTP id s12mr30254130pjp.49.1560310353609; Tue, 11 Jun 2019 20:32:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560310353; cv=none; d=google.com; s=arc-20160816; b=UmFcinLtCAiDtQCeV8qg5DDWSHoteMR3tY2cZurVtPoqfChoC3lqMQl+7BD+ZssaRX uagUpvGydM/N1GW3q8kT+pCHA4kTk6MqLH4fhrBMXJwffD5ZfKAU4wCcsTDYm8ScwL0u 6SE/l0wA+wAz38lijRuiO4i5JQ2hG7EMtTsQULXnngSSCO4uJhfeFq2SpaCpZyUMdjtK 6tbs5SjCNbOnDCsDRI8+U00AdYnREqvKzAhida06DiY5YG6adQPEACFZ7rSRzDtXotWN k7xXfJyA4HIocfqDBVv2/kmWremkVHoGwNJg8pfYGiDuV4tKEjuFUxuOlT0M3XnaYpvB GZ+g== 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:references :message-id:in-reply-to:subject:cc:to:from:date; bh=8zO8AKKLQY3weqGxIFu5m25UpD37T6ZtYInCc1Wu61E=; b=glwonfOH5pbHxvazgZQrGMVREL/jJ3SJ4pQ5o0aBzogZ7nnDFgwQJ/T6JUIAQpsFa6 wGlY64KkQPM6i1w+fPa4rgBYwjMlLBz+1xJYrZE/BiPMGr67pCxFaKNQotV4puT/KXwQ GK+Vyqoks6BJz+U7HSbEB7Kvv49hwOj02DmZHal8teebTgjCmi76gK7heklKPHMoVc80 LqAwOYbb+NWn4MTrS2c+dtcPzEMd7SbFdZ2fZP9HO76yU8ASyUKOFzKeipc4cACG8TKA XSH7HVQV2+h6c7+P8FOF8VeDEW58OJj4ZZyQE4ArlL6BXQLm3hYrs6DEBDcSNAgc/KOV I35w== ARC-Authentication-Results: i=1; mx.google.com; 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 s1si14323160pgj.147.2019.06.11.20.32.17; Tue, 11 Jun 2019 20:32:33 -0700 (PDT) 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; 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 S2407690AbfFKVo1 (ORCPT + 99 others); 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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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