All of lore.kernel.org
 help / color / mirror / Atom feed
* [intel-tdx:guest 97/136] arch/x86/include/asm/paravirt.h:120:38: sparse: sparse: cast truncates bits from constant value (c000000000000000 becomes 0)
@ 2023-09-02  1:13 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-09-02  1:13 UTC (permalink / raw)
  To: Andi Kleen; +Cc: oe-kbuild-all, Kuppuswamy Sathyanarayanan

tree:   https://github.com/intel/tdx.git guest
head:   f3d7a7e86bf2f0d5ce629f2fb7be11dca88ac06d
commit: c34bfda30e18342b8ae7856fd59b76e9ca938460 [97/136] x86/tdx/paravirt: Move wrmsrl outside PARAVIRT_XXL
config: i386-randconfig-061-20230902 (https://download.01.org/0day-ci/archive/20230902/202309020935.Rbazprcl-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230902/202309020935.Rbazprcl-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/202309020935.Rbazprcl-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   drivers/hv/vmbus_drv.c: note: in included file (through arch/x86/include/asm/msr.h, arch/x86/include/asm/processor.h, arch/x86/include/asm/timex.h, ...):
>> arch/x86/include/asm/paravirt.h:120:38: sparse: sparse: cast truncates bits from constant value (c000000000000000 becomes 0)

vim +120 arch/x86/include/asm/paravirt.h

   117	
   118	static inline void wrmsrl(unsigned msr, u64 val)
   119	{
 > 120		paravirt_write_msr(msr, (u32)val, (u32)(val>>32));
   121	}
   122	

-- 
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-02  1:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-02  1:13 [intel-tdx:guest 97/136] arch/x86/include/asm/paravirt.h:120:38: sparse: sparse: cast truncates bits from constant value (c000000000000000 becomes 0) kernel test robot

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.