Linux-Security-Module Archive on
 help / color / Atom feed
From: kbuild test robot <>
To: zhong jiang <>
Subject: Re: [PATCH] smack: fix an compile error in smack_post_notification
Date: Mon, 23 Sep 2019 13:17:05 +0800
Message-ID: <> (raw)
In-Reply-To: <>

[-- Attachment #1: Type: text/plain, Size: 1722 bytes --]

Hi zhong,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[cannot apply to v5.3 next-20190920]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see]

config: x86_64-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-13) 7.4.0
        # save the attached .config to linux build tree
        make ARCH=x86_64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <>

All errors (new ones prefixed by >>):

   In file included from security/smack/smack_lsm.c:45:0:
>> security/smack/smack.h:24:10: fatal error: linux/watch_queue.h: No such file or directory
    #include <linux/watch_queue.h>
   compilation terminated.

vim +24 security/smack/smack.h

    12	#include <linux/capability.h>
    13	#include <linux/spinlock.h>
    14	#include <linux/lsm_hooks.h>
    15	#include <linux/in.h>
    17	#include <linux/in6.h>
    18	#endif /* CONFIG_IPV6 */
    19	#include <net/netlabel.h>
    20	#include <linux/list.h>
    21	#include <linux/rculist.h>
    22	#include <linux/lsm_audit.h>
    23	#include <linux/msg.h>
  > 24	#include <linux/watch_queue.h>

0-DAY kernel test infrastructure                Open Source Technology Center                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 70053 bytes --]

  reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-23  3:16 zhong jiang
2019-09-23  5:17 ` kbuild test robot [this message]
2019-09-23 21:49 ` Casey Schaufler

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-Security-Module Archive on

Archives are clonable:
	git clone --mirror linux-security-module/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-security-module linux-security-module/ \
	public-inbox-index linux-security-module

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone