tree: git://git.armlinux.org.uk/~rmk/linux-arm apple-macsmc head: b14555d5b876b93d6b1fa988840e855d4faf6751 commit: 68337d63a29caf9c53f5efb20369769ab5f11e78 [2/11] lib/vsprintf: Add support for generic FOURCCs by extending %p4cc config: arm64-randconfig-s033-20221213 compiler: aarch64-linux-gcc (GCC) 12.1.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.4-39-gce1a6720-dirty git remote add rmk-arm git://git.armlinux.org.uk/~rmk/linux-arm git fetch --no-tags rmk-arm apple-macsmc git checkout 68337d63a29caf9c53f5efb20369769ab5f11e78 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arm64 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) lib/test_printf.c:694:49: sparse: sparse: cast from restricted gfp_t lib/test_printf.c:698:58: sparse: sparse: cast from restricted gfp_t >> lib/test_printf.c:763:17: sparse: sparse: cast to restricted __le32 >> lib/test_printf.c:763:17: sparse: sparse: cast to restricted __le32 >> lib/test_printf.c:763:17: sparse: sparse: cast to restricted __le32 >> lib/test_printf.c:763:17: sparse: sparse: cast to restricted __le32 >> lib/test_printf.c:763:17: sparse: sparse: cast to restricted __le32 >> lib/test_printf.c:763:17: sparse: sparse: cast to restricted __le32 >> lib/test_printf.c:766:17: sparse: sparse: cast to restricted __be32 vim +763 lib/test_printf.c 747 748 static void __init fourcc_pointer(void) 749 { 750 struct fourcc_struct const try_cc[] = { 751 { 0x3231564e, "NV12 little-endian (0x3231564e)", }, 752 { 0xb231564e, "NV12 big-endian (0xb231564e)", }, 753 { 0x10111213, ".... little-endian (0x10111213)", }, 754 { 0x20303159, "Y10 little-endian (0x20303159)", }, 755 }; 756 struct fourcc_struct const try_ch = { 757 0x41424344, "ABCD (0x41424344)", 758 }; 759 struct fourcc_struct const try_cr = { 760 0x41424344, "DCBA (0x44434241)", 761 }; 762 struct fourcc_struct const try_cl = { > 763 le32_to_cpu(0x41424344), "ABCD (0x41424344)", 764 }; 765 struct fourcc_struct const try_cb = { > 766 be32_to_cpu(0x41424344), "ABCD (0x41424344)", 767 }; 768 769 fourcc_pointer_test(try_cc, ARRAY_SIZE(try_cc), "%p4cc"); 770 fourcc_pointer_test(&try_ch, 1, "%p4ch"); 771 fourcc_pointer_test(&try_cr, 1, "%p4cr"); 772 fourcc_pointer_test(&try_cl, 1, "%p4cl"); 773 fourcc_pointer_test(&try_cb, 1, "%p4cb"); 774 } 775 -- 0-DAY CI Kernel Test Service https://01.org/lkp