Hi ishaangandhi,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on net-next/master]
[also build test WARNING on net/master linus/master v5.12-rc2 next-20210311]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/ishaangandhi/icmp-support-rfc-58...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
1520929e26d54bc3c9e024ee91eee5a19c56b95b
config: i386-randconfig-s002-20210311 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-262-g5e674421-dirty
#
https://github.com/0day-ci/linux/commit/42e5e7501eafeda575f91db23d34172d7...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
ishaangandhi/icmp-support-rfc-5837/20210312-084955
git checkout 42e5e7501eafeda575f91db23d34172d720316ab
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
"sparse warnings: (new ones prefixed by >>)"
> net/ipv4/icmp.c:589:6: sparse: sparse: symbol
'icmp_identify_arrival_interface' was not declared. Should it be static?
net/ipv4/icmp.c: note: in included file (through include/linux/spinlock.h,
include/linux/mmzone.h, include/linux/gfp.h, ...):
include/linux/bottom_half.h:32:30: sparse: sparse: context imbalance in
'icmp_reply' - different lock contexts for basic block
include/linux/bottom_half.h:32:30: sparse: sparse: context imbalance in
'__icmp_send' - different lock contexts for basic block
Please review and possibly fold the followup patch.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org