Re: linux-next: Tree for Jan 29 (security/smack/)

From: Casey Schaufler
Date: Wed Jan 29 2020 - 17:54:16 EST


On 1/29/2020 2:18 PM, Randy Dunlap wrote:
> On 1/28/20 8:54 PM, Stephen Rothwell wrote:
>> Hi all,
>>
>> Please do not add any v5.7 material to your linux-next included
>> branches until after v5.6-rc1 has been released.
>>
>> Changes since 20200128:
>>
This keeps coming up. It's in David Howells' watch queue changes.
David, could you please fix this?

> ../security/smack/smack_lsm.c: In function �smack_post_notification�:
> ../security/smack/smack_lsm.c:4383:7: error: dereferencing pointer to incomplete type �struct watch_notification�
> if (n->type == WATCH_TYPE_META)
> ^~
> CC kernel/time/hrtimer.o
> ../security/smack/smack_lsm.c:4383:17: error: �WATCH_TYPE_META� undeclared (first use in this function); did you mean �TCA_PIE_BETA�?
> if (n->type == WATCH_TYPE_META)
> ^~~~~~~~~~~~~~~
> TCA_PIE_BETA
>
>
> Probably just missing
> #include <linux/watch_queue.h>
>
>