linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: 2724853925@qq.com, Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	Henrik Rydberg <rydberg@bitmath.org>
Cc: oe-kbuild-all@lists.linux.dev, linux-input@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org,
	2724853925@qq.com
Subject: Re: [PATCH] input: touchscreen: Add ilitek touchscreen driver support
Date: Thu, 20 Nov 2025 02:48:45 +0800	[thread overview]
Message-ID: <202511200123.RGbEPLxi-lkp@intel.com> (raw)
In-Reply-To: <tencent_995E6FC62EDBC1EED14E6052847F270F6406@qq.com>

Hi,

kernel test robot noticed the following build errors:

[auto build test ERROR on dtor-input/next]
[also build test ERROR on dtor-input/for-linus linus/master v6.18-rc6 next-20251119]
[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/2724853925-qq-com/input-touchscreen-Add-ilitek-touchscreen-driver-support/20251116-215220
base:   https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next
patch link:    https://lore.kernel.org/r/tencent_995E6FC62EDBC1EED14E6052847F270F6406%40qq.com
patch subject: [PATCH] input: touchscreen: Add ilitek touchscreen driver support
config: um-randconfig-r053-20251119 (https://download.01.org/0day-ci/archive/20251120/202511200123.RGbEPLxi-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 0bba1e76581bad04e7d7f09f5115ae5e2989e0d9)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251120/202511200123.RGbEPLxi-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202511200123.RGbEPLxi-lkp@intel.com/

All errors (new ones prefixed by >>):

   /usr/bin/ld: warning: .tmp_vmlinux1 has a LOAD segment with RWX permissions
   /usr/bin/ld: drivers/input/touchscreen/ilitek/ilitek_main.o: in function `ilitek_udp_reply':
>> include/linux/skbuff.h:1336:(.text+0x1643): undefined reference to `__alloc_skb'
   /usr/bin/ld: drivers/input/touchscreen/ilitek/ilitek_main.o: in function `ilitek_udp_reply':
>> include/net/netlink.h:1001:(.text+0x167f): undefined reference to `__nlmsg_put'
   /usr/bin/ld: drivers/input/touchscreen/ilitek/ilitek_main.o: in function `ilitek_udp_reply':
>> drivers/input/touchscreen/ilitek/ilitek_main.c:83:(.text+0x16b9): undefined reference to `netlink_unicast'
   /usr/bin/ld: drivers/input/touchscreen/ilitek/ilitek_main.o: in function `ilitek_udp_reply':
>> include/linux/skbuff.h:1275:(.text+0x1900): undefined reference to `sk_skb_reason_drop'
   /usr/bin/ld: drivers/input/touchscreen/ilitek/ilitek_main.o: in function `ilitek_netlink_init':
>> drivers/input/touchscreen/ilitek/ilitek_main.c:1833:(.text+0x3458): undefined reference to `netlink_kernel_release'
   /usr/bin/ld: drivers/input/touchscreen/ilitek/ilitek_main.o: in function `ilitek_netlink_init':
>> include/linux/netlink.h:62:(.text+0x3475): undefined reference to `init_net'
>> /usr/bin/ld: include/linux/netlink.h:62:(.text+0x347a): undefined reference to `__netlink_kernel_create'
   /usr/bin/ld: drivers/input/touchscreen/ilitek/ilitek_main.o: in function `ilitek_netlink_exit':
   drivers/input/touchscreen/ilitek/ilitek_main.c:1833:(.text+0x4d15): undefined reference to `netlink_kernel_release'
   /usr/bin/ld: drivers/input/touchscreen/ilitek/ilitek_main.o: in function `ilitek_main_remove':
   drivers/input/touchscreen/ilitek/ilitek_main.c:1833:(.text+0x71e3): undefined reference to `netlink_kernel_release'
   clang: error: linker command failed with exit code 1 (use -v to see invocation)


vim +83 drivers/input/touchscreen/ilitek/ilitek_main.c

    53	
    54	static void __maybe_unused ilitek_udp_reply(void *payload, int size)
    55	{
    56	#ifdef ILITEK_TUNING_MESSAGE
    57		struct sk_buff *skb;
    58		struct nlmsghdr *nlh;
    59		int len = NLMSG_SPACE(size);
    60		int ret;
    61		int pid = ilitek_pid, seq = ilitek_seq;
    62	
    63		TP_DBG(NULL, "[%s] ilitek_debug_flag: %d\n", __func__, ilitek_debug_flag);
    64		if (!ilitek_debug_flag)
    65			return;
    66	
    67		skb = alloc_skb(len, GFP_ATOMIC);
    68		if (!skb) {
    69			TP_ERR(NULL, "alloc skb error\n");
    70			return;
    71		}
    72	
    73		nlh = nlmsg_put(skb, pid, seq, 0, size, 0);
    74		if (!nlh)
    75			goto nlmsg_failure;
    76	
    77		nlh->nlmsg_flags = 0;
    78		memcpy(NLMSG_DATA(nlh), payload, size);
    79	
    80		NETLINK_CB(skb).portid = 0;	/* from kernel */
    81		NETLINK_CB(skb).dst_group = 0;	/* unicast */
    82	
  > 83		ret = netlink_unicast(ilitek_netlink_sock, skb, pid, MSG_DONTWAIT);
    84		if (ret < 0)
    85			TP_ERR(NULL, "ilitek send failed, ret: %d\n", ret);
    86		return;
    87	
    88	nlmsg_failure:
    89		kfree_skb(skb);
    90	

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

  parent reply	other threads:[~2025-11-19 18:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-16 13:49 [PATCH] input: touchscreen: Add ilitek touchscreen driver support 2724853925
2025-11-17 21:36 ` kernel test robot
2025-11-18  7:43 ` Dmitry Torokhov
2025-11-19  1:47 ` kernel test robot
2025-11-19 18:48 ` kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-11-16 13:38 2724853925
2025-11-16 13:33 2724853925
2025-11-16 13:30 2724853925
2025-11-16 13:23 2724853925

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202511200123.RGbEPLxi-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=2724853925@qq.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=rydberg@bitmath.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).