linux-audit.redhat.com archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Michael Weiß" <michael.weiss@aisec.fraunhofer.de>
Cc: kbuild-all@lists.01.org, Mike Snitzer <snitzer@redhat.com>,
	linux-kernel@vger.kernel.org, Eric Paris <eparis@redhat.com>,
	linux-raid@vger.kernel.org, Song Liu <song@kernel.org>,
	dm-devel@redhat.com, linux-audit@redhat.com,
	Alasdair Kergon <agk@redhat.com>
Subject: Re: [PATCH 2/3] dm integrity: log audit events for dm-integrity target
Date: Fri, 13 Aug 2021 01:20:54 +0800	[thread overview]
Message-ID: <202108130142.Ou58PULb-lkp@intel.com> (raw)
In-Reply-To: <20210812145748.4460-3-michael.weiss@aisec.fraunhofer.de>

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

Hi "Michael,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on dm/for-next]
[also build test ERROR on song-md/md-next pcmoore-audit/next v5.14-rc5 next-20210812]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Michael-Wei/dm-audit-event-logging/20210812-230045
base:   https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git for-next
config: h8300-randconfig-r032-20210812 (attached as .config)
compiler: h8300-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/6fbfa051e144cc5cb000f7de14ee5b0e83d82b57
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Michael-Wei/dm-audit-event-logging/20210812-230045
        git checkout 6fbfa051e144cc5cb000f7de14ee5b0e83d82b57
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=h8300 SHELL=/bin/bash drivers/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All error/warnings (new ones prefixed by >>):

   In file included from drivers/md/dm-integrity.c:26:
>> drivers/md/dm-audit.h:24:1: error: expected identifier or '(' before '{' token
      24 | {
         | ^
   drivers/md/dm-audit.h:29:1: error: expected identifier or '(' before '{' token
      29 | {
         | ^
>> drivers/md/dm-audit.h:21:20: warning: 'dm_audit_log_bio' used but never defined
      21 | static inline void dm_audit_log_bio(const char *dm_msg_prefix, const char *op,
         |                    ^~~~~~~~~~~~~~~~
>> drivers/md/dm-audit.h:26:20: warning: 'dm_audit_log_target' used but never defined
      26 | static inline void dm_audit_log_target(const char *dm_msg_prefix,
         |                    ^~~~~~~~~~~~~~~~~~~


vim +24 drivers/md/dm-audit.h

a409dd36b7054b Michael Weiß 2021-08-12  14  
a409dd36b7054b Michael Weiß 2021-08-12  15  #ifdef CONFIG_DM_AUDIT
a409dd36b7054b Michael Weiß 2021-08-12  16  void dm_audit_log_bio(const char *dm_msg_prefix, const char *op,
a409dd36b7054b Michael Weiß 2021-08-12  17  		      struct bio *bio, sector_t sector, int result);
a409dd36b7054b Michael Weiß 2021-08-12  18  void dm_audit_log_target(const char *dm_msg_prefix, const char *op,
a409dd36b7054b Michael Weiß 2021-08-12  19  			 struct dm_target *ti, int result);
a409dd36b7054b Michael Weiß 2021-08-12  20  #else
a409dd36b7054b Michael Weiß 2021-08-12 @21  static inline void dm_audit_log_bio(const char *dm_msg_prefix, const char *op,
a409dd36b7054b Michael Weiß 2021-08-12  22  				    struct bio *bio, sector_t sector,
a409dd36b7054b Michael Weiß 2021-08-12  23  				    int result);
a409dd36b7054b Michael Weiß 2021-08-12 @24  {
a409dd36b7054b Michael Weiß 2021-08-12  25  }
a409dd36b7054b Michael Weiß 2021-08-12 @26  static inline void dm_audit_log_target(const char *dm_msg_prefix,
a409dd36b7054b Michael Weiß 2021-08-12  27  				       const char *op, struct dm_target *ti,
a409dd36b7054b Michael Weiß 2021-08-12  28  				       int result);
a409dd36b7054b Michael Weiß 2021-08-12  29  {
a409dd36b7054b Michael Weiß 2021-08-12  30  }
a409dd36b7054b Michael Weiß 2021-08-12  31  #endif
a409dd36b7054b Michael Weiß 2021-08-12  32  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

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

[-- Attachment #3: Type: text/plain, Size: 106 bytes --]

--
Linux-audit mailing list
Linux-audit@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-audit

  reply	other threads:[~2021-08-12 18:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-12 14:57 [PATCH 0/3] dm: audit event logging Michael Weiß
2021-08-12 14:57 ` [PATCH 1/3] dm: introduce audit event module for device mapper Michael Weiß
2021-08-12 17:08   ` Casey Schaufler
2021-08-13  6:59     ` Weiß, Michael
2021-08-12 14:57 ` [PATCH 2/3] dm integrity: log audit events for dm-integrity target Michael Weiß
2021-08-12 17:20   ` kernel test robot [this message]
2021-08-12 14:57 ` [PATCH 3/3] dm crypt: log aead integrity violations to audit subsystem Michael Weiß

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=202108130142.Ou58PULb-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=agk@redhat.com \
    --cc=dm-devel@redhat.com \
    --cc=eparis@redhat.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-audit@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=michael.weiss@aisec.fraunhofer.de \
    --cc=snitzer@redhat.com \
    --cc=song@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).