lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202511200123.RGbEPLxi-lkp@intel.com>
Date: Thu, 20 Nov 2025 02:48:45 +0800
From: kernel test robot <lkp@...el.com>
To: 2724853925@...com, Dmitry Torokhov <dmitry.torokhov@...il.com>,
	Henrik Rydberg <rydberg@...math.org>
Cc: oe-kbuild-all@...ts.linux.dev, linux-input@...r.kernel.org,
	linux-kernel@...r.kernel.org, linux-gpio@...r.kernel.org,
	2724853925@...com
Subject: Re: [PATCH] input: touchscreen: Add ilitek touchscreen driver support

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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ