* arch/x86/kernel/cpu/amd.c:1289:6: warning: no previous prototype for function 'amd_check_microcode'
@ 2023-08-29 4:07 kernel test robot
2023-08-29 4:47 ` Borislav Petkov
0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2023-08-29 4:07 UTC (permalink / raw)
To: Borislav Petkov (AMD); +Cc: llvm, oe-kbuild-all, linux-kernel
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 1c59d383390f970b891b503b7f79b63a02db2ec5
commit: 522b1d69219d8f083173819fde04f994aa051a98 x86/cpu/amd: Add a Zenbleed fix
date: 6 weeks ago
config: i386-allnoconfig (https://download.01.org/0day-ci/archive/20230829/202308291220.DOn00Y1A-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230829/202308291220.DOn00Y1A-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/202308291220.DOn00Y1A-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> fs/open.c:1167: warning: Function parameter or member 'real_path' not described in 'backing_file_open'
fs/open.c:1561: warning: expecting prototype for close_range(). Prototype was for sys_close_range() instead
--
>> fs/namespace.c:3046: warning: Function parameter or member 'mp' not described in 'can_move_mount_beneath'
--
>> arch/x86/kernel/cpu/amd.c:1289:6: warning: no previous prototype for function 'amd_check_microcode' [-Wmissing-prototypes]
void amd_check_microcode(void)
^
arch/x86/kernel/cpu/amd.c:1289:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void amd_check_microcode(void)
^
static
1 warning generated.
--
>> arch/x86/kernel/cpu/mtrr/generic.c:434: warning: Function parameter or member 'var' not described in 'mtrr_overwrite_state'
>> arch/x86/kernel/cpu/mtrr/generic.c:434: warning: Function parameter or member 'num_var' not described in 'mtrr_overwrite_state'
>> arch/x86/kernel/cpu/mtrr/generic.c:434: warning: Function parameter or member 'def_type' not described in 'mtrr_overwrite_state'
arch/x86/kernel/cpu/mtrr/generic.c:504: warning: Function parameter or member 'start' not described in 'mtrr_type_lookup'
arch/x86/kernel/cpu/mtrr/generic.c:504: warning: Function parameter or member 'end' not described in 'mtrr_type_lookup'
arch/x86/kernel/cpu/mtrr/generic.c:504: warning: Function parameter or member 'uniform' not described in 'mtrr_type_lookup'
--
>> fs/exportfs/expfs.c:395: warning: Function parameter or member 'parent' not described in 'exportfs_encode_inode_fh'
vim +/amd_check_microcode +1289 arch/x86/kernel/cpu/amd.c
1288
> 1289 void amd_check_microcode(void)
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: arch/x86/kernel/cpu/amd.c:1289:6: warning: no previous prototype for function 'amd_check_microcode'
2023-08-29 4:07 arch/x86/kernel/cpu/amd.c:1289:6: warning: no previous prototype for function 'amd_check_microcode' kernel test robot
@ 2023-08-29 4:47 ` Borislav Petkov
2023-08-29 5:31 ` Philip Li
0 siblings, 1 reply; 3+ messages in thread
From: Borislav Petkov @ 2023-08-29 4:47 UTC (permalink / raw)
To: kernel test robot; +Cc: llvm, oe-kbuild-all, linux-kernel
On Tue, Aug 29, 2023 at 12:07:59PM +0800, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 1c59d383390f970b891b503b7f79b63a02db2ec5
It doesn't trigger here:
$ git describe
v6.5-1207-g1c59d383390f
$ make ARCH=i386 CC=clang-16 HOSTCC=clang-16 allnoconfig
$ make W=1 ARCH=i386 CC=clang-16 HOSTCC=clang-16 arch/x86/kernel/cpu/
...
CC arch/x86/kernel/cpu/intel_pconfig.o
CC arch/x86/kernel/cpu/tsx.o
CC arch/x86/kernel/cpu/amd.o
CC arch/x86/kernel/cpu/hygon.o
CC arch/x86/kernel/cpu/centaur.o
...
> commit: 522b1d69219d8f083173819fde04f994aa051a98 x86/cpu/amd: Add a Zenbleed fix
> date: 6 weeks ago
Likely an old report.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: arch/x86/kernel/cpu/amd.c:1289:6: warning: no previous prototype for function 'amd_check_microcode'
2023-08-29 4:47 ` Borislav Petkov
@ 2023-08-29 5:31 ` Philip Li
0 siblings, 0 replies; 3+ messages in thread
From: Philip Li @ 2023-08-29 5:31 UTC (permalink / raw)
To: Borislav Petkov; +Cc: kernel test robot, llvm, oe-kbuild-all, linux-kernel
On Tue, Aug 29, 2023 at 06:47:45AM +0200, Borislav Petkov wrote:
> On Tue, Aug 29, 2023 at 12:07:59PM +0800, kernel test robot wrote:
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head: 1c59d383390f970b891b503b7f79b63a02db2ec5
>
> It doesn't trigger here:
Sorry Boris for this invalid report to cost your time. We will fix the code
issue asap to understand why this one is sent out when head is good.
>
> $ git describe
> v6.5-1207-g1c59d383390f
>
> $ make ARCH=i386 CC=clang-16 HOSTCC=clang-16 allnoconfig
>
> $ make W=1 ARCH=i386 CC=clang-16 HOSTCC=clang-16 arch/x86/kernel/cpu/
>
> ...
> CC arch/x86/kernel/cpu/intel_pconfig.o
> CC arch/x86/kernel/cpu/tsx.o
> CC arch/x86/kernel/cpu/amd.o
> CC arch/x86/kernel/cpu/hygon.o
> CC arch/x86/kernel/cpu/centaur.o
> ...
>
> > commit: 522b1d69219d8f083173819fde04f994aa051a98 x86/cpu/amd: Add a Zenbleed fix
> > date: 6 weeks ago
>
> Likely an old report.
>
> --
> Regards/Gruss,
> Boris.
>
> https://people.kernel.org/tglx/notes-about-netiquette
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-08-29 5:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-29 4:07 arch/x86/kernel/cpu/amd.c:1289:6: warning: no previous prototype for function 'amd_check_microcode' kernel test robot
2023-08-29 4:47 ` Borislav Petkov
2023-08-29 5:31 ` Philip Li
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).