All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Jarkko Sakkinen <jarkko@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH] tpm, tpm_vtpm_proxy: boot-time TPM
Date: Thu, 17 Jul 2025 15:40:06 +0800	[thread overview]
Message-ID: <202507171525.4Yz1y9Uv-lkp@intel.com> (raw)
In-Reply-To: <20250716121823.173949-1-jarkko@kernel.org>

Hi Jarkko,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:

[auto build test ERROR on char-misc/char-misc-testing]
[also build test ERROR on char-misc/char-misc-next char-misc/char-misc-linus linus/master v6.16-rc6 next-20250716]
[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#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Jarkko-Sakkinen/tpm-tpm_vtpm_proxy-boot-time-TPM/20250716-201945
base:   char-misc/char-misc-testing
patch link:    https://lore.kernel.org/r/20250716121823.173949-1-jarkko%40kernel.org
patch subject: [RFC PATCH] tpm, tpm_vtpm_proxy: boot-time TPM
config: s390-randconfig-001-20250717 (https://download.01.org/0day-ci/archive/20250717/202507171525.4Yz1y9Uv-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250717/202507171525.4Yz1y9Uv-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/202507171525.4Yz1y9Uv-lkp@intel.com/

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

   drivers/char/tpm/tpm_vtpm_proxy.c: In function 'vtpmx_supplicant_init':
>> drivers/char/tpm/tpm_vtpm_proxy.c:699:39: error: initializer element is not constant
     static const char * const argv[] = { supplicant, NULL };
                                          ^~~~~~~~~~
   drivers/char/tpm/tpm_vtpm_proxy.c:699:39: note: (near initialization for 'argv[0]')
   drivers/char/tpm/tpm_vtpm_proxy.c: In function 'vtpmx_init':
>> drivers/char/tpm/tpm_vtpm_proxy.c:727:24: error: 'vtpmx_miscdev' undeclared (first use in this function); did you mean 'vtpmx_init'?
     return misc_register(&vtpmx_miscdev);
                           ^~~~~~~~~~~~~
                           vtpmx_init
   drivers/char/tpm/tpm_vtpm_proxy.c:727:24: note: each undeclared identifier is reported only once for each function it appears in
   At top level:
>> drivers/char/tpm/tpm_vtpm_proxy.c:719:12: warning: 'vtpmx_init' defined but not used [-Wunused-function]
    static int vtpmx_init(void)
               ^~~~~~~~~~


vim +699 drivers/char/tpm/tpm_vtpm_proxy.c

   696	
   697	static int vtpmx_supplicant_init(void)
   698	{
 > 699		static const char * const argv[] = { supplicant, NULL };
   700		struct subprocess_info *info;
   701		int ret;
   702	
   703		if (!supplicant)
   704			return 0;
   705	
   706		info = call_usermodehelper_setup(argv[0], (char **)argv, NULL,
   707						 GFP_KERNEL, vtpmx_supplicant_setup,
   708						 vtpmx_supplicant_cleanup, NULL);
   709		if (!info)
   710			return -ENOMEM;
   711	
   712		ret = call_usermodehelper_exec(info, UMH_KILLABLE | UMH_NO_WAIT);
   713		if (ret)
   714			return ret;
   715	
   716		return 0;
   717	}
   718	
 > 719	static int vtpmx_init(void)
   720	{
   721		int ret;
   722	
   723		ret = vtpmx_supplicant_init();
   724		if (ret)
   725			return ret;
   726	
 > 727		return misc_register(&vtpmx_miscdev);
   728	}
   729	

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

      parent reply	other threads:[~2025-07-17  7:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-16 12:18 [RFC PATCH] tpm, tpm_vtpm_proxy: boot-time TPM Jarkko Sakkinen
2025-07-16 12:23 ` Paul Menzel
2025-07-19 14:16   ` Jarkko Sakkinen
2025-07-16 18:44 ` Randy Dunlap
2025-07-19 14:17   ` Jarkko Sakkinen
2025-07-17  7:40 ` kernel test robot [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=202507171525.4Yz1y9Uv-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=jarkko@kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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.