Re: [PATCH] security/smack/smack_lsm.c: Fix build error when CONFIG_SECURITY_SMACK_BRINGUP is not defined

From: Murilo Opsfelder AraÃjo
Date: Wed Aug 19 2015 - 09:36:34 EST


On Fri, Aug 14, 2015 at 1:06 AM, Casey Schaufler <casey@xxxxxxxxxxxxxxxx> 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 <mopsfelder@xxxxxxxxx>
>
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/