From: kernel test robot <lkp@intel.com>
To: Steffen Klassert <steffen.klassert@secunet.com>
Cc: oe-kbuild-all@lists.linux.dev, netdev@vger.kernel.org,
Jakub Kicinski <kuba@kernel.org>
Subject: [net:main 69/101] net/xfrm/xfrm_state.c:1220: Warning: missing closing `"'
Date: Fri, 26 Jun 2026 01:11:54 +0800 [thread overview]
Message-ID: <202606260102.GcwhFSNK-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git main
head: 02f144fbb4c86c360495d33debe307cb46a57f95
commit: e9deb406c10f5a73bcfd62f42ca1187b220bc188 [69/101] Merge tag 'ipsec-2026-06-22' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec
config: s390-randconfig-r133-20260625 (https://download.01.org/0day-ci/archive/20260626/202606260102.GcwhFSNK-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 8.5.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260626/202606260102.GcwhFSNK-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/202606260102.GcwhFSNK-lkp@intel.com/
All warnings (new ones prefixed by >>):
net/xfrm/xfrm_state.c: Assembler messages:
>> net/xfrm/xfrm_state.c:1220: Warning: missing closing `"'
>> net/xfrm/xfrm_state.c:1220: Warning: missing closing `"'
>> net/xfrm/xfrm_state.c:1220: Warning: missing closing `"'
>> net/xfrm/xfrm_state.c:1220: Warning: missing closing `"'
>> net/xfrm/xfrm_state.c:1220: Warning: missing closing `"'
>> net/xfrm/xfrm_state.c:1220: Warning: missing closing `"'
>> net/xfrm/xfrm_state.c:1220: Warning: missing closing `"'
>> net/xfrm/xfrm_state.c:1220: Warning: missing closing `"'
>> net/xfrm/xfrm_state.c:1220: Warning: missing closing `"'
>> net/xfrm/xfrm_state.c:1220: Warning: missing closing `"'
>> net/xfrm/xfrm_state.c:1220: Warning: missing closing `"'
>> net/xfrm/xfrm_state.c:1220: Warning: missing closing `"'
>> net/xfrm/xfrm_state.c:1220: Warning: missing closing `"'
>> net/xfrm/xfrm_state.c:1220: Warning: missing closing `"'
>> net/xfrm/xfrm_state.c:1220: Warning: missing closing `"'
>> net/xfrm/xfrm_state.c:1220: Warning: missing closing `"'
>> net/xfrm/xfrm_state.c:1220: Warning: missing closing `"'
net/xfrm/xfrm_state.c:1225: Warning: missing closing `"'
net/xfrm/xfrm_state.c:1225: Warning: missing closing `"'
net/xfrm/xfrm_state.c:1225: Warning: missing closing `"'
net/xfrm/xfrm_state.c:1225: Warning: missing closing `"'
net/xfrm/xfrm_state.c:1225: Warning: missing closing `"'
net/xfrm/xfrm_state.c:1225: Warning: missing closing `"'
net/xfrm/xfrm_state.c:1225: Warning: missing closing `"'
net/xfrm/xfrm_state.c:1225: Warning: missing closing `"'
net/xfrm/xfrm_state.c:1225: Warning: missing closing `"'
net/xfrm/xfrm_state.c:1225: Warning: missing closing `"'
net/xfrm/xfrm_state.c:1225: Warning: missing closing `"'
net/xfrm/xfrm_state.c:1225: Warning: missing closing `"'
net/xfrm/xfrm_state.c:1225: Warning: missing closing `"'
net/xfrm/xfrm_state.c:1225: Warning: missing closing `"'
net/xfrm/xfrm_state.c:1225: Warning: missing closing `"'
net/xfrm/xfrm_state.c:1225: Warning: missing closing `"'
net/xfrm/xfrm_state.c:1225: Warning: missing closing `"'
vim +1220 net/xfrm/xfrm_state.c
edcd582152090b David S. Miller 2006-08-24 1200
81a331a0e72ddc Steffen Klassert 2024-10-23 1201 struct xfrm_state *xfrm_input_state_lookup(struct net *net, u32 mark,
81a331a0e72ddc Steffen Klassert 2024-10-23 1202 const xfrm_address_t *daddr,
81a331a0e72ddc Steffen Klassert 2024-10-23 1203 __be32 spi, u8 proto,
81a331a0e72ddc Steffen Klassert 2024-10-23 1204 unsigned short family)
81a331a0e72ddc Steffen Klassert 2024-10-23 1205 {
e952837f3ddb0f Florian Westphal 2024-11-28 1206 struct xfrm_hash_state_ptrs state_ptrs;
81a331a0e72ddc Steffen Klassert 2024-10-23 1207 struct hlist_head *state_cache_input;
81a331a0e72ddc Steffen Klassert 2024-10-23 1208 struct xfrm_state *x = NULL;
81a331a0e72ddc Steffen Klassert 2024-10-23 1209
ddd3d013292031 Herbert Xu 2026-06-12 1210 /* BH is always disabled on the input path. */
ddd3d013292031 Herbert Xu 2026-06-12 1211 lockdep_assert_in_softirq();
ddd3d013292031 Herbert Xu 2026-06-12 1212
6c9b7db96db62e Sebastian Sewior 2025-01-23 1213 state_cache_input = raw_cpu_ptr(net->xfrm.state_cache_input);
81a331a0e72ddc Steffen Klassert 2024-10-23 1214
81a331a0e72ddc Steffen Klassert 2024-10-23 1215 hlist_for_each_entry_rcu(x, state_cache_input, state_cache_input) {
81a331a0e72ddc Steffen Klassert 2024-10-23 1216 if (x->props.family != family ||
81a331a0e72ddc Steffen Klassert 2024-10-23 1217 x->id.spi != spi ||
81a331a0e72ddc Steffen Klassert 2024-10-23 1218 x->id.proto != proto ||
81a331a0e72ddc Steffen Klassert 2024-10-23 1219 !xfrm_addr_equal(&x->id.daddr, daddr, family))
81a331a0e72ddc Steffen Klassert 2024-10-23 @1220 continue;
81a331a0e72ddc Steffen Klassert 2024-10-23 1221
81a331a0e72ddc Steffen Klassert 2024-10-23 1222 if ((mark & x->mark.m) != x->mark.v)
81a331a0e72ddc Steffen Klassert 2024-10-23 1223 continue;
81a331a0e72ddc Steffen Klassert 2024-10-23 1224 if (!xfrm_state_hold_rcu(x))
81a331a0e72ddc Steffen Klassert 2024-10-23 1225 continue;
81a331a0e72ddc Steffen Klassert 2024-10-23 1226 goto out;
81a331a0e72ddc Steffen Klassert 2024-10-23 1227 }
81a331a0e72ddc Steffen Klassert 2024-10-23 1228
e952837f3ddb0f Florian Westphal 2024-11-28 1229 xfrm_hash_ptrs_get(net, &state_ptrs);
e952837f3ddb0f Florian Westphal 2024-11-28 1230
e952837f3ddb0f Florian Westphal 2024-11-28 1231 x = __xfrm_state_lookup(&state_ptrs, mark, daddr, spi, proto, family);
ddd3d013292031 Herbert Xu 2026-06-12 1232 if (x) {
ddd3d013292031 Herbert Xu 2026-06-12 1233 spin_lock(&net->xfrm.xfrm_state_lock);
ddd3d013292031 Herbert Xu 2026-06-12 1234 if (x->km.state != XFRM_STATE_VALID) {
ddd3d013292031 Herbert Xu 2026-06-12 1235 /*
ddd3d013292031 Herbert Xu 2026-06-12 1236 * The state is about to be destroyed.
ddd3d013292031 Herbert Xu 2026-06-12 1237 *
ddd3d013292031 Herbert Xu 2026-06-12 1238 * Don't add it to the cache but still
ddd3d013292031 Herbert Xu 2026-06-12 1239 * return it to the caller.
ddd3d013292031 Herbert Xu 2026-06-12 1240 */
ddd3d013292031 Herbert Xu 2026-06-12 1241 } else if (hlist_unhashed(&x->state_cache_input)) {
81a331a0e72ddc Steffen Klassert 2024-10-23 1242 hlist_add_head_rcu(&x->state_cache_input, state_cache_input);
81a331a0e72ddc Steffen Klassert 2024-10-23 1243 } else {
81a331a0e72ddc Steffen Klassert 2024-10-23 1244 hlist_del_rcu(&x->state_cache_input);
81a331a0e72ddc Steffen Klassert 2024-10-23 1245 hlist_add_head_rcu(&x->state_cache_input, state_cache_input);
81a331a0e72ddc Steffen Klassert 2024-10-23 1246 }
ddd3d013292031 Herbert Xu 2026-06-12 1247 spin_unlock(&net->xfrm.xfrm_state_lock);
81a331a0e72ddc Steffen Klassert 2024-10-23 1248 }
81a331a0e72ddc Steffen Klassert 2024-10-23 1249
81a331a0e72ddc Steffen Klassert 2024-10-23 1250 out:
81a331a0e72ddc Steffen Klassert 2024-10-23 1251 return x;
81a331a0e72ddc Steffen Klassert 2024-10-23 1252 }
81a331a0e72ddc Steffen Klassert 2024-10-23 1253 EXPORT_SYMBOL(xfrm_input_state_lookup);
81a331a0e72ddc Steffen Klassert 2024-10-23 1254
:::::: The code at line 1220 was first introduced by commit
:::::: 81a331a0e72ddc2f75092603d9577bd1a0ca23ad xfrm: Add an inbound percpu state cache.
:::::: TO: Steffen Klassert <steffen.klassert@secunet.com>
:::::: CC: Steffen Klassert <steffen.klassert@secunet.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-06-25 17:12 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=202606260102.GcwhFSNK-lkp@intel.com \
--to=lkp@intel.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=steffen.klassert@secunet.com \
/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.