* [bp:rc1-snp 4/5] arch/x86/coco/core.c:22:3: sparse: sparse: symbol 'cc_flags' was not declared. Should it be static?
@ 2024-03-26 5:50 kernel test robot
2024-03-26 10:53 ` Borislav Petkov
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2024-03-26 5:50 UTC (permalink / raw)
To: Borislav Petkov (AMD); +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git rc1-snp
head: e4ebc402b2c134524c0f8564a385e6f6613ad34e
commit: 8ea03a1dd663ccedd7e684e01061452f29826514 [4/5] x86/cc: Add cc_platform_set/_clear() helpers
config: x86_64-randconfig-123-20240326 (https://download.01.org/0day-ci/archive/20240326/202403261310.vQmXYKzL-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240326/202403261310.vQmXYKzL-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/202403261310.vQmXYKzL-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> arch/x86/coco/core.c:22:3: sparse: sparse: symbol 'cc_flags' was not declared. Should it be static?
vim +/cc_flags +22 arch/x86/coco/core.c
18
19 struct cc_attr_flags {
20 __u64 host_sev_snp : 1,
21 __resv : 63;
> 22 } cc_flags;
23
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [bp:rc1-snp 4/5] arch/x86/coco/core.c:22:3: sparse: sparse: symbol 'cc_flags' was not declared. Should it be static?
2024-03-26 5:50 [bp:rc1-snp 4/5] arch/x86/coco/core.c:22:3: sparse: sparse: symbol 'cc_flags' was not declared. Should it be static? kernel test robot
@ 2024-03-26 10:53 ` Borislav Petkov
0 siblings, 0 replies; 2+ messages in thread
From: Borislav Petkov @ 2024-03-26 10:53 UTC (permalink / raw)
To: kernel test robot; +Cc: oe-kbuild-all
On Tue, Mar 26, 2024 at 01:50:02PM +0800, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git rc1-snp
> head: e4ebc402b2c134524c0f8564a385e6f6613ad34e
> commit: 8ea03a1dd663ccedd7e684e01061452f29826514 [4/5] x86/cc: Add cc_platform_set/_clear() helpers
> config: x86_64-randconfig-123-20240326 (https://download.01.org/0day-ci/archive/20240326/202403261310.vQmXYKzL-lkp@intel.com/config)
> compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240326/202403261310.vQmXYKzL-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/202403261310.vQmXYKzL-lkp@intel.com/
>
> sparse warnings: (new ones prefixed by >>)
> >> arch/x86/coco/core.c:22:3: sparse: sparse: symbol 'cc_flags' was not declared. Should it be static?
>
> vim +/cc_flags +22 arch/x86/coco/core.c
>
> 18
> 19 struct cc_attr_flags {
> 20 __u64 host_sev_snp : 1,
> 21 __resv : 63;
> > 22 } cc_flags;
> 23
>
> --
Fixed.
Thanks!
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-03-26 10:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-26 5:50 [bp:rc1-snp 4/5] arch/x86/coco/core.c:22:3: sparse: sparse: symbol 'cc_flags' was not declared. Should it be static? kernel test robot
2024-03-26 10:53 ` Borislav Petkov
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.