Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751892AbaJOXZx (ORCPT ); Wed, 15 Oct 2014 19:25:53 -0400 Received: from mail-qg0-f52.google.com ([209.85.192.52]:36450 "EHLO mail-qg0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751843AbaJOXZv (ORCPT ); Wed, 15 Oct 2014 19:25:51 -0400 MIME-Version: 1.0 In-Reply-To: <20141015170547.4063.99053.stgit@bhelgaas-glaptop2.roam.corp.google.com> References: <20141015165957.4063.66741.stgit@bhelgaas-glaptop2.roam.corp.google.com> <20141015170547.4063.99053.stgit@bhelgaas-glaptop2.roam.corp.google.com> From: Bjorn Helgaas Date: Wed, 15 Oct 2014 17:25:30 -0600 Message-ID: Subject: Re: [PATCH v1 01/10] audit: Remove "weak" from audit_classify_compat_syscall() declaration To: Jason Wessel , Ralf Baechle , Ingo Molnar , John Stultz , Eric Paris , "H. Peter Anvin" , Thomas Gleixner , Andrew Morton Cc: "linux-kernel@vger.kernel.org" , AKASHI Takahiro , Richard Guy Briggs Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [+cc AKASHI, Richard; sorry, I botched my "stg mail" so you weren't included the first time] On Wed, Oct 15, 2014 at 11:05 AM, Bjorn Helgaas wrote: > There's only one audit_classify_compat_syscall() definition, so it doesn't > need to be weak. > > Remove the "weak" attribute from the audit_classify_compat_syscall() > declaration. > > Signed-off-by: Bjorn Helgaas > CC: AKASHI Takahiro > CC: Richard Guy Briggs > --- > include/linux/audit.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/linux/audit.h b/include/linux/audit.h > index 22cfddb75566..1b6098beb46b 100644 > --- a/include/linux/audit.h > +++ b/include/linux/audit.h > @@ -86,7 +86,7 @@ extern unsigned compat_dir_class[]; > extern unsigned compat_chattr_class[]; > extern unsigned compat_signal_class[]; > > -extern int __weak audit_classify_compat_syscall(int abi, unsigned syscall); > +extern int audit_classify_compat_syscall(int abi, unsigned syscall); > > /* audit_names->type values */ > #define AUDIT_TYPE_UNKNOWN 0 /* we don't know yet */ > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/