linux-security-module.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: zohar@linux.vnet.ibm.com (Mimi Zohar)
To: linux-security-module@vger.kernel.org
Subject: [integrity:next-log-iversion 9/11] include/linux/ima.h:70:20: warning: 'ima_sb_post_new_mount' used but never defined
Date: Wed, 16 Aug 2017 14:38:10 -0400	[thread overview]
Message-ID: <1502908690.21278.5.camel@linux.vnet.ibm.com> (raw)
In-Reply-To: <201708170127.b1ajiWwb%fengguang.wu@intel.com>

On Thu, 2017-08-17 at 01:58 +0800, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity.git next-log-iversion
> head:   5873cd8f629e0306acdc40d3a9142eb50ae70c2d
> commit: 58015ce0b48226300bb6805a75c99cf538a524c6 [9/11] ima: define new ima_sb_post_new_mount hook
> config: x86_64-randconfig-x007-201733 (attached as .config)
> compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
> reproduce:
>         git checkout 58015ce0b48226300bb6805a75c99cf538a524c6
>         # save the attached .config to linux build tree
>         make ARCH=x86_64 
> 
> All warnings (new ones prefixed by >>):
> 
>    In file included from security/security.c:22:0:
>    include/linux/ima.h:72:1: error: expected identifier or '(' before '{' token
>     { }
>     ^
>    In file included from security/security.c:22:0:
> >> include/linux/ima.h:70:20: warning: 'ima_sb_post_new_mount' used but never defined
>     static inline void ima_sb_post_new_mount(const struct vfsmount *newmnt,
>                        ^~~~~~~~~~~~~~~~~~~~~
> 
> vim +/ima_sb_post_new_mount +70 include/linux/ima.h
> 
>     69	
>   > 70	static inline void ima_sb_post_new_mount(const struct vfsmount *newmnt,
>     71						 const struct path *path);

It looks like the mistaken trailing semicolon cause this and the rest
of the errors.

Mimi

>   > 72	{ }
>     73	#endif /* CONFIG_IMA */
>     74	
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2017-08-16 18:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-16 17:58 [integrity:next-log-iversion 9/11] include/linux/ima.h:70:20: warning: 'ima_sb_post_new_mount' used but never defined kbuild test robot
2017-08-16 18:38 ` Mimi Zohar [this message]

Reply instructions:

You may reply publicly 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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=1502908690.21278.5.camel@linux.vnet.ibm.com \
    --to=zohar@linux.vnet.ibm.com \
    --cc=linux-security-module@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).