All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Roberto Sassu <roberto.sassu@huawei.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [robertosassu:measure-error-v1-devel-v2 6/6] include/linux/ima.h:56:1: warning: no return statement in function returning non-void
Date: Wed, 5 Nov 2025 21:33:45 +0800	[thread overview]
Message-ID: <202511052159.kUB2SfaZ-lkp@intel.com> (raw)

tree:   https://github.com/robertosassu/linux measure-error-v1-devel-v2
head:   9a18812bbd152e161681fe65e9414e05c5aa3480
commit: 9a18812bbd152e161681fe65e9414e05c5aa3480 [6/6] ima: Deny file op if a measurement error cannot be recorded in the TPM
config: i386-allnoconfig (https://download.01.org/0day-ci/archive/20251105/202511052159.kUB2SfaZ-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251105/202511052159.kUB2SfaZ-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202511052159.kUB2SfaZ-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from arch/x86/kernel/setup.c:15:
   include/linux/ima.h: In function 'ima_kexec_cmdline':
>> include/linux/ima.h:56:1: warning: no return statement in function returning non-void [-Wreturn-type]
      56 | static inline int ima_kexec_cmdline(int kernel_fd, const void *buf, int size) {}
         | ^~~~~~


vim +56 include/linux/ima.h

    55	
  > 56	static inline int ima_kexec_cmdline(int kernel_fd, const void *buf, int size) {}
    57	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2025-11-05 13:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202511052159.kUB2SfaZ-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=roberto.sassu@huawei.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.