Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751216AbdHWXyK (ORCPT ); Wed, 23 Aug 2017 19:54:10 -0400 Received: from ozlabs.org ([103.22.144.67]:55727 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751135AbdHWXyJ (ORCPT ); Wed, 23 Aug 2017 19:54:09 -0400 Date: Thu, 24 Aug 2017 09:54:07 +1000 From: Stephen Rothwell To: John Johansen Cc: James Morris , Linux-Next Mailing List , Linux Kernel Mailing List Subject: Re: [PATCH] apparmor: fix build failure on sparc caused by undeclared, signals Message-ID: <20170824095407.0825d469@canb.auug.org.au> In-Reply-To: <40445189-181f-fc19-3c44-8fa2ab23d2f9@canonical.com> References: <20170823211213.0b014b1e@canb.auug.org.au> <40445189-181f-fc19-3c44-8fa2ab23d2f9@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1140 Lines: 26 Hi John, On Wed, 23 Aug 2017 12:21:43 -0700 John Johansen wrote: > > In file included from security/apparmor/ipc.c:23:0: > security/apparmor/include/sig_names.h:26:3: error: 'SIGSTKFLT' undeclared here (not in a function) > [SIGSTKFLT] = 16, /* -, 16, - */ > ^ > security/apparmor/include/sig_names.h:26:3: error: array index in initializer not of integer type > security/apparmor/include/sig_names.h:26:3: note: (near initialization for 'sig_map') > security/apparmor/include/sig_names.h:51:3: error: 'SIGUNUSED' undeclared here (not in a function) > [SIGUNUSED] = 34, /* -, 31, - */ > ^ > security/apparmor/include/sig_names.h:51:3: error: array index in initializer not of integer type > security/apparmor/include/sig_names.h:51:3: note: (near initialization for 'sig_map') > > Reported-by: Stephen Rothwell > Fixes: c6bf1adaecaa ("apparmor: add the ability to mediate signals") > Signed-off-by: John Johansen I will apply this to linux-next today and will drop it when James picks it up. -- Cheers, Stephen Rothwell