Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753796AbbHSNgc (ORCPT ); Wed, 19 Aug 2015 09:36:32 -0400 Received: from mail-ig0-f179.google.com ([209.85.213.179]:37026 "EHLO mail-ig0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752232AbbHSNga convert rfc822-to-8bit (ORCPT ); Wed, 19 Aug 2015 09:36:30 -0400 MIME-Version: 1.0 In-Reply-To: <55CD692E.9030709@schaufler-ca.com> References: <1439513567-5347-1-git-send-email-mopsfelder@gmail.com> <55CD692E.9030709@schaufler-ca.com> From: =?UTF-8?Q?Murilo_Opsfelder_Ara=C3=BAjo?= Date: Wed, 19 Aug 2015 10:35:50 -0300 Message-ID: Subject: Re: [PATCH] security/smack/smack_lsm.c: Fix build error when CONFIG_SECURITY_SMACK_BRINGUP is not defined To: Casey Schaufler Cc: linux-security-module@vger.kernel.org, Linux Kernel Mailing List , t.vivek@samsung.com, a.sahrawat@samsung.com, james.l.morris@oracle.com, serge@hallyn.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1263 Lines: 29 On Fri, Aug 14, 2015 at 1:06 AM, Casey Schaufler wrote: > On 8/13/2015 5:52 PM, Murilo Opsfelder Araujo wrote: >> This change fixes the following build error when >> CONFIG_SECURITY_SMACK_BRINGUP is not defined: >> >> security/smack/smack_lsm.c: In function ‘smack_parse_opts_str’: >> security/smack/smack_lsm.c:618:26: error: ‘tokens’ undeclared (first use in this function) >> token = match_token(p, tokens, args); >> ^ >> security/smack/smack_lsm.c:618:26: note: each undeclared identifier is reported only once for each function it appears in >> >> The above has been introduced by commit >> 3bf2789cad9e6573dc19a6c3d123c2c049f2d90f "smack: allow mount opts setting over filesystems with binary mount data". >> >> Signed-off-by: Murilo Opsfelder Araujo > > I have already made a pull request for an almost identical patch > to James' next tree. > Thanks for the reply, Casey. The fix has already landed -next tree. -- Murilo -- 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/