All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [kkdwivedi:mlp 58/59] fs/eventpoll.c:2166:undefined reference to `sock_from_file'
Date: Thu, 08 Oct 2026 00:48:53 +0200	[thread overview]
Message-ID: <202610080055.22iqebug-lkp@intel.com> (raw)

tree:   https://github.com/kkdwivedi/linux mlp
head:   cb749145988a07c430f0cc8004d3d40b4227fe1f
commit: 54493c2a59093e36a0f02fec2073203cd83bfb10 [58/59] epoll: Prefetch the ready items' files, sockets and socks ahead of delivery
config: powerpc-randconfig-r2104-20261007 (https://download.01.org/0day-ci/archive/20261008/202610080055.22iqebug-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 13.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261008/202610080055.22iqebug-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/202610080055.22iqebug-lkp@intel.com/

All errors (new ones prefixed by >>):

   powerpc-linux-ld: fs/eventpoll.o: in function `ep_send_lookahead_step':
>> fs/eventpoll.c:2166:(.text+0xebc): undefined reference to `sock_from_file'


vim +2166 fs/eventpoll.c

  2141	
  2142	static void ep_send_lookahead_step(struct ep_send_lookahead *la,
  2143					   const struct list_head *head)
  2144	{
  2145		struct epitem *next;
  2146		struct sock *sk;
  2147	
  2148		if (la->sock) {
  2149			sk = READ_ONCE(la->sock->sk);
  2150			if (sk) {
  2151				/* what sock_poll and tcp_poll read: the state and
  2152				 * error, the receive queue and sequence numbers, the
  2153				 * wait queue, the send space
  2154				 */
  2155				prefetch(sk);
  2156				prefetch(&sk->__cacheline_group_begin__sock_write_rx);
  2157				prefetch(&sk->__cacheline_group_begin__sock_read_rx);
  2158				prefetch(&sk->__cacheline_group_begin__sock_write_rxtx);
  2159				prefetch(&sk->__cacheline_group_begin__sock_write_tx);
  2160				prefetch(&sk->__cacheline_group_begin__sock_read_tx);
  2161				prefetch(&tcp_sk(sk)->rcv_nxt);
  2162			}
  2163			la->sock = NULL;
  2164		}
  2165		if (la->file) {
> 2166			la->sock = sock_from_file(la->file);
  2167			if (la->sock)
  2168				prefetch(la->sock);
  2169			la->file = NULL;
  2170		}
  2171		if (la->item) {
  2172			la->file = la->item->ffd.file;
  2173			prefetch(la->file);
  2174			next = list_next_entry(la->item, rdllink);
  2175			la->item = &next->rdllink != head ? next : NULL;
  2176			if (la->item)
  2177				prefetch(la->item);
  2178		}
  2179	}
  2180	

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

                 reply	other threads:[~2026-10-07 22:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202610080055.22iqebug-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=memxor@gmail.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.