tree:
git://git.infradead.org/users/ezequielg/linux rk3288-vp8-h264-encoding-wip
head: e1e1beb01eda3ae31a43091e8b4d589d939f8315
commit: 40aa7b09d00ca42666b8c6e91e940ceef33f2b17 [13/14] [HACK] hantro: Add H264 encoding
support
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-193-gb8fad4bc-dirty
git checkout 40aa7b09d00ca42666b8c6e91e940ceef33f2b17
# save the attached .config to linux build tree
make W=1 C=1 ARCH=x86_64 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
> drivers/staging/media/hantro/hantro_h1_h264_enc.c:717:24: sparse:
sparse: incorrect type in assignment (different base types) @@ expected unsigned long
long [usertype] @@ got nsigned long long [usertype] @@
> drivers/staging/media/hantro/hantro_h1_h264_enc.c:717:24: sparse: expected
unsigned long long [usertype]
> drivers/staging/media/hantro/hantro_h1_h264_enc.c:717:24: sparse: got restricted
__be64 [usertype]
vim +717 drivers/staging/media/hantro/hantro_h1_h264_enc.c
710
711 // TODO: Don't we have some macro for this?
712 static void buffer_cpu_to_be64(u64 *buf, u32 size)
713 {
714 u32 i;
715
716 for (i = 0; i < size; ++i)
717 buf[i] = cpu_to_be64(buf[i]);
718 }
719
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org