Re: [PATCH v2] resolve gtp possible deadlock warning

From: kernel test robot
Date: Mon Oct 07 2024 - 08:49:06 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: x86_64-buildonly-randconfig-005-20241007 (https://download.01.org/0day-ci/archive/20241007/202410072002.hT2D7135-lkp@xxxxxxxxx/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241007/202410072002.hT2D7135-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/202410072002.hT2D7135-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> net/smc/af_smc.c:22:9: warning: 'pr_fmt' macro redefined [-Wmacro-redefined]
22 | #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
| ^
include/linux/printk.h:380:9: note: previous definition is here
380 | #define pr_fmt(fmt) fmt
| ^
1 warning generated.


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