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

From: Randy Dunlap
Date: Wed Jan 29 2020 - 17:18:24 EST


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:
>

../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>


--
~Randy
Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>