Hi Viorel,
FYI, the error/warning still remains.
tree:
https://github.com/Freescale/linux-fslc pr/300
head: e9a7181f47e007a9866934b3ff51bb6c3d22b9e2
commit: 02f2735702118a80b3beb9626de5d14de0e32d73 [14894/18036] MLK-24965: ASoC: fsl_xcvr:
bit and timestamp counters
config: h8300-randconfig-r013-20210408 (attached as .config)
compiler: h8300-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://github.com/Freescale/linux-fslc/commit/02f2735702118a80b3beb9626d...
git remote add freescale-fslc
https://github.com/Freescale/linux-fslc
git fetch --no-tags freescale-fslc pr/300
git checkout 02f2735702118a80b3beb9626de5d14de0e32d73
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=h8300
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from include/linux/err.h:5,
from include/linux/clk.h:12,
from sound/soc/fsl/fsl_xcvr_sysfs.c:4:
include/linux/scatterlist.h: In function 'sg_set_buf':
include/asm-generic/page.h:93:50: warning: ordered comparison of pointer with null
pointer [-Wextra]
93 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET)
&& \
| ^~
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
143 | BUG_ON(!virt_addr_valid(buf));
| ^~~~~~
include/linux/scatterlist.h:143:10: note: in expansion of macro
'virt_addr_valid'
143 | BUG_ON(!virt_addr_valid(buf));
| ^~~~~~~~~~~~~~~
sound/soc/fsl/fsl_xcvr_sysfs.c: In function 'fsl_xcvr_get_attr_grp':
> sound/soc/fsl/fsl_xcvr_sysfs.c:106:31: warning: old-style
function definition [-Wold-style-definition]
106 | const struct attribute_group
*fsl_xcvr_get_attr_grp()
| ^~~~~~~~~~~~~~~~~~~~~
vim +106 sound/soc/fsl/fsl_xcvr_sysfs.c
105
106 const struct attribute_group *fsl_xcvr_get_attr_grp()
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org