* [linux-next:master 4291/4552] arch/powerpc/platforms/pseries/plpks_sed_ops.c:42:6: error: no previous prototype for function 'plpks_init_var'
@ 2023-09-12 23:14 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-09-12 23:14 UTC (permalink / raw)
To: Greg Joyce
Cc: llvm, oe-kbuild-all, Linux Memory Management List, Jens Axboe,
Jonathan Derrick, Hannes Reinecke
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 3c13c772fc233a10342c8e1605ff0855dfdf0c89
commit: 9f2c7411ada98f9e062bcd493be7d6b694048505 [4291/4552] powerpc/pseries: PLPKS SED Opal keystore support
config: powerpc64-randconfig-r012-20230913 (https://download.01.org/0day-ci/archive/20230913/202309130714.uIQZSaf5-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230913/202309130714.uIQZSaf5-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/202309130714.uIQZSaf5-lkp@intel.com/
All errors (new ones prefixed by >>):
>> arch/powerpc/platforms/pseries/plpks_sed_ops.c:42:6: error: no previous prototype for function 'plpks_init_var' [-Werror,-Wmissing-prototypes]
void plpks_init_var(struct plpks_var *var, char *keyname)
^
arch/powerpc/platforms/pseries/plpks_sed_ops.c:42:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void plpks_init_var(struct plpks_var *var, char *keyname)
^
static
1 error generated.
vim +/plpks_init_var +42 arch/powerpc/platforms/pseries/plpks_sed_ops.c
41
> 42 void plpks_init_var(struct plpks_var *var, char *keyname)
43 {
44 var->name = keyname;
45 var->namelen = strlen(keyname);
46 if (strcmp(PLPKS_SED_KEY, keyname) == 0) {
47 var->name = PLPKS_SED_MANGLED_LABEL;
48 var->namelen = strlen(keyname);
49 }
50 var->policy = PLPKS_WORLDREADABLE;
51 var->os = PLPKS_VAR_COMMON;
52 var->data = NULL;
53 var->datalen = 0;
54 var->component = PLPKS_SED_COMPONENT;
55 }
56
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-12 23:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-12 23:14 [linux-next:master 4291/4552] arch/powerpc/platforms/pseries/plpks_sed_ops.c:42:6: error: no previous prototype for function 'plpks_init_var' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox