linux-efi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [efi:next 2/4] arch/ia64/kernel/efi.c:61:10: sparse: sparse: cast truncates bits from constant value (43ea58dc becomes dc)
@ 2021-03-13  9:07 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-03-13  9:07 UTC (permalink / raw)
  To: Ard Biesheuvel; +Cc: kbuild-all, linux-efi

[-- Attachment #1: Type: text/plain, Size: 11421 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git next
head:   e233b65935c946ba420ba1b5a42f9b5625861da8
commit: 17bdef976555d001276f0dc188201399e03b0e90 [2/4] efi: use 32-bit alignment for efi_guid_t literals
config: ia64-randconfig-s032-20210312 (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.3-262-g5e674421-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git/commit/?id=17bdef976555d001276f0dc188201399e03b0e90
        git remote add efi https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git
        git fetch --no-tags efi next
        git checkout 17bdef976555d001276f0dc188201399e03b0e90
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=ia64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


"sparse warnings: (new ones prefixed by >>)"
   arch/ia64/kernel/efi.c:623:50: sparse: sparse: cast removes address space '__iomem' of expression
   arch/ia64/kernel/efi.c:635:50: sparse: sparse: cast removes address space '__iomem' of expression
   arch/ia64/kernel/efi.c:648:50: sparse: sparse: cast removes address space '__iomem' of expression
   arch/ia64/kernel/efi.c:969:21: sparse: sparse: symbol 'find_memmap_space' was not declared. Should it be static?
>> arch/ia64/kernel/efi.c:61:10: sparse: sparse: cast truncates bits from constant value (43ea58dc becomes dc)
>> arch/ia64/kernel/efi.c:61:10: sparse: sparse: cast truncates bits from constant value (43ea58 becomes 58)
>> arch/ia64/kernel/efi.c:61:10: sparse: sparse: cast truncates bits from constant value (43ea becomes ea)
>> arch/ia64/kernel/efi.c:61:10: sparse: sparse: cast truncates bits from constant value (cf28 becomes 28)
>> arch/ia64/kernel/efi.c:61:10: sparse: sparse: cast truncates bits from constant value (4b06 becomes 6)
>> arch/ia64/kernel/efi.c:62:10: sparse: sparse: cast truncates bits from constant value (f951938d becomes 8d)
>> arch/ia64/kernel/efi.c:62:10: sparse: sparse: cast truncates bits from constant value (f95193 becomes 93)
>> arch/ia64/kernel/efi.c:62:10: sparse: sparse: cast truncates bits from constant value (f951 becomes 51)
>> arch/ia64/kernel/efi.c:62:10: sparse: sparse: cast truncates bits from constant value (620b becomes b)
>> arch/ia64/kernel/efi.c:62:10: sparse: sparse: cast truncates bits from constant value (42ef becomes ef)
>> arch/ia64/kernel/efi.c:63:10: sparse: sparse: cast truncates bits from constant value (eb9d2d2f becomes 2f)
>> arch/ia64/kernel/efi.c:63:10: sparse: sparse: cast truncates bits from constant value (eb9d2d becomes 2d)
>> arch/ia64/kernel/efi.c:63:10: sparse: sparse: cast truncates bits from constant value (eb9d becomes 9d)
>> arch/ia64/kernel/efi.c:63:10: sparse: sparse: cast truncates bits from constant value (2d88 becomes 88)
>> arch/ia64/kernel/efi.c:63:10: sparse: sparse: cast truncates bits from constant value (11d3 becomes d3)
>> arch/ia64/kernel/efi.c:64:10: sparse: sparse: cast truncates bits from constant value (6cb0a200 becomes 0)
>> arch/ia64/kernel/efi.c:64:10: sparse: sparse: cast truncates bits from constant value (6cb0a2 becomes a2)
>> arch/ia64/kernel/efi.c:64:10: sparse: sparse: cast truncates bits from constant value (6cb0 becomes b0)
>> arch/ia64/kernel/efi.c:64:10: sparse: sparse: cast truncates bits from constant value (893a becomes 3a)
>> arch/ia64/kernel/efi.c:64:10: sparse: sparse: cast truncates bits from constant value (11da becomes da)
>> arch/ia64/kernel/efi.c:65:10: sparse: sparse: cast truncates bits from constant value (eb9d2d32 becomes 32)
   arch/ia64/kernel/efi.c:65:10: sparse: sparse: cast truncates bits from constant value (eb9d2d becomes 2d)
   arch/ia64/kernel/efi.c:65:10: sparse: sparse: cast truncates bits from constant value (eb9d becomes 9d)
   arch/ia64/kernel/efi.c:65:10: sparse: sparse: cast truncates bits from constant value (2d88 becomes 88)
   arch/ia64/kernel/efi.c:65:10: sparse: sparse: cast truncates bits from constant value (11d3 becomes d3)
>> arch/ia64/kernel/efi.c:924:27: sparse: sparse: cast truncates bits from constant value (8be4df61 becomes 61)
>> arch/ia64/kernel/efi.c:924:27: sparse: sparse: cast truncates bits from constant value (8be4df becomes df)
>> arch/ia64/kernel/efi.c:924:27: sparse: sparse: cast truncates bits from constant value (8be4 becomes e4)
>> arch/ia64/kernel/efi.c:924:27: sparse: sparse: cast truncates bits from constant value (93ca becomes ca)
>> arch/ia64/kernel/efi.c:924:27: sparse: sparse: cast truncates bits from constant value (11d2 becomes d2)
--
   arch/ia64/kernel/mca_drv.c:768:12: sparse: sparse: symbol 'mca_external_handler_init' was not declared. Should it be static?
   arch/ia64/kernel/mca_drv.c:782:13: sparse: sparse: symbol 'mca_external_handler_exit' was not declared. Should it be static?
>> arch/ia64/kernel/mca_drv.c:261:44: sparse: sparse: cast truncates bits from constant value (e429faf1 becomes f1)
>> arch/ia64/kernel/mca_drv.c:261:44: sparse: sparse: cast truncates bits from constant value (e429fa becomes fa)
>> arch/ia64/kernel/mca_drv.c:261:44: sparse: sparse: cast truncates bits from constant value (e429 becomes 29)
>> arch/ia64/kernel/mca_drv.c:261:44: sparse: sparse: cast truncates bits from constant value (3cb7 becomes b7)
>> arch/ia64/kernel/mca_drv.c:261:44: sparse: sparse: cast truncates bits from constant value (11d4 becomes d4)
>> arch/ia64/kernel/mca_drv.c:264:33: sparse: sparse: cast truncates bits from constant value (e429faf2 becomes f2)
   arch/ia64/kernel/mca_drv.c:264:33: sparse: sparse: cast truncates bits from constant value (e429fa becomes fa)
   arch/ia64/kernel/mca_drv.c:264:33: sparse: sparse: cast truncates bits from constant value (e429 becomes 29)
   arch/ia64/kernel/mca_drv.c:264:33: sparse: sparse: cast truncates bits from constant value (3cb7 becomes b7)
   arch/ia64/kernel/mca_drv.c:264:33: sparse: sparse: cast truncates bits from constant value (11d4 becomes d4)
>> arch/ia64/kernel/mca_drv.c:268:33: sparse: sparse: cast truncates bits from constant value (e429faf3 becomes f3)
   arch/ia64/kernel/mca_drv.c:268:33: sparse: sparse: cast truncates bits from constant value (e429fa becomes fa)
   arch/ia64/kernel/mca_drv.c:268:33: sparse: sparse: cast truncates bits from constant value (e429 becomes 29)
   arch/ia64/kernel/mca_drv.c:268:33: sparse: sparse: cast truncates bits from constant value (3cb7 becomes b7)
   arch/ia64/kernel/mca_drv.c:268:33: sparse: sparse: cast truncates bits from constant value (11d4 becomes d4)
>> arch/ia64/kernel/mca_drv.c:272:33: sparse: sparse: cast truncates bits from constant value (e429faf4 becomes f4)
   arch/ia64/kernel/mca_drv.c:272:33: sparse: sparse: cast truncates bits from constant value (e429fa becomes fa)
   arch/ia64/kernel/mca_drv.c:272:33: sparse: sparse: cast truncates bits from constant value (e429 becomes 29)
   arch/ia64/kernel/mca_drv.c:272:33: sparse: sparse: cast truncates bits from constant value (3cb7 becomes b7)
   arch/ia64/kernel/mca_drv.c:272:33: sparse: sparse: cast truncates bits from constant value (11d4 becomes d4)
>> arch/ia64/kernel/mca_drv.c:276:33: sparse: sparse: cast truncates bits from constant value (e429faf5 becomes f5)
   arch/ia64/kernel/mca_drv.c:276:33: sparse: sparse: cast truncates bits from constant value (e429fa becomes fa)
   arch/ia64/kernel/mca_drv.c:276:33: sparse: sparse: cast truncates bits from constant value (e429 becomes 29)
   arch/ia64/kernel/mca_drv.c:276:33: sparse: sparse: cast truncates bits from constant value (3cb7 becomes b7)
   arch/ia64/kernel/mca_drv.c:276:33: sparse: sparse: cast truncates bits from constant value (11d4 becomes d4)
>> arch/ia64/kernel/mca_drv.c:280:33: sparse: sparse: cast truncates bits from constant value (e429faf6 becomes f6)
   arch/ia64/kernel/mca_drv.c:280:33: sparse: sparse: cast truncates bits from constant value (e429fa becomes fa)
   arch/ia64/kernel/mca_drv.c:280:33: sparse: sparse: cast truncates bits from constant value (e429 becomes 29)
   arch/ia64/kernel/mca_drv.c:280:33: sparse: sparse: cast truncates bits from constant value (3cb7 becomes b7)
   arch/ia64/kernel/mca_drv.c:280:33: sparse: sparse: cast truncates bits from constant value (11d4 becomes d4)
>> arch/ia64/kernel/mca_drv.c:284:33: sparse: sparse: cast truncates bits from constant value (e429faf7 becomes f7)
   arch/ia64/kernel/mca_drv.c:284:33: sparse: sparse: cast truncates bits from constant value (e429fa becomes fa)
   arch/ia64/kernel/mca_drv.c:284:33: sparse: sparse: cast truncates bits from constant value (e429 becomes 29)
   arch/ia64/kernel/mca_drv.c:284:33: sparse: sparse: cast truncates bits from constant value (3cb7 becomes b7)
   arch/ia64/kernel/mca_drv.c:284:33: sparse: sparse: cast truncates bits from constant value (11d4 becomes d4)
>> arch/ia64/kernel/mca_drv.c:288:33: sparse: sparse: cast truncates bits from constant value (e429faf8 becomes f8)
   arch/ia64/kernel/mca_drv.c:288:33: sparse: sparse: cast truncates bits from constant value (e429fa becomes fa)
   arch/ia64/kernel/mca_drv.c:288:33: sparse: sparse: cast truncates bits from constant value (e429 becomes 29)
   arch/ia64/kernel/mca_drv.c:288:33: sparse: sparse: cast truncates bits from constant value (3cb7 becomes b7)
   arch/ia64/kernel/mca_drv.c:288:33: sparse: sparse: cast truncates bits from constant value (11d4 becomes d4)
>> arch/ia64/kernel/mca_drv.c:292:33: sparse: sparse: cast truncates bits from constant value (e429faf9 becomes f9)
   arch/ia64/kernel/mca_drv.c:292:33: sparse: sparse: cast truncates bits from constant value (e429fa becomes fa)
   arch/ia64/kernel/mca_drv.c:292:33: sparse: sparse: cast truncates bits from constant value (e429 becomes 29)
   arch/ia64/kernel/mca_drv.c:292:33: sparse: sparse: cast truncates bits from constant value (3cb7 becomes b7)
   arch/ia64/kernel/mca_drv.c:292:33: sparse: sparse: cast truncates bits from constant value (11d4 becomes d4)

vim +61 arch/ia64/kernel/efi.c

5828efb95bc43a Ard Biesheuvel 2019-06-25  59  
06c0bd93434c5b Ard Biesheuvel 2020-01-22  60  static const efi_config_table_type_t arch_tables[] __initconst = {
4e9a0f73f030e1 Ard Biesheuvel 2020-03-26 @61  	{ESI_TABLE_GUID,				&esi_phys,		"ESI"		},
4e9a0f73f030e1 Ard Biesheuvel 2020-03-26 @62  	{HCDP_TABLE_GUID,				&hcdp_phys,		"HCDP"		},
4e9a0f73f030e1 Ard Biesheuvel 2020-03-26 @63  	{MPS_TABLE_GUID,				&mps_phys,		"MPS"		},
4e9a0f73f030e1 Ard Biesheuvel 2020-03-26 @64  	{PROCESSOR_ABSTRACTION_LAYER_OVERWRITE_GUID,	&palo_phys,		"PALO"		},
4e9a0f73f030e1 Ard Biesheuvel 2020-03-26 @65  	{SAL_SYSTEM_TABLE_GUID,				&sal_systab_phys,	"SALsystab"	},
4e9a0f73f030e1 Ard Biesheuvel 2020-03-26  66  	{},
272686bf46a34f Leif Lindholm  2013-09-05  67  };
272686bf46a34f Leif Lindholm  2013-09-05  68  

:::::: The code at line 61 was first introduced by commit
:::::: 4e9a0f73f030e19a9259b69a7079021048e1f904 efi: Clean up config table description arrays

:::::: TO: Ard Biesheuvel <ardb@kernel.org>
:::::: CC: Ard Biesheuvel <ardb@kernel.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 23130 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-13  9:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-13  9:07 [efi:next 2/4] arch/ia64/kernel/efi.c:61:10: sparse: sparse: cast truncates bits from constant value (43ea58dc becomes dc) 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;
as well as URLs for NNTP newsgroup(s).