Re: [PATCH v2] resolve gtp possible deadlock warning

From: kernel test robot
Date: Mon Oct 07 2024 - 07:57:04 EST


Hi Daniel,

kernel test robot noticed the following build warnings:

[auto build test WARNING on linus/master]
[also build test WARNING on v6.12-rc2 next-20241004]
[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#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Daniel-Yang/resolve-gtp-possible-deadlock-warning/20241005-125510
base: linus/master
patch link: https://lore.kernel.org/r/20241005045411.118720-1-danielyangkang%40gmail.com
patch subject: [PATCH v2] resolve gtp possible deadlock warning
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20241007/202410071937.ikrY4umF-lkp@xxxxxxxxx/config)
compiler: m68k-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241007/202410071937.ikrY4umF-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410071937.ikrY4umF-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> net/smc/af_smc.c:22:9: warning: "pr_fmt" redefined
22 | #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
| ^~~~~~
In file included from include/linux/kernel.h:31,
from include/linux/uio.h:8,
from include/linux/socket.h:8,
from net/smc/af_smc.c:20:
include/linux/printk.h:380:9: note: this is the location of the previous definition
380 | #define pr_fmt(fmt) fmt
| ^~~~~~

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for GET_FREE_REGION
Depends on [n]: SPARSEMEM [=n]
Selected by [m]:
- RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m]


vim +/pr_fmt +22 net/smc/af_smc.c

ac7138746e1413 Ursula Braun 2017-01-09 @22 #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
ac7138746e1413 Ursula Braun 2017-01-09 23

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki