[gerg-m68knommu:cf 1/11] lib/muldi3.c:53:28: sparse: sparse: asm output is not an lvalue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu.git cf
head:   472b9fae6baae3d777a1d49fa38893ad0e5f0d67
commit: 050dde147e3a6afee3df72e7252c9b59856cc2b9 [1/11] m68k: use kernel's generic muldi3 libgcc function
:::::: branch date: 2 days ago
:::::: commit date: 2 days ago
config: m68k-randconfig-r113-20241009 (https://download.01.org/0day-ci/archive/20241009/202410091720.grDsayDh-lkp@xxxxxxxxx/config)
compiler: m68k-linux-gcc (GCC) 14.1.0
reproduce: (https://download.01.org/0day-ci/archive/20241009/202410091720.grDsayDh-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/r/202410091720.grDsayDh-lkp@xxxxxxxxx/

sparse warnings: (new ones prefixed by >>)
lib/muldi3.c:53:28: sparse: sparse: asm output is not an lvalue
lib/muldi3.c:53:28: sparse: sparse: asm output is not an lvalue
lib/muldi3.c:53:28: sparse: sparse: not addressable
lib/muldi3.c:53:28: sparse: sparse: generating address of non-lvalue (11)
lib/muldi3.c:53:28: sparse: sparse: generating address of non-lvalue (11)

vim +53 lib/muldi3.c

b35cd9884fa5d8 Palmer Dabbelt 2017-05-23  48  
b35cd9884fa5d8 Palmer Dabbelt 2017-05-23  49  long long notrace __muldi3(long long u, long long v)
b35cd9884fa5d8 Palmer Dabbelt 2017-05-23  50  {
b35cd9884fa5d8 Palmer Dabbelt 2017-05-23  51  	const DWunion uu = {.ll = u};
b35cd9884fa5d8 Palmer Dabbelt 2017-05-23  52  	const DWunion vv = {.ll = v};
b35cd9884fa5d8 Palmer Dabbelt 2017-05-23 @53  	DWunion w = {.ll = __umulsidi3(uu.s.low, vv.s.low)};

:::::: The code at line 53 was first introduced by commit
:::::: b35cd9884fa5d81c9d5e7f57c9d03264ae2bd835 lib: Add shared copies of some GCC library routines

:::::: TO: Palmer Dabbelt <palmer@xxxxxxxxxxx>
:::::: CC: Palmer Dabbelt <palmer@xxxxxxxxxxx>

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





[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux