Hi Srikar,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on powerpc/next]
[also build test WARNING on next-20200317]
[cannot apply to linus/master asm-generic/master mpe/next v5.6-rc6]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see
https://stackoverflow.com/a/37406982]
url:
https://github.com/0day-ci/linux/commits/Srikar-Dronamraju/Fix-kmalloc_no...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-motionpro_defconfig (attached as .config)
compiler: powerpc-linux-gcc (GCC) 9.2.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=9.2.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from include/linux/topology.h:36,
from include/linux/gfp.h:9,
from include/linux/mm.h:10,
from include/linux/bvec.h:13,
from include/linux/blk_types.h:10,
from include/linux/iomap.h:7,
from fs/iomap/trace.c:5:
arch/powerpc/include/asm/topology.h: In function 'update_default_numa_mem':
> arch/powerpc/include/asm/topology.h:108:1: warning: no return
statement in function returning non-void [-Wreturn-type]
108 | static inline
int update_default_numa_mem(void) {}
| ^~~~~~
--
In file included from include/linux/topology.h:36,
from include/linux/gfp.h:9,
from include/linux/slab.h:15,
from include/linux/crypto.h:19,
from include/crypto/hash.h:11,
from include/linux/uio.h:10,
from include/linux/socket.h:8,
from include/linux/compat.h:15,
from arch/powerpc/kernel/asm-offsets.c:14:
arch/powerpc/include/asm/topology.h: In function 'update_default_numa_mem':
> arch/powerpc/include/asm/topology.h:108:1: warning: no return
statement in function returning non-void [-Wreturn-type]
108 | static inline
int update_default_numa_mem(void) {}
| ^~~~~~
29 real 8 user 16 sys 85.32% cpu make prepare
vim +108 arch/powerpc/include/asm/topology.h
107
108 static inline int update_default_numa_mem(void) {}
109 #endif /* CONFIG_NUMA */
110
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org