* drivers/net/ethernet/broadcom/bnxt/bnxt_ktls.c:283:7: warning: variable 'kctx_tx' is used uninitialized whenever 'if' condition is true
From: kernel test robot @ 2026-06-14 15:39 UTC (permalink / raw)
To: Michael Chan
Cc: llvm, oe-kbuild-all, 0day robot, Andy Gospodarek, Pavan Chebbi
tree: https://github.com/intel-lab-lkp/linux/commits/Michael-Chan/bnxt_en-Add-Midpath-channel-information/20260614-153302
head: e407d35b9928aa3878a575a8ceeddff2537b1b69
commit: 0d2b843e6c9772755c9d48a80e053189fb4650fd bnxt_en: Support kTLS TX offload by implementing .tls_dev_add/del()
date: 8 hours ago
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260614/202606141750.2viU74v0-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project f43d6834093b19baf79beda8c0337ab020ac5f17)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260614/202606141750.2viU74v0-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/202606141750.2viU74v0-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/net/ethernet/broadcom/bnxt/bnxt_ktls.c:283:7: warning: variable 'kctx_tx' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
283 | if (retry_cnt++ > KTLS_RETRY_MAX) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/broadcom/bnxt/bnxt_ktls.c:319:8: note: uninitialized use occurs here
319 | kfree(kctx_tx);
| ^~~~~~~
drivers/net/ethernet/broadcom/bnxt/bnxt_ktls.c:283:3: note: remove the 'if' if its condition is always false
283 | if (retry_cnt++ > KTLS_RETRY_MAX) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
284 | atomic64_inc(&ktls->counters[BNXT_KTLS_ERR_RETRY_EXCEEDED]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
285 | netdev_warn(dev, "%s timed out waiting for device, state %lx\n",
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
286 | __func__, bp->state);
| ~~~~~~~~~~~~~~~~~~~~~
287 | goto free;
| ~~~~~~~~~~
288 | }
| ~
drivers/net/ethernet/broadcom/bnxt/bnxt_ktls.c:277:7: warning: variable 'kctx_tx' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
277 | if (!netif_running(dev) ||
| ^~~~~~~~~~~~~~~~~~~~~~
278 | test_bit(BNXT_STATE_IN_FW_RESET, &bp->state))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/broadcom/bnxt/bnxt_ktls.c:319:8: note: uninitialized use occurs here
319 | kfree(kctx_tx);
| ^~~~~~~
drivers/net/ethernet/broadcom/bnxt/bnxt_ktls.c:277:3: note: remove the 'if' if its condition is always false
277 | if (!netif_running(dev) ||
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
278 | test_bit(BNXT_STATE_IN_FW_RESET, &bp->state))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
279 | goto free;
| ~~~~~~~~~
>> drivers/net/ethernet/broadcom/bnxt/bnxt_ktls.c:277:7: warning: variable 'kctx_tx' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized]
277 | if (!netif_running(dev) ||
| ^~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/broadcom/bnxt/bnxt_ktls.c:319:8: note: uninitialized use occurs here
319 | kfree(kctx_tx);
| ^~~~~~~
drivers/net/ethernet/broadcom/bnxt/bnxt_ktls.c:277:7: note: remove the '||' if its condition is always false
277 | if (!netif_running(dev) ||
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/broadcom/bnxt/bnxt_ktls.c:260:42: note: initialize the variable 'kctx_tx' to silence this warning
260 | struct bnxt_ktls_offload_ctx_tx *kctx_tx;
| ^
| = NULL
3 warnings generated.
--
>> drivers/net/ethernet/broadcom/bnxt/bnxt_en.o: warning: objtool: bnxt_ktls_dev_del(): unexpected end of section .text
vim +283 drivers/net/ethernet/broadcom/bnxt/bnxt_ktls.c
255
256 static void bnxt_ktls_dev_del(struct net_device *dev,
257 struct tls_context *tls_ctx,
258 enum tls_offload_ctx_dir direction)
259 {
260 struct bnxt_ktls_offload_ctx_tx *kctx_tx;
261 struct bnxt *bp = netdev_priv(dev);
262 struct bnxt_crypto_info *crypto;
263 struct bnxt_tls_info *ktls;
264 struct bnxt_kctx *kctx;
265 int retry_cnt = 0;
266 u8 kind;
267 u32 kid;
268
269 ktls = bp->ktls_info;
270 retry:
271 if (!test_bit(BNXT_STATE_OPEN, &bp->state)) {
272 /* During ifdown or FW reset, all connections will be torn
273 * down by bnxt_crypto_del_all() / FUNC_RESET, so nothing to
274 * do here. Only a reconfiguration is transient and
275 * __bnxt_open_nic() will set BNXT_STATE_OPEN again and wake us.
276 */
> 277 if (!netif_running(dev) ||
278 test_bit(BNXT_STATE_IN_FW_RESET, &bp->state))
279 goto free;
280 /* Bound the wait so a wedged reconfig can't block the kTLS
281 * destruct work indefinitely.
282 */
> 283 if (retry_cnt++ > KTLS_RETRY_MAX) {
284 atomic64_inc(&ktls->counters[BNXT_KTLS_ERR_RETRY_EXCEEDED]);
285 netdev_warn(dev, "%s timed out waiting for device, state %lx\n",
286 __func__, bp->state);
287 goto free;
288 }
289 wait_event_timeout(ktls->open_wq,
290 test_bit(BNXT_STATE_OPEN, &bp->state) ||
291 !netif_running(dev) ||
292 test_bit(BNXT_STATE_IN_FW_RESET, &bp->state),
293 msecs_to_jiffies(KTLS_WAIT_TMO_MS));
294 goto retry;
295 }
296 atomic_inc(&ktls->pending);
297 /* Make sure bnxt_close_nic() sees pending before we check the
298 * BNXT_STATE_OPEN flag.
299 */
300 smp_mb__after_atomic();
301 if (!test_bit(BNXT_STATE_OPEN, &bp->state)) {
302 atomic_dec(&ktls->pending);
303 goto retry;
304 }
305
306 crypto = bp->crypto_info;
307 kctx_tx = bnxt_get_ktls_ctx_tx(tls_ctx);
308 kid = kctx_tx->kid;
309 kctx = &crypto->kctx[BNXT_TX_CRYPTO_KEY_TYPE];
310 kind = BNXT_CTX_KIND_CK_TX;
311 atomic64_inc(&ktls->counters[BNXT_KTLS_TX_DEL]);
312 if (bnxt_kid_valid(kctx, kid) &&
313 !bnxt_crypto_del(bp, kctx->type, kind, kid))
314 bnxt_free_one_kctx(kctx, kid);
315
316 atomic_dec(&ktls->pending);
317 free:
318 bnxt_set_ktls_ctx_tx(tls_ctx, NULL);
319 kfree(kctx_tx);
320 }
321
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply
* [pabeni-devel:mptcp_out_opt_refactor 1/3] net/ipv4/tcp_output.c:846:36: error: incompatible integer to pointer conversion passing 'unsigned int' to parameter of type 'unsigned int *'; remove *
From: kernel test robot @ 2026-06-14 14:27 UTC (permalink / raw)
To: Paolo Abeni; +Cc: llvm, oe-kbuild-all
tree: https://github.com/pabeni/linux-devel mptcp_out_opt_refactor
head: 626881f865b7b1234b444dfa972f0fa3ef80e920
commit: 1414ccc3a56482387d4d1732f8eda9f7ca73647e [1/3] tcp: clean-up mptcp option selection hooks signature
config: i386-randconfig-004-20260614 (https://download.01.org/0day-ci/archive/20260614/202606142224.qs4u2q4L-lkp@intel.com/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260614/202606142224.qs4u2q4L-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/202606142224.qs4u2q4L-lkp@intel.com/
All errors (new ones prefixed by >>):
>> net/ipv4/tcp_output.c:846:36: error: incompatible integer to pointer conversion passing 'unsigned int' to parameter of type 'unsigned int *'; remove * [-Wint-conversion]
846 | size = mptcp_synack_options(req, *remaining, opts);
| ^~~~~~~~~~
include/net/mptcp.h:270:20: note: passing argument to parameter 'size' here
270 | unsigned int *size,
| ^
>> net/ipv4/tcp_output.c:846:48: error: incompatible pointer types passing 'struct tcp_out_options *' to parameter of type 'struct mptcp_out_options *' [-Wincompatible-pointer-types]
846 | size = mptcp_synack_options(req, *remaining, opts);
| ^~~~
include/net/mptcp.h:271:32: note: passing argument to parameter 'opts' here
271 | struct mptcp_out_options *opts)
| ^
>> net/ipv4/tcp_output.c:1004:37: error: incompatible integer to pointer conversion passing 'unsigned int' to parameter of type 'unsigned int *'; take the address with & [-Wint-conversion]
1004 | size = mptcp_syn_options(sk, skb, remaining, opts);
| ^~~~~~~~~
| &
include/net/mptcp.h:263:24: note: passing argument to parameter 'size' here
263 | unsigned int *size,
| ^
net/ipv4/tcp_output.c:1004:48: error: incompatible pointer types passing 'struct tcp_out_options *' to parameter of type 'struct mptcp_out_options *' [-Wincompatible-pointer-types]
1004 | size = mptcp_syn_options(sk, skb, remaining, opts);
| ^~~~
include/net/mptcp.h:264:36: note: passing argument to parameter 'opts' here
264 | struct mptcp_out_options *opts)
| ^
4 errors generated.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for MFD_STMFX
Depends on [n]: HAS_IOMEM [=y] && I2C [=y] && OF [=n]
Selected by [y]:
- PINCTRL_STMFX [=y] && PINCTRL [=y] && I2C [=y] && HAS_IOMEM [=y]
vim +846 net/ipv4/tcp_output.c
838
839 static void mptcp_set_option_cond(const struct request_sock *req,
840 struct tcp_out_options *opts,
841 unsigned int *remaining)
842 {
843 if (rsk_is_mptcp(req)) {
844 unsigned int size;
845
> 846 size = mptcp_synack_options(req, *remaining, opts);
847 if (size >= 0) {
848 opts->options |= OPTION_MPTCP;
849 *remaining -= size;
850 }
851 }
852 }
853
854 static u32 tcp_synack_options_combine_saving(struct tcp_out_options *opts)
855 {
856 /* How much there's room for combining with the alignment padding? */
857 if ((opts->options & (OPTION_SACK_ADVERTISE | OPTION_TS)) ==
858 OPTION_SACK_ADVERTISE)
859 return 2;
860 else if (opts->options & OPTION_WSCALE)
861 return 1;
862 return 0;
863 }
864
865 /* Calculates how long AccECN option will fit to @remaining option space.
866 *
867 * AccECN option can sometimes replace NOPs used for alignment of other
868 * TCP options (up to @max_combine_saving available).
869 *
870 * Only solutions with at least @required AccECN fields are accepted.
871 *
872 * Returns: The size of the AccECN option excluding space repurposed from
873 * the alignment of the other options.
874 */
875 static int tcp_options_fit_accecn(struct tcp_out_options *opts, int required,
876 int remaining)
877 {
878 int size = TCP_ACCECN_MAXSIZE;
879 int sack_blocks_reduce = 0;
880 int max_combine_saving;
881 int rem = remaining;
882 int align_size;
883
884 if (opts->use_synack_ecn_bytes)
885 max_combine_saving = tcp_synack_options_combine_saving(opts);
886 else
887 max_combine_saving = opts->num_sack_blocks > 0 ? 2 : 0;
888 opts->num_accecn_fields = TCP_ACCECN_NUMFIELDS;
889 while (opts->num_accecn_fields >= required) {
890 /* Pad to dword if cannot combine */
891 if ((size & 0x3) > max_combine_saving)
892 align_size = ALIGN(size, 4);
893 else
894 align_size = ALIGN_DOWN(size, 4);
895
896 if (rem >= align_size) {
897 size = align_size;
898 break;
899 } else if (opts->num_accecn_fields == required &&
900 opts->num_sack_blocks > 2 &&
901 required > 0) {
902 /* Try to fit the option by removing one SACK block */
903 opts->num_sack_blocks--;
904 sack_blocks_reduce++;
905 rem = rem + TCPOLEN_SACK_PERBLOCK;
906
907 opts->num_accecn_fields = TCP_ACCECN_NUMFIELDS;
908 size = TCP_ACCECN_MAXSIZE;
909 continue;
910 }
911
912 opts->num_accecn_fields--;
913 size -= TCPOLEN_ACCECN_PERFIELD;
914 }
915 if (sack_blocks_reduce > 0) {
916 if (opts->num_accecn_fields >= required)
917 size -= sack_blocks_reduce * TCPOLEN_SACK_PERBLOCK;
918 else
919 opts->num_sack_blocks += sack_blocks_reduce;
920 }
921 if (opts->num_accecn_fields < required)
922 return 0;
923
924 opts->options |= OPTION_ACCECN;
925 return size;
926 }
927
928 /* Compute TCP options for SYN packets. This is not the final
929 * network wire format yet.
930 */
931 static unsigned int tcp_syn_options(struct sock *sk, struct sk_buff *skb,
932 struct tcp_out_options *opts,
933 struct tcp_key *key)
934 {
935 struct tcp_sock *tp = tcp_sk(sk);
936 unsigned int remaining = MAX_TCP_OPTION_SPACE;
937 struct tcp_fastopen_request *fastopen = tp->fastopen_req;
938 bool timestamps;
939
940 opts->options = 0;
941
942 /* Better than switch (key.type) as it has static branches */
943 if (tcp_key_is_md5(key)) {
944 timestamps = false;
945 opts->options |= OPTION_MD5;
946 remaining -= TCPOLEN_MD5SIG_ALIGNED;
947 } else {
948 timestamps = READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_timestamps);
949 if (tcp_key_is_ao(key)) {
950 opts->options |= OPTION_AO;
951 remaining -= tcp_ao_len_aligned(key->ao_key);
952 }
953 }
954
955 /* We always get an MSS option. The option bytes which will be seen in
956 * normal data packets should timestamps be used, must be in the MSS
957 * advertised. But we subtract them from tp->mss_cache so that
958 * calculations in tcp_sendmsg are simpler etc. So account for this
959 * fact here if necessary. If we don't do this correctly, as a
960 * receiver we won't recognize data packets as being full sized when we
961 * should, and thus we won't abide by the delayed ACK rules correctly.
962 * SACKs don't matter, we never delay an ACK when we have any of those
963 * going out. */
964 opts->mss = tcp_advertise_mss(sk);
965 remaining -= TCPOLEN_MSS_ALIGNED;
966
967 if (likely(timestamps)) {
968 opts->options |= OPTION_TS;
969 opts->tsval = tcp_skb_timestamp_ts(tp->tcp_usec_ts, skb) + tp->tsoffset;
970 opts->tsecr = tp->rx_opt.ts_recent;
971 remaining -= TCPOLEN_TSTAMP_ALIGNED;
972 }
973 if (likely(READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_window_scaling))) {
974 opts->ws = tp->rx_opt.rcv_wscale;
975 opts->options |= OPTION_WSCALE;
976 remaining -= TCPOLEN_WSCALE_ALIGNED;
977 }
978 if (likely(READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_sack))) {
979 opts->options |= OPTION_SACK_ADVERTISE;
980 if (unlikely(!(OPTION_TS & opts->options)))
981 remaining -= TCPOLEN_SACKPERM_ALIGNED;
982 }
983
984 if (fastopen && fastopen->cookie.len >= 0) {
985 u32 need = fastopen->cookie.len;
986
987 need += fastopen->cookie.exp ? TCPOLEN_EXP_FASTOPEN_BASE :
988 TCPOLEN_FASTOPEN_BASE;
989 need = (need + 3) & ~3U; /* Align to 32 bits */
990 if (remaining >= need) {
991 opts->options |= OPTION_FAST_OPEN_COOKIE;
992 opts->fastopen_cookie = &fastopen->cookie;
993 remaining -= need;
994 tp->syn_fastopen = 1;
995 tp->syn_fastopen_exp = fastopen->cookie.exp ? 1 : 0;
996 }
997 }
998
999 smc_set_option(tp, opts, &remaining);
1000
1001 if (sk_is_mptcp(sk)) {
1002 unsigned int size;
1003
> 1004 size = mptcp_syn_options(sk, skb, remaining, opts);
1005 if (size >= 0) {
1006 opts->options |= OPTION_MPTCP;
1007 remaining -= size;
1008 }
1009 }
1010
1011 /* Simultaneous open SYN/ACK needs AccECN option but not SYN.
1012 * It is attempted to negotiate the use of AccECN also on the first
1013 * retransmitted SYN, as mentioned in "3.1.4.1. Retransmitted SYNs"
1014 * of AccECN draft.
1015 */
1016 if (unlikely((TCP_SKB_CB(skb)->tcp_flags & TCPHDR_ACK) &&
1017 tcp_ecn_mode_accecn(tp) &&
1018 inet_csk(sk)->icsk_retransmits < 2 &&
1019 READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_ecn_option) &&
1020 remaining >= TCPOLEN_ACCECN_BASE)) {
1021 opts->use_synack_ecn_bytes = 1;
1022 remaining -= tcp_options_fit_accecn(opts, 0, remaining);
1023 }
1024
1025 remaining = bpf_skops_hdr_opt_len(sk, skb, NULL, NULL, 0, opts,
1026 remaining);
1027
1028 return MAX_TCP_OPTION_SPACE - remaining;
1029 }
1030
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply
* ❌ FAIL: Test report for master (7.1.0-rc7, upstream-mainline, e21ee273)
From: cki-project @ 2026-06-14 13:33 UTC (permalink / raw)
To: llvm, yoyang
Hi, we tested your kernel and here are the results:
Overall result: FAILED
Merge: OK
Compile: OK
Test: FAILED (Did not boot)
Kernel information:
Commit message: Merge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux
You can find all the details about the test run at
https://datawarehouse.cki-project.org/kcidb/checkouts/redhat:2599633709
One or more kernel builds failed:
Builds that are failing to boot:
ppc64le - https://datawarehouse.cki-project.org/kcidb/builds/redhat:2599633709_ppc64le_kernel
One or more kernel tests failed:
Unrecognized or new issues:
xfstests - btrfs
x86_64
Logs: https://datawarehouse.cki-project.org/kcidb/tests/redhat:2599633709_x86_64_kernel_kcidb_tool_21462999_9
Non-passing ran subtests:
❌ FAIL generic/301
We also see the following known issues which are not related to your changes:
Issue: avc: denied { create } for comm="rpc.mountd"
URL: https://bugzilla.redhat.com/show_bug.cgi?id=2456368
Affected tests:
xfstests - nfsv4.2 [x86_64]
If you find a failure unrelated to your changes, please ask the test maintainer to review it.
This will prevent the failures from being incorrectly reported in the future.
Please reply to this email if you have any questions about the tests that we
ran or if you have any suggestions on how to make future tests more effective.
,-. ,-.
( C ) ( K ) Continuous
`-',-.`-' Kernel
( I ) Integration
`-'
______________________________________________________________________________
^ permalink raw reply
* [hare-scsi-devel:configfs-ns.v6 21/24] ERROR: modpost: "mnt_clone_direct" [fs/configfs/configfs.ko] undefined!
From: kernel test robot @ 2026-06-14 10:06 UTC (permalink / raw)
To: Hannes Reinecke; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git configfs-ns.v6
head: 65843faa046b6a3ff4953aba7319313104638535
commit: 6c327e2c66e67e1296c6bd57719991db3a0f250c [21/24] fs/configfs: add superblock as attribute to configfs_pin_fs()
config: riscv-defconfig (https://download.01.org/0day-ci/archive/20260614/202606141740.ztdQfLkT-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 305faf498a4e0b52b40742c927af63ab2082e1a9)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260614/202606141740.ztdQfLkT-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/202606141740.ztdQfLkT-lkp@intel.com/
All errors (new ones prefixed by >>, old ones prefixed by <<):
>> ERROR: modpost: "mnt_clone_direct" [fs/configfs/configfs.ko] undefined!
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply
* ❌ FAIL: Test report for master (7.1.0-rc7, upstream-mainline, 2b07ea76)
From: cki-project @ 2026-06-14 4:03 UTC (permalink / raw)
To: llvm, yoyang
Hi, we tested your kernel and here are the results:
Overall result: FAILED
Merge: OK
Compile: OK
Test: FAILED (Did not boot)
Kernel information:
Commit message: Merge tag 'core-urgent-2026-06-13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
You can find all the details about the test run at
https://datawarehouse.cki-project.org/kcidb/checkouts/redhat:2599134996
One or more kernel builds failed:
Builds that are failing to boot:
ppc64le - https://datawarehouse.cki-project.org/kcidb/builds/redhat:2599134996_ppc64le_kernel
One or more kernel tests failed:
Unrecognized or new issues:
xfstests - btrfs
aarch64
Logs: https://datawarehouse.cki-project.org/kcidb/tests/redhat:2599134996_aarch64_kernel_kcidb_tool_21462083_9
Non-passing ran subtests:
❌ FAIL generic/301
We also see the following known issues which are not related to your changes:
Issue: avc: denied { create } for comm="rpc.mountd"
URL: https://bugzilla.redhat.com/show_bug.cgi?id=2456368
Affected tests:
xfstests - nfsv4.2 [x86_64]
Issue: avc: denied { name_bind } for pid=897864 comm="rpcbind" src=63924 scontext=system_u:system_r:rpcbind_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=udp_socket permissive=1
URL: https://bugzilla.redhat.com/show_bug.cgi?id=1758147
Affected tests:
xfstests - nfsv4.2 [x86_64]
If you find a failure unrelated to your changes, please ask the test maintainer to review it.
This will prevent the failures from being incorrectly reported in the future.
Please reply to this email if you have any questions about the tests that we
ran or if you have any suggestions on how to make future tests more effective.
,-. ,-.
( C ) ( K ) Continuous
`-',-.`-' Kernel
( I ) Integration
`-'
______________________________________________________________________________
^ permalink raw reply
* [drm-tip:drm-tip 1/9] drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c:203:1: warning: unused label 'retry'
From: kernel test robot @ 2026-06-14 1:23 UTC (permalink / raw)
To: Dave Airlie; +Cc: llvm, oe-kbuild-all, intel-gfx, dri-devel, Matthew Brost
tree: https://gitlab.freedesktop.org/drm/tip.git drm-tip
head: 5fc0f82c971ea3b4e1c58602c0be573a802a8670
commit: f8363c190f6fe6cffebc8733c2375330112327f9 [1/9] Merge remote-tracking branch 'drm/drm-next' into drm-tip
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20260614/202606140935.EiNEvxGP-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 305faf498a4e0b52b40742c927af63ab2082e1a9)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260614/202606140935.EiNEvxGP-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/202606140935.EiNEvxGP-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c:203:1: warning: unused label 'retry' [-Wunused-label]
203 | retry:
| ^~~~~~
1 warning generated.
vim +/retry +203 drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c
04d8d73dbcbe645 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c Philip Yang 2020-02-24 168
04d8d73dbcbe645 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c Philip Yang 2020-02-24 169 int amdgpu_hmm_range_get_pages(struct mmu_interval_notifier *notifier,
d4cbff464d2932a drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c Christian König 2022-11-09 170 uint64_t start, uint64_t npages, bool readonly,
c5b3cc417b0260a drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c Sunil Khatri 2025-09-17 171 void *owner,
737da5363cc07c9 drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c Sunil Khatri 2025-10-10 172 struct amdgpu_hmm_range *range)
04d8d73dbcbe645 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c Philip Yang 2020-02-24 173 {
962d684b5dc0741 drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c Christian König 2026-02-18 174 const u64 max_bytes = SZ_2G;
962d684b5dc0741 drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c Christian König 2026-02-18 175
962d684b5dc0741 drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c Christian König 2026-02-18 176 struct hmm_range *hmm_range = &range->hmm_range;
04d8d73dbcbe645 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c Philip Yang 2020-02-24 177 unsigned long *pfns;
962d684b5dc0741 drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c Christian König 2026-02-18 178 unsigned long end;
962d684b5dc0741 drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c Christian König 2026-02-18 179 int r;
04d8d73dbcbe645 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c Philip Yang 2020-02-24 180
04d8d73dbcbe645 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c Philip Yang 2020-02-24 181 pfns = kvmalloc_array(npages, sizeof(*pfns), GFP_KERNEL);
04d8d73dbcbe645 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c Philip Yang 2020-02-24 182 if (unlikely(!pfns)) {
04d8d73dbcbe645 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c Philip Yang 2020-02-24 183 r = -ENOMEM;
04d8d73dbcbe645 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c Philip Yang 2020-02-24 184 goto out_free_range;
04d8d73dbcbe645 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c Philip Yang 2020-02-24 185 }
04d8d73dbcbe645 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c Philip Yang 2020-02-24 186
04d8d73dbcbe645 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c Philip Yang 2020-02-24 187 hmm_range->notifier = notifier;
04d8d73dbcbe645 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c Philip Yang 2020-02-24 188 hmm_range->default_flags = HMM_PFN_REQ_FAULT;
04d8d73dbcbe645 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c Philip Yang 2020-02-24 189 if (!readonly)
04d8d73dbcbe645 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c Philip Yang 2020-02-24 190 hmm_range->default_flags |= HMM_PFN_REQ_WRITE;
04d8d73dbcbe645 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c Philip Yang 2020-02-24 191 hmm_range->hmm_pfns = pfns;
04d8d73dbcbe645 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c Philip Yang 2020-02-24 192 hmm_range->start = start;
c1420a5dd4dd2a1 drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c James Zhu 2022-11-17 193 end = start + npages * PAGE_SIZE;
8c21fc49a8e637b drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c Alex Sierra 2021-05-06 194 hmm_range->dev_private_owner = owner;
d8a3c1c80ceb656 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c Philip Yang 2021-03-30 195
962d684b5dc0741 drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c Christian König 2026-02-18 196 hmm_range->notifier_seq = mmu_interval_read_begin(notifier);
c1420a5dd4dd2a1 drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c James Zhu 2022-11-17 197 do {
962d684b5dc0741 drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c Christian König 2026-02-18 198 hmm_range->end = min(hmm_range->start + max_bytes, end);
c1420a5dd4dd2a1 drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c James Zhu 2022-11-17 199
c1420a5dd4dd2a1 drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c James Zhu 2022-11-17 200 pr_debug("hmm range: start = 0x%lx, end = 0x%lx",
c1420a5dd4dd2a1 drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c James Zhu 2022-11-17 201 hmm_range->start, hmm_range->end);
c1420a5dd4dd2a1 drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c James Zhu 2022-11-17 202
04d8d73dbcbe645 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c Philip Yang 2020-02-24 @203 retry:
04d8d73dbcbe645 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c Philip Yang 2020-02-24 204 r = hmm_range_fault(hmm_range);
342981fff32802a drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c Honglei Huang 2026-05-29 205 if (unlikely(r))
04d8d73dbcbe645 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c Philip Yang 2020-02-24 206 goto out_free_pfns;
04d8d73dbcbe645 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c Philip Yang 2020-02-24 207
c1420a5dd4dd2a1 drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c James Zhu 2022-11-17 208 if (hmm_range->end == end)
c1420a5dd4dd2a1 drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c James Zhu 2022-11-17 209 break;
962d684b5dc0741 drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c Christian König 2026-02-18 210 hmm_range->hmm_pfns += max_bytes >> PAGE_SHIFT;
c1420a5dd4dd2a1 drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c James Zhu 2022-11-17 211 hmm_range->start = hmm_range->end;
c1420a5dd4dd2a1 drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c James Zhu 2022-11-17 212 } while (hmm_range->end < end);
c1420a5dd4dd2a1 drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c James Zhu 2022-11-17 213
c1420a5dd4dd2a1 drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c James Zhu 2022-11-17 214 hmm_range->start = start;
c1420a5dd4dd2a1 drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c James Zhu 2022-11-17 215 hmm_range->hmm_pfns = pfns;
c1420a5dd4dd2a1 drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c James Zhu 2022-11-17 216
04d8d73dbcbe645 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c Philip Yang 2020-02-24 217 return 0;
04d8d73dbcbe645 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c Philip Yang 2020-02-24 218
04d8d73dbcbe645 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c Philip Yang 2020-02-24 219 out_free_pfns:
04d8d73dbcbe645 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c Philip Yang 2020-02-24 220 kvfree(pfns);
dfc74e37bdb487e drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c Srinivasan Shanmugam 2025-10-23 221 hmm_range->hmm_pfns = NULL;
04d8d73dbcbe645 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c Philip Yang 2020-02-24 222 out_free_range:
9095e5544061b16 drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c Philip Yang 2024-04-30 223 if (r == -EBUSY)
9095e5544061b16 drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c Philip Yang 2024-04-30 224 r = -EAGAIN;
04d8d73dbcbe645 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c Philip Yang 2020-02-24 225 return r;
04d8d73dbcbe645 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c Philip Yang 2020-02-24 226 }
04d8d73dbcbe645 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c Philip Yang 2020-02-24 227
:::::: The code at line 203 was first introduced by commit
:::::: 04d8d73dbcbe645a378fca6adc6f0e7111e46c17 drm/amdgpu: add common HMM get pages function
:::::: TO: Philip Yang <Philip.Yang@amd.com>
:::::: CC: Alex Deucher <alexander.deucher@amd.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply
* [hare-scsi-devel:configfs-ns.v6 1/24] drivers/nvme/target/bpf.h:26:9: error: call to undeclared function 'nvmet_bpf_req_complete'; ISO C99 and later do not support implicit function declarations
From: kernel test robot @ 2026-06-14 0:03 UTC (permalink / raw)
To: Hannes Reinecke; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git configfs-ns.v6
head: 65843faa046b6a3ff4953aba7319313104638535
commit: 95eeb6714114cd17d9c4c494a28cc11d86059eef [1/24] nvmet-bpf: eBPF struct_ops support for log pages
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260614/202606140700.QNDLr2fR-lkp@intel.com/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260614/202606140700.QNDLr2fR-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/202606140700.QNDLr2fR-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
In file included from drivers/nvme/target/core.c:17:
In file included from drivers/nvme/target/trace.h:19:
In file included from drivers/nvme/target/nvmet.h:26:
>> drivers/nvme/target/bpf.h:15:44: warning: declaration of 'struct nvmet_subsys_link' will not be visible outside of this function [-Wvisibility]
15 | static inline void nvmet_bpf_detach(struct nvmet_subsys_link *s) {}
| ^
>> drivers/nvme/target/bpf.h:16:47: warning: declaration of 'struct nvmet_subsys' will not be visible outside of this function [-Wvisibility]
16 | static inline bool nvmet_bpf_supported(struct nvmet_subsys *subsys, struct nvmet_port *port)
| ^
>> drivers/nvme/target/bpf.h:16:76: warning: declaration of 'struct nvmet_port' will not be visible outside of this function [-Wvisibility]
16 | static inline bool nvmet_bpf_supported(struct nvmet_subsys *subsys, struct nvmet_port *port)
| ^
>> drivers/nvme/target/bpf.h:20:56: warning: declaration of 'struct nvmet_req' will not be visible outside of this function [-Wvisibility]
20 | static inline bool nvmet_bpf_log_page_supported(struct nvmet_req *req, u8 lid)
| ^
drivers/nvme/target/bpf.h:24:50: warning: declaration of 'struct nvmet_subsys' will not be visible outside of this function [-Wvisibility]
24 | static inline void nvmet_bpf_get_log_page(struct nvmet_subsys *subsys, struct nvmet_req *req)
| ^
drivers/nvme/target/bpf.h:24:79: warning: declaration of 'struct nvmet_req' will not be visible outside of this function [-Wvisibility]
24 | static inline void nvmet_bpf_get_log_page(struct nvmet_subsys *subsys, struct nvmet_req *req)
| ^
>> drivers/nvme/target/bpf.h:26:9: error: call to undeclared function 'nvmet_bpf_req_complete'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
26 | return nvmet_bpf_req_complete(req, NVME_SC_INVALID_FIELD | NVME_SC_DNR);
| ^
>> drivers/nvme/target/bpf.h:26:61: error: use of undeclared identifier 'NVME_SC_DNR'
26 | return nvmet_bpf_req_complete(req, NVME_SC_INVALID_FIELD | NVME_SC_DNR);
| ^~~~~~~~~~~
6 warnings and 2 errors generated.
--
In file included from drivers/nvme/target/configfs.c:23:
In file included from drivers/nvme/target/nvmet.h:26:
>> drivers/nvme/target/bpf.h:15:44: warning: declaration of 'struct nvmet_subsys_link' will not be visible outside of this function [-Wvisibility]
15 | static inline void nvmet_bpf_detach(struct nvmet_subsys_link *s) {}
| ^
>> drivers/nvme/target/bpf.h:16:47: warning: declaration of 'struct nvmet_subsys' will not be visible outside of this function [-Wvisibility]
16 | static inline bool nvmet_bpf_supported(struct nvmet_subsys *subsys, struct nvmet_port *port)
| ^
>> drivers/nvme/target/bpf.h:16:76: warning: declaration of 'struct nvmet_port' will not be visible outside of this function [-Wvisibility]
16 | static inline bool nvmet_bpf_supported(struct nvmet_subsys *subsys, struct nvmet_port *port)
| ^
>> drivers/nvme/target/bpf.h:20:56: warning: declaration of 'struct nvmet_req' will not be visible outside of this function [-Wvisibility]
20 | static inline bool nvmet_bpf_log_page_supported(struct nvmet_req *req, u8 lid)
| ^
drivers/nvme/target/bpf.h:24:50: warning: declaration of 'struct nvmet_subsys' will not be visible outside of this function [-Wvisibility]
24 | static inline void nvmet_bpf_get_log_page(struct nvmet_subsys *subsys, struct nvmet_req *req)
| ^
drivers/nvme/target/bpf.h:24:79: warning: declaration of 'struct nvmet_req' will not be visible outside of this function [-Wvisibility]
24 | static inline void nvmet_bpf_get_log_page(struct nvmet_subsys *subsys, struct nvmet_req *req)
| ^
>> drivers/nvme/target/bpf.h:26:9: error: call to undeclared function 'nvmet_bpf_req_complete'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
26 | return nvmet_bpf_req_complete(req, NVME_SC_INVALID_FIELD | NVME_SC_DNR);
| ^
>> drivers/nvme/target/bpf.h:26:61: error: use of undeclared identifier 'NVME_SC_DNR'
26 | return nvmet_bpf_req_complete(req, NVME_SC_INVALID_FIELD | NVME_SC_DNR);
| ^~~~~~~~~~~
>> drivers/nvme/target/configfs.c:1114:19: error: incompatible pointer types passing 'struct nvmet_subsys_link *' to parameter of type 'struct nvmet_subsys_link *' [-Wincompatible-pointer-types]
1114 | nvmet_bpf_detach(p);
| ^
drivers/nvme/target/bpf.h:15:63: note: passing argument to parameter 's' here
15 | static inline void nvmet_bpf_detach(struct nvmet_subsys_link *s) {}
| ^
6 warnings and 3 errors generated.
--
In file included from drivers/nvme/target/admin-cmd.c:13:
In file included from drivers/nvme/target/nvmet.h:26:
>> drivers/nvme/target/bpf.h:15:44: warning: declaration of 'struct nvmet_subsys_link' will not be visible outside of this function [-Wvisibility]
15 | static inline void nvmet_bpf_detach(struct nvmet_subsys_link *s) {}
| ^
>> drivers/nvme/target/bpf.h:16:47: warning: declaration of 'struct nvmet_subsys' will not be visible outside of this function [-Wvisibility]
16 | static inline bool nvmet_bpf_supported(struct nvmet_subsys *subsys, struct nvmet_port *port)
| ^
>> drivers/nvme/target/bpf.h:16:76: warning: declaration of 'struct nvmet_port' will not be visible outside of this function [-Wvisibility]
16 | static inline bool nvmet_bpf_supported(struct nvmet_subsys *subsys, struct nvmet_port *port)
| ^
>> drivers/nvme/target/bpf.h:20:56: warning: declaration of 'struct nvmet_req' will not be visible outside of this function [-Wvisibility]
20 | static inline bool nvmet_bpf_log_page_supported(struct nvmet_req *req, u8 lid)
| ^
drivers/nvme/target/bpf.h:24:50: warning: declaration of 'struct nvmet_subsys' will not be visible outside of this function [-Wvisibility]
24 | static inline void nvmet_bpf_get_log_page(struct nvmet_subsys *subsys, struct nvmet_req *req)
| ^
drivers/nvme/target/bpf.h:24:79: warning: declaration of 'struct nvmet_req' will not be visible outside of this function [-Wvisibility]
24 | static inline void nvmet_bpf_get_log_page(struct nvmet_subsys *subsys, struct nvmet_req *req)
| ^
>> drivers/nvme/target/bpf.h:26:9: error: call to undeclared function 'nvmet_bpf_req_complete'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
26 | return nvmet_bpf_req_complete(req, NVME_SC_INVALID_FIELD | NVME_SC_DNR);
| ^
>> drivers/nvme/target/bpf.h:26:61: error: use of undeclared identifier 'NVME_SC_DNR'
26 | return nvmet_bpf_req_complete(req, NVME_SC_INVALID_FIELD | NVME_SC_DNR);
| ^~~~~~~~~~~
>> drivers/nvme/target/admin-cmd.c:224:26: error: incompatible pointer types passing 'struct nvmet_subsys *' to parameter of type 'struct nvmet_subsys *' [-Wincompatible-pointer-types]
224 | if (nvmet_bpf_supported(ctrl->subsys, req->port)) {
| ^~~~~~~~~~~~
drivers/nvme/target/bpf.h:16:61: note: passing argument to parameter 'subsys' here
16 | static inline bool nvmet_bpf_supported(struct nvmet_subsys *subsys, struct nvmet_port *port)
| ^
>> drivers/nvme/target/admin-cmd.c:224:40: error: incompatible pointer types passing 'struct nvmet_port *' to parameter of type 'struct nvmet_port *' [-Wincompatible-pointer-types]
224 | if (nvmet_bpf_supported(ctrl->subsys, req->port)) {
| ^~~~~~~~~
drivers/nvme/target/bpf.h:16:88: note: passing argument to parameter 'port' here
16 | static inline bool nvmet_bpf_supported(struct nvmet_subsys *subsys, struct nvmet_port *port)
| ^
>> drivers/nvme/target/admin-cmd.c:228:37: error: incompatible pointer types passing 'struct nvmet_req *' to parameter of type 'struct nvmet_req *' [-Wincompatible-pointer-types]
228 | if (nvmet_bpf_log_page_supported(req, i))
| ^~~
drivers/nvme/target/bpf.h:20:67: note: passing argument to parameter 'req' here
20 | static inline bool nvmet_bpf_log_page_supported(struct nvmet_req *req, u8 lid)
| ^
drivers/nvme/target/admin-cmd.c:626:26: error: incompatible pointer types passing 'struct nvmet_subsys *' to parameter of type 'struct nvmet_subsys *' [-Wincompatible-pointer-types]
626 | if (nvmet_bpf_supported(ctrl->subsys, req->port) &&
| ^~~~~~~~~~~~
drivers/nvme/target/bpf.h:16:61: note: passing argument to parameter 'subsys' here
16 | static inline bool nvmet_bpf_supported(struct nvmet_subsys *subsys, struct nvmet_port *port)
| ^
drivers/nvme/target/admin-cmd.c:626:40: error: incompatible pointer types passing 'struct nvmet_port *' to parameter of type 'struct nvmet_port *' [-Wincompatible-pointer-types]
626 | if (nvmet_bpf_supported(ctrl->subsys, req->port) &&
| ^~~~~~~~~
drivers/nvme/target/bpf.h:16:88: note: passing argument to parameter 'port' here
16 | static inline bool nvmet_bpf_supported(struct nvmet_subsys *subsys, struct nvmet_port *port)
| ^
drivers/nvme/target/admin-cmd.c:627:35: error: incompatible pointer types passing 'struct nvmet_req *' to parameter of type 'struct nvmet_req *' [-Wincompatible-pointer-types]
627 | nvmet_bpf_log_page_supported(req, lid))
| ^~~
drivers/nvme/target/bpf.h:20:67: note: passing argument to parameter 'req' here
20 | static inline bool nvmet_bpf_log_page_supported(struct nvmet_req *req, u8 lid)
| ^
drivers/nvme/target/admin-cmd.c:628:33: error: incompatible pointer types passing 'struct nvmet_subsys *' to parameter of type 'struct nvmet_subsys *' [-Wincompatible-pointer-types]
628 | return nvmet_bpf_get_log_page(ctrl->subsys, req);
| ^~~~~~~~~~~~
drivers/nvme/target/bpf.h:24:64: note: passing argument to parameter 'subsys' here
24 | static inline void nvmet_bpf_get_log_page(struct nvmet_subsys *subsys, struct nvmet_req *req)
| ^
drivers/nvme/target/admin-cmd.c:628:47: error: incompatible pointer types passing 'struct nvmet_req *' to parameter of type 'struct nvmet_req *' [-Wincompatible-pointer-types]
628 | return nvmet_bpf_get_log_page(ctrl->subsys, req);
| ^~~
drivers/nvme/target/bpf.h:24:90: note: passing argument to parameter 'req' here
24 | static inline void nvmet_bpf_get_log_page(struct nvmet_subsys *subsys, struct nvmet_req *req)
| ^
6 warnings and 10 errors generated.
--
In file included from drivers/nvme/target/fcloop.c:11:
In file included from drivers/nvme/target/../target/nvmet.h:26:
>> drivers/nvme/target/../target/bpf.h:15:44: warning: declaration of 'struct nvmet_subsys_link' will not be visible outside of this function [-Wvisibility]
15 | static inline void nvmet_bpf_detach(struct nvmet_subsys_link *s) {}
| ^
>> drivers/nvme/target/../target/bpf.h:16:47: warning: declaration of 'struct nvmet_subsys' will not be visible outside of this function [-Wvisibility]
16 | static inline bool nvmet_bpf_supported(struct nvmet_subsys *subsys, struct nvmet_port *port)
| ^
>> drivers/nvme/target/../target/bpf.h:16:76: warning: declaration of 'struct nvmet_port' will not be visible outside of this function [-Wvisibility]
16 | static inline bool nvmet_bpf_supported(struct nvmet_subsys *subsys, struct nvmet_port *port)
| ^
>> drivers/nvme/target/../target/bpf.h:20:56: warning: declaration of 'struct nvmet_req' will not be visible outside of this function [-Wvisibility]
20 | static inline bool nvmet_bpf_log_page_supported(struct nvmet_req *req, u8 lid)
| ^
drivers/nvme/target/../target/bpf.h:24:50: warning: declaration of 'struct nvmet_subsys' will not be visible outside of this function [-Wvisibility]
24 | static inline void nvmet_bpf_get_log_page(struct nvmet_subsys *subsys, struct nvmet_req *req)
| ^
drivers/nvme/target/../target/bpf.h:24:79: warning: declaration of 'struct nvmet_req' will not be visible outside of this function [-Wvisibility]
24 | static inline void nvmet_bpf_get_log_page(struct nvmet_subsys *subsys, struct nvmet_req *req)
| ^
>> drivers/nvme/target/../target/bpf.h:26:9: error: call to undeclared function 'nvmet_bpf_req_complete'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
26 | return nvmet_bpf_req_complete(req, NVME_SC_INVALID_FIELD | NVME_SC_DNR);
| ^
drivers/nvme/target/../target/bpf.h:26:61: error: use of undeclared identifier 'NVME_SC_DNR'
26 | return nvmet_bpf_req_complete(req, NVME_SC_INVALID_FIELD | NVME_SC_DNR);
| ^~~~~~~~~~~
6 warnings and 2 errors generated.
vim +/nvmet_bpf_req_complete +26 drivers/nvme/target/bpf.h
8
9 void nvmet_bpf_detach(struct nvmet_subsys_link *s);
10 bool nvmet_bpf_supported(struct nvmet_subsys *subsys, struct nvmet_port *port);
11 bool nvmet_bpf_log_page_supported(struct nvmet_req *req, u8 lid);
12 void nvmet_bpf_get_log_page(struct nvmet_subsys *subsys, struct nvmet_req *req);
13 int __init nvmet_bpf_struct_ops_init(void);
14 #else
> 15 static inline void nvmet_bpf_detach(struct nvmet_subsys_link *s) {}
> 16 static inline bool nvmet_bpf_supported(struct nvmet_subsys *subsys, struct nvmet_port *port)
17 {
18 return false;
19 }
> 20 static inline bool nvmet_bpf_log_page_supported(struct nvmet_req *req, u8 lid)
21 {
22 return false;
23 }
24 static inline void nvmet_bpf_get_log_page(struct nvmet_subsys *subsys, struct nvmet_req *req)
25 {
> 26 return nvmet_bpf_req_complete(req, NVME_SC_INVALID_FIELD | NVME_SC_DNR);
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply
* arch/um/drivers/ubd_kern.c:780:13: warning: stack frame size (2152) exceeds limit (2048) in 'ubd_device_release'
From: kernel test robot @ 2026-06-13 22:43 UTC (permalink / raw)
To: Ming Lei
Cc: llvm, oe-kbuild-all, linux-kernel, Jens Axboe, Christoph Hellwig,
Hannes Reinecke, Nilay Shroff
Hi Ming,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 2b07ea76fd28989bde5993532d7a943a6f90e246
commit: 98e68f67020ce30e1a4d8e2d05d85a453738dfb8 block: prevent adding/deleting disk during updating nr_hw_queues
date: 1 year, 1 month ago
config: um-allmodconfig (https://download.01.org/0day-ci/archive/20260614/202606140630.5Zgn7q8o-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 305faf498a4e0b52b40742c927af63ab2082e1a9)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260614/202606140630.5Zgn7q8o-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
| Fixes: 98e68f67020c ("block: prevent adding/deleting disk during updating nr_hw_queues")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202606140630.5Zgn7q8o-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from <built-in>:3:
In file included from include/linux/compiler_types.h:171:
include/linux/compiler-clang.h:28:9: warning: '__SANITIZE_ADDRESS__' macro redefined [-Wmacro-redefined]
28 | #define __SANITIZE_ADDRESS__
| ^
<built-in>:352:9: note: previous definition is here
352 | #define __SANITIZE_ADDRESS__ 1
| ^
In file included from arch/um/drivers/ubd_kern.c:26:
In file included from include/linux/blkdev.h:9:
In file included from include/linux/blk_types.h:10:
In file included from include/linux/bvec.h:10:
In file included from include/linux/highmem.h:12:
In file included from include/linux/hardirq.h:11:
In file included from arch/um/include/asm/hardirq.h:5:
In file included from include/asm-generic/hardirq.h:17:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:12:
In file included from arch/um/include/asm/io.h:24:
include/asm-generic/io.h:549:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
549 | val = __raw_readb(PCI_IOBASE + addr);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:567:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
567 | val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr));
| ~~~~~~~~~~ ^
include/uapi/linux/byteorder/little_endian.h:37:51: note: expanded from macro '__le16_to_cpu'
37 | #define __le16_to_cpu(x) ((__force __u16)(__le16)(x))
| ^
In file included from arch/um/drivers/ubd_kern.c:26:
In file included from include/linux/blkdev.h:9:
In file included from include/linux/blk_types.h:10:
In file included from include/linux/bvec.h:10:
In file included from include/linux/highmem.h:12:
In file included from include/linux/hardirq.h:11:
In file included from arch/um/include/asm/hardirq.h:5:
In file included from include/asm-generic/hardirq.h:17:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:12:
In file included from arch/um/include/asm/io.h:24:
include/asm-generic/io.h:585:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
585 | val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr));
| ~~~~~~~~~~ ^
include/uapi/linux/byteorder/little_endian.h:35:51: note: expanded from macro '__le32_to_cpu'
35 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x))
| ^
In file included from arch/um/drivers/ubd_kern.c:26:
In file included from include/linux/blkdev.h:9:
In file included from include/linux/blk_types.h:10:
In file included from include/linux/bvec.h:10:
In file included from include/linux/highmem.h:12:
In file included from include/linux/hardirq.h:11:
In file included from arch/um/include/asm/hardirq.h:5:
In file included from include/asm-generic/hardirq.h:17:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:12:
In file included from arch/um/include/asm/io.h:24:
include/asm-generic/io.h:601:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
601 | __raw_writeb(value, PCI_IOBASE + addr);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:616:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
616 | __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:631:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
631 | __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:724:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
724 | readsb(PCI_IOBASE + addr, buffer, count);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:737:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
737 | readsw(PCI_IOBASE + addr, buffer, count);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:750:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
750 | readsl(PCI_IOBASE + addr, buffer, count);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:764:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
764 | writesb(PCI_IOBASE + addr, buffer, count);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:778:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
778 | writesw(PCI_IOBASE + addr, buffer, count);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:792:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
792 | writesl(PCI_IOBASE + addr, buffer, count);
| ~~~~~~~~~~ ^
arch/um/drivers/ubd_kern.c:1495:12: warning: variable 'io_count' set but not used [-Wunused-but-set-global]
1495 | static int io_count;
| ^
>> arch/um/drivers/ubd_kern.c:780:13: warning: stack frame size (2152) exceeds limit (2048) in 'ubd_device_release' [-Wframe-larger-than]
780 | static void ubd_device_release(struct device *dev)
| ^
15 warnings generated.
vim +/ubd_device_release +780 arch/um/drivers/ubd_kern.c
^1da177e4c3f415 Linus Torvalds 2005-04-16 779
2e3f5251ac71687 Jeff Dike 2007-05-06 @780 static void ubd_device_release(struct device *dev)
2e3f5251ac71687 Jeff Dike 2007-05-06 781 {
5bee35e5389f450 Tiwei Bie 2024-11-05 782 struct ubd *ubd_dev = container_of(dev, struct ubd, pdev.dev);
2e3f5251ac71687 Jeff Dike 2007-05-06 783
4e6da0fe8058df9 Richard Weinberger 2017-11-26 784 blk_mq_free_tag_set(&ubd_dev->tag_set);
2e3f5251ac71687 Jeff Dike 2007-05-06 785 *ubd_dev = ((struct ubd) DEFAULT_UBD);
2e3f5251ac71687 Jeff Dike 2007-05-06 786 }
2e3f5251ac71687 Jeff Dike 2007-05-06 787
:::::: The code at line 780 was first introduced by commit
:::::: 2e3f5251ac716879df6b6271f243f657c6e02e9a uml: drivers get release methods
:::::: TO: Jeff Dike <jdike@addtoit.com>
:::::: CC: Linus Torvalds <torvalds@woody.linux-foundation.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply
* Re: [PATCH] staging: greybus: audio: evaluate sscanf() return value directly
From: kernel test robot @ 2026-06-13 19:41 UTC (permalink / raw)
To: abdelnasser hussein, Vaibhav Agarwal, Mark Greer, Johan Hovold,
Alex Elder, Greg Kroah-Hartman
Cc: llvm, oe-kbuild-all, greybus-dev, linux-staging, linux-kernel,
abdelnasser hussein
In-Reply-To: <20260613110748.13497-1-abdelnasserhussein11@gmail.com>
Hi abdelnasser,
kernel test robot noticed the following build warnings:
[auto build test WARNING on staging/staging-testing]
url: https://github.com/intel-lab-lkp/linux/commits/abdelnasser-hussein/staging-greybus-audio-evaluate-sscanf-return-value-directly/20260613-191253
base: staging/staging-testing
patch link: https://lore.kernel.org/r/20260613110748.13497-1-abdelnasserhussein11%40gmail.com
patch subject: [PATCH] staging: greybus: audio: evaluate sscanf() return value directly
config: riscv-allyesconfig (https://download.01.org/0day-ci/archive/20260614/202606140347.gGVWDnbi-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 305faf498a4e0b52b40742c927af63ab2082e1a9)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260614/202606140347.gGVWDnbi-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/202606140347.gGVWDnbi-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/staging/greybus/audio_codec.c:325:13: warning: variable 'ret' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
325 | } else if (w->id == snd_soc_dapm_aif_out) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/greybus/audio_codec.c:334:9: note: uninitialized use occurs here
334 | return ret;
| ^~~
drivers/staging/greybus/audio_codec.c:325:9: note: remove the 'if' if its condition is always true
325 | } else if (w->id == snd_soc_dapm_aif_out) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/greybus/audio_codec.c:302:17: note: initialize the variable 'ret' to silence this warning
302 | int dai_id, ret;
| ^
| = 0
1 warning generated.
vim +325 drivers/staging/greybus/audio_codec.c
6dd67645f22cfe Vaibhav Agarwal 2016-03-29 297
6dd67645f22cfe Vaibhav Agarwal 2016-03-29 298 int gbaudio_module_update(struct gbaudio_codec_info *codec,
4ffca62a051c3e Vaibhav Agarwal 2016-08-04 299 struct snd_soc_dapm_widget *w,
6dd67645f22cfe Vaibhav Agarwal 2016-03-29 300 struct gbaudio_module_info *module, int enable)
6dd67645f22cfe Vaibhav Agarwal 2016-03-29 301 {
60e7327d54b270 Vaibhav Agarwal 2016-08-04 302 int dai_id, ret;
60e7327d54b270 Vaibhav Agarwal 2016-08-04 303 char intf_name[NAME_SIZE], dir[NAME_SIZE];
6dd67645f22cfe Vaibhav Agarwal 2016-03-29 304
60e7327d54b270 Vaibhav Agarwal 2016-08-04 305 dev_dbg(module->dev, "%s:Module update %s sequence\n", w->name,
6dd67645f22cfe Vaibhav Agarwal 2016-03-29 306 enable ? "Enable" : "Disable");
6dd67645f22cfe Vaibhav Agarwal 2016-03-29 307
487dcbd6ba4654 Vaibhav Agarwal 2016-08-04 308 if ((w->id != snd_soc_dapm_aif_in) && (w->id != snd_soc_dapm_aif_out)) {
60e7327d54b270 Vaibhav Agarwal 2016-08-04 309 dev_dbg(codec->dev, "No action required for %s\n", w->name);
6dd67645f22cfe Vaibhav Agarwal 2016-03-29 310 return 0;
6dd67645f22cfe Vaibhav Agarwal 2016-03-29 311 }
6dd67645f22cfe Vaibhav Agarwal 2016-03-29 312
60e7327d54b270 Vaibhav Agarwal 2016-08-04 313 /* parse dai_id from AIF widget's stream_name */
034351c29c6494 abdelnasser hussein 2026-06-13 314 if (sscanf(w->sname, "%s %d %s", intf_name, &dai_id, dir) != 3) {
620d28440c10b8 Deepak R Varma 2020-10-22 315 dev_err(codec->dev, "Error while parsing dai_id for %s\n", w->name);
60e7327d54b270 Vaibhav Agarwal 2016-08-04 316 return -EINVAL;
60e7327d54b270 Vaibhav Agarwal 2016-08-04 317 }
60e7327d54b270 Vaibhav Agarwal 2016-08-04 318
aaef32a6cc552d Vaibhav Agarwal 2016-08-04 319 mutex_lock(&codec->lock);
487dcbd6ba4654 Vaibhav Agarwal 2016-08-04 320 if (w->id == snd_soc_dapm_aif_in) {
6dd67645f22cfe Vaibhav Agarwal 2016-03-29 321 if (enable)
60e7327d54b270 Vaibhav Agarwal 2016-08-04 322 ret = gbaudio_module_enable_tx(codec, module, dai_id);
6dd67645f22cfe Vaibhav Agarwal 2016-03-29 323 else
60e7327d54b270 Vaibhav Agarwal 2016-08-04 324 ret = gbaudio_module_disable_tx(module, dai_id);
487dcbd6ba4654 Vaibhav Agarwal 2016-08-04 @325 } else if (w->id == snd_soc_dapm_aif_out) {
094c4302c11889 Vaibhav Agarwal 2016-03-29 326 if (enable)
60e7327d54b270 Vaibhav Agarwal 2016-08-04 327 ret = gbaudio_module_enable_rx(codec, module, dai_id);
094c4302c11889 Vaibhav Agarwal 2016-03-29 328 else
60e7327d54b270 Vaibhav Agarwal 2016-08-04 329 ret = gbaudio_module_disable_rx(module, dai_id);
094c4302c11889 Vaibhav Agarwal 2016-03-29 330 }
487dcbd6ba4654 Vaibhav Agarwal 2016-08-04 331
aaef32a6cc552d Vaibhav Agarwal 2016-08-04 332 mutex_unlock(&codec->lock);
6dd67645f22cfe Vaibhav Agarwal 2016-03-29 333
6dd67645f22cfe Vaibhav Agarwal 2016-03-29 334 return ret;
6dd67645f22cfe Vaibhav Agarwal 2016-03-29 335 }
6dd67645f22cfe Vaibhav Agarwal 2016-03-29 336 EXPORT_SYMBOL(gbaudio_module_update);
6dd67645f22cfe Vaibhav Agarwal 2016-03-29 337
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply
* Re: [PATCH] net: correcting section tags for .init and .exit data/functions
From: Nathan Chancellor @ 2026-06-13 17:01 UTC (permalink / raw)
To: xur
Cc: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
Simon Horman, Neal Cardwell, Kuniyuki Iwashima, Willem de Bruijn,
David Ahern, Ido Schimmel, Andreas Färber,
Manivannan Sadhasivam, Nick Desaulniers, Bill Wendling,
Justin Stitt, Maciej Żenczykowski, Yue Haibing, Jeff Layton,
Kees Cook, Fernando Fernandez Mancera, Gustavo A. R. Silva,
Sabrina Dubroca, Masahiro Yamada, Nicolas Schier, netdev,
linux-kernel, linux-arm-kernel, linux-actions, llvm,
kernel test robot
In-Reply-To: <20260612162257.896792-1-xur@google.com>
Hi Rong,
On Fri, Jun 12, 2026 at 09:22:57AM -0700, xur@google.com wrote:
> From: Rong Xu <xur@google.com>
>
> Fix modpost warnings that have surfaced during Clang's distributed ThinLTO
> builds.
>
> WARNING: modpost: vmlinux: section mismatch in reference: tcp4_net_ops.llvm.4527429266264891517+0x8 (section: .data) -> tcp4_proc_init_net (section: .init.text)
> WARNING: modpost: vmlinux: section mismatch in reference: udp4_net_ops.llvm.17425824324074326067+0x8 (section: .data) -> udp4_proc_init_net (section: .init.text)
> WARNING: modpost: vmlinux: section mismatch in reference: ping_v4_net_ops.llvm.5641696707737373282+0x8 (section: .data) -> ping_v4_proc_init_net (section: .init.text)
> WARNING: modpost: vmlinux: section mismatch in reference: if6_proc_net_ops.llvm.7870945277386035298+0x8 (section: .data) -> if6_proc_net_init (section: .init.text)
> WARNING: modpost: vmlinux: section mismatch in reference: ipv6_addr_label_ops.llvm.5745897517271459135+0x8 (section: .data) -> ip6addrlbl_net_init (section: .init.text)
> WARNING: modpost: vmlinux: section mismatch in reference: ndisc_net_ops.llvm.8806210167060761094+0x8 (section: .data) -> ndisc_net_init (section: .init.text)
> WARNING: modpost: vmlinux: section mismatch in reference: raw6_net_ops.llvm.3743523335772203324+0x8 (section: .data) -> raw6_init_net (section: .init.text)
> WARNING: modpost: vmlinux: section mismatch in reference: igmp6_net_ops.llvm.7071106350580158050+0x8 (section: .data) -> igmp6_net_init (section: .init.text)
> WARNING: modpost: vmlinux: section mismatch in reference: tcpv6_net_ops.llvm.17505177970592326146+0x8 (section: .data) -> tcpv6_net_init (section: .init.text)
> WARNING: modpost: vmlinux: section mismatch in reference: ip6_flowlabel_net_ops.llvm.6051723423336054316+0x8 (section: .data) -> ip6_flowlabel_proc_init (section: .init.text)
> WARNING: modpost: vmlinux: section mismatch in reference: ipv6_proc_ops.llvm.7829948594772821810+0x8 (section: .data) -> ipv6_proc_init_net (section: .init.text)
>
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202606111233.kM8oo8Df-lkp@intel.com/
> Signed-off-by: Rong Xu <xur@google.com>
Thanks for sending this change to try and clear up those new warnings
from the distributed ThinLTO build. Based on the build reports that
appear from this change downthread, it does not seem like it is quite
right. Additionally, I think the commit message could be a little more
descriptive around the root cause of the warnings and how this patch
actually addresses it (I can infer but I think that information should
be up front and center).
> ---
> net/ipv4/ping.c | 6 +++---
> net/ipv4/tcp_ipv4.c | 6 +++---
> net/ipv4/udp.c | 6 +++---
> net/ipv6/addrconf.c | 6 +++---
> net/ipv6/addrlabel.c | 6 +++---
> net/ipv6/ip6_flowlabel.c | 6 +++---
> net/ipv6/mcast.c | 10 +++++-----
> net/ipv6/ndisc.c | 10 +++++-----
> net/ipv6/proc.c | 6 +++---
> net/ipv6/raw.c | 6 +++---
> net/ipv6/tcp_ipv6.c | 6 +++---
> 11 files changed, 37 insertions(+), 37 deletions(-)
>
> diff --git a/net/ipv4/ping.c b/net/ipv4/ping.c
> index d36f1e273fde..1dda6d661ad8 100644
> --- a/net/ipv4/ping.c
> +++ b/net/ipv4/ping.c
> @@ -1144,17 +1144,17 @@ static void __net_exit ping_v4_proc_exit_net(struct net *net)
> remove_proc_entry("icmp", net->proc_net);
> }
>
> -static struct pernet_operations ping_v4_net_ops = {
> +static struct pernet_operations ping_v4_net_ops __net_initdata = {
> .init = ping_v4_proc_init_net,
> .exit = ping_v4_proc_exit_net,
> };
>
> -int __init ping_proc_init(void)
> +int __net_init ping_proc_init(void)
> {
> return register_pernet_subsys(&ping_v4_net_ops);
> }
>
> -void ping_proc_exit(void)
> +void __net_exit ping_proc_exit(void)
> {
> unregister_pernet_subsys(&ping_v4_net_ops);
> }
> diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c
> index fdc81150ff6c..9caca5879466 100644
> --- a/net/ipv4/tcp_ipv4.c
> +++ b/net/ipv4/tcp_ipv4.c
> @@ -3317,17 +3317,17 @@ static void __net_exit tcp4_proc_exit_net(struct net *net)
> remove_proc_entry("tcp", net->proc_net);
> }
>
> -static struct pernet_operations tcp4_net_ops = {
> +static struct pernet_operations tcp4_net_ops __net_initdata = {
> .init = tcp4_proc_init_net,
> .exit = tcp4_proc_exit_net,
> };
>
> -int __init tcp4_proc_init(void)
> +int __net_init tcp4_proc_init(void)
> {
> return register_pernet_subsys(&tcp4_net_ops);
> }
>
> -void tcp4_proc_exit(void)
> +void __net_exit tcp4_proc_exit(void)
> {
> unregister_pernet_subsys(&tcp4_net_ops);
> }
> diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c
> index 70f6cbd4ef73..87f4cced2114 100644
> --- a/net/ipv4/udp.c
> +++ b/net/ipv4/udp.c
> @@ -3600,17 +3600,17 @@ static void __net_exit udp4_proc_exit_net(struct net *net)
> remove_proc_entry("udp", net->proc_net);
> }
>
> -static struct pernet_operations udp4_net_ops = {
> +static struct pernet_operations udp4_net_ops __net_initdata = {
> .init = udp4_proc_init_net,
> .exit = udp4_proc_exit_net,
> };
>
> -int __init udp4_proc_init(void)
> +int __net_init udp4_proc_init(void)
> {
> return register_pernet_subsys(&udp4_net_ops);
> }
>
> -void udp4_proc_exit(void)
> +void __net_exit udp4_proc_exit(void)
> {
> unregister_pernet_subsys(&udp4_net_ops);
> }
> diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
> index c9e5d3e48ab9..73d9439bd408 100644
> --- a/net/ipv6/addrconf.c
> +++ b/net/ipv6/addrconf.c
> @@ -4527,17 +4527,17 @@ static void __net_exit if6_proc_net_exit(struct net *net)
> remove_proc_entry("if_inet6", net->proc_net);
> }
>
> -static struct pernet_operations if6_proc_net_ops = {
> +static struct pernet_operations if6_proc_net_ops __net_initdata = {
> .init = if6_proc_net_init,
> .exit = if6_proc_net_exit,
> };
>
> -int __init if6_proc_init(void)
> +int __net_init if6_proc_init(void)
> {
> return register_pernet_subsys(&if6_proc_net_ops);
> }
>
> -void if6_proc_exit(void)
> +void __net_exit if6_proc_exit(void)
> {
> unregister_pernet_subsys(&if6_proc_net_ops);
> }
> diff --git a/net/ipv6/addrlabel.c b/net/ipv6/addrlabel.c
> index f4b2618446bd..50f6c1b1edaa 100644
> --- a/net/ipv6/addrlabel.c
> +++ b/net/ipv6/addrlabel.c
> @@ -340,17 +340,17 @@ static void __net_exit ip6addrlbl_net_exit(struct net *net)
> spin_unlock(&net->ipv6.ip6addrlbl_table.lock);
> }
>
> -static struct pernet_operations ipv6_addr_label_ops = {
> +static struct pernet_operations ipv6_addr_label_ops __net_initdata = {
> .init = ip6addrlbl_net_init,
> .exit = ip6addrlbl_net_exit,
> };
>
> -int __init ipv6_addr_label_init(void)
> +int __net_init ipv6_addr_label_init(void)
> {
> return register_pernet_subsys(&ipv6_addr_label_ops);
> }
>
> -void ipv6_addr_label_cleanup(void)
> +void __net_exit ipv6_addr_label_cleanup(void)
> {
> unregister_pernet_subsys(&ipv6_addr_label_ops);
> }
> diff --git a/net/ipv6/ip6_flowlabel.c b/net/ipv6/ip6_flowlabel.c
> index b1ccdf0dc646..f6980c403c68 100644
> --- a/net/ipv6/ip6_flowlabel.c
> +++ b/net/ipv6/ip6_flowlabel.c
> @@ -903,17 +903,17 @@ static void __net_exit ip6_flowlabel_net_exit(struct net *net)
> ip6_flowlabel_proc_fini(net);
> }
>
> -static struct pernet_operations ip6_flowlabel_net_ops = {
> +static struct pernet_operations ip6_flowlabel_net_ops __net_initdata = {
> .init = ip6_flowlabel_proc_init,
> .exit = ip6_flowlabel_net_exit,
> };
>
> -int ip6_flowlabel_init(void)
> +int __net_init ip6_flowlabel_init(void)
> {
> return register_pernet_subsys(&ip6_flowlabel_net_ops);
> }
>
> -void ip6_flowlabel_cleanup(void)
> +void __net_exit ip6_flowlabel_cleanup(void)
> {
> static_key_deferred_flush(&ipv6_flowlabel_exclusive);
> timer_delete(&ip6_fl_gc_timer);
> diff --git a/net/ipv6/mcast.c b/net/ipv6/mcast.c
> index d9b855d5191b..eef5bab1ee13 100644
> --- a/net/ipv6/mcast.c
> +++ b/net/ipv6/mcast.c
> @@ -3209,12 +3209,12 @@ static void __net_exit igmp6_net_exit(struct net *net)
> igmp6_proc_exit(net);
> }
>
> -static struct pernet_operations igmp6_net_ops = {
> +static struct pernet_operations igmp6_net_ops __net_initdata = {
> .init = igmp6_net_init,
> .exit = igmp6_net_exit,
> };
>
> -int __init igmp6_init(void)
> +int __net_init igmp6_init(void)
> {
> int err;
>
> @@ -3231,18 +3231,18 @@ int __init igmp6_init(void)
> return err;
> }
>
> -int __init igmp6_late_init(void)
> +int __net_init igmp6_late_init(void)
> {
> return register_netdevice_notifier(&igmp6_netdev_notifier);
> }
>
> -void igmp6_cleanup(void)
> +void __net_exit igmp6_cleanup(void)
> {
> unregister_pernet_subsys(&igmp6_net_ops);
> destroy_workqueue(mld_wq);
> }
>
> -void igmp6_late_cleanup(void)
> +void __net_exit igmp6_late_cleanup(void)
> {
> unregister_netdevice_notifier(&igmp6_netdev_notifier);
> }
> diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c
> index e7ad13c5bd26..3a83280db29d 100644
> --- a/net/ipv6/ndisc.c
> +++ b/net/ipv6/ndisc.c
> @@ -1994,12 +1994,12 @@ static void __net_exit ndisc_net_exit(struct net *net)
> inet_ctl_sock_destroy(net->ipv6.ndisc_sk);
> }
>
> -static struct pernet_operations ndisc_net_ops = {
> +static struct pernet_operations ndisc_net_ops __net_initdata = {
> .init = ndisc_net_init,
> .exit = ndisc_net_exit,
> };
>
> -int __init ndisc_init(void)
> +int __net_init ndisc_init(void)
> {
> int err;
>
> @@ -2027,17 +2027,17 @@ int __init ndisc_init(void)
> #endif
> }
>
> -int __init ndisc_late_init(void)
> +int __net_init ndisc_late_init(void)
> {
> return register_netdevice_notifier(&ndisc_netdev_notifier);
> }
>
> -void ndisc_late_cleanup(void)
> +void __net_exit ndisc_late_cleanup(void)
> {
> unregister_netdevice_notifier(&ndisc_netdev_notifier);
> }
>
> -void ndisc_cleanup(void)
> +void __net_exit ndisc_cleanup(void)
> {
> #ifdef CONFIG_SYSCTL
> neigh_sysctl_unregister(&nd_tbl.parms);
> diff --git a/net/ipv6/proc.c b/net/ipv6/proc.c
> index 813013ca4e75..c59bade608cd 100644
> --- a/net/ipv6/proc.c
> +++ b/net/ipv6/proc.c
> @@ -298,17 +298,17 @@ static void __net_exit ipv6_proc_exit_net(struct net *net)
> remove_proc_entry("snmp6", net->proc_net);
> }
>
> -static struct pernet_operations ipv6_proc_ops = {
> +static struct pernet_operations ipv6_proc_ops __net_initdata = {
> .init = ipv6_proc_init_net,
> .exit = ipv6_proc_exit_net,
> };
>
> -int __init ipv6_misc_proc_init(void)
> +int __net_init ipv6_misc_proc_init(void)
> {
> return register_pernet_subsys(&ipv6_proc_ops);
> }
>
> -void ipv6_misc_proc_exit(void)
> +void __net_exit ipv6_misc_proc_exit(void)
> {
> unregister_pernet_subsys(&ipv6_proc_ops);
> }
> diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c
> index 3cc58698cbbd..fe399675b8fc 100644
> --- a/net/ipv6/raw.c
> +++ b/net/ipv6/raw.c
> @@ -1256,17 +1256,17 @@ static void __net_exit raw6_exit_net(struct net *net)
> remove_proc_entry("raw6", net->proc_net);
> }
>
> -static struct pernet_operations raw6_net_ops = {
> +static struct pernet_operations raw6_net_ops __net_initdata = {
> .init = raw6_init_net,
> .exit = raw6_exit_net,
> };
>
> -int __init raw6_proc_init(void)
> +int __net_init raw6_proc_init(void)
> {
> return register_pernet_subsys(&raw6_net_ops);
> }
>
> -void raw6_proc_exit(void)
> +void __net_exit raw6_proc_exit(void)
> {
> unregister_pernet_subsys(&raw6_net_ops);
> }
> diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c
> index 36d75fb50a70..d0737f16076b 100644
> --- a/net/ipv6/tcp_ipv6.c
> +++ b/net/ipv6/tcp_ipv6.c
> @@ -2335,12 +2335,12 @@ static void __net_exit tcpv6_net_exit(struct net *net)
> inet_ctl_sock_destroy(net->ipv6.tcp_sk);
> }
>
> -static struct pernet_operations tcpv6_net_ops = {
> +static struct pernet_operations tcpv6_net_ops __net_initdata = {
> .init = tcpv6_net_init,
> .exit = tcpv6_net_exit,
> };
>
> -int __init tcpv6_init(void)
> +int __net_init tcpv6_init(void)
> {
> int ret;
>
> @@ -2378,7 +2378,7 @@ int __init tcpv6_init(void)
> goto out;
> }
>
> -void tcpv6_exit(void)
> +void __net_exit tcpv6_exit(void)
> {
> unregister_pernet_subsys(&tcpv6_net_ops);
> inet6_unregister_protosw(&tcpv6_protosw);
>
> base-commit: 2b414a95b8f7307d42173ba9e580d6d3e2bcbfce
> --
> 2.54.0.1136.gdb2ca164c4-goog
>
>
--
Cheers,
Nathan
^ permalink raw reply
* Re: [PATCH] x86/cfi: Use symmetric SYM_START and SYM_END in __CFI_TYPE()
From: Nathan Chancellor @ 2026-06-13 16:29 UTC (permalink / raw)
To: Jens Remus
Cc: Sami Tolvanen, Kees Cook, Peter Zijlstra, Thomas Gleixner,
Ingo Molnar, Borislav Petkov, Dave Hansen, x86, H. Peter Anvin,
Nick Desaulniers, Bill Wendling, Justin Stitt, linux-kernel, llvm,
Heiko Carstens, Sashiko
In-Reply-To: <20260611155716.830563-1-jremus@linux.ibm.com>
On Thu, Jun 11, 2026 at 05:57:15PM +0200, Jens Remus wrote:
> Commit ccace936eec7 ("x86: Add types to indirectly called assembly
> functions") introduced a x86-specific implementation of __CFI_TYPE()
> using an asymmetric combination of SYM_START() and SYM_FUNC_END() to
> add a symbol to the KCFI type identifier that precedes a function.
>
> This asymmetric combination is an issue if SYM_FUNC_END() ever gets
> extended in a way that requires it to be used symmetrically with
> SYM_FUNC_START*(). For instance to emit DWARF CFI directives that
> denote the start/end of a function. [1]
>
> Use SYM_END() with SYM_T_FUNC instead. No functional change, as the
> generic implementation of SYM_FUNC_END(name) expands into
> SYM_END(name, SYM_T_FUNC).
>
> Reported-by: Sashiko <sashiko-bot@kernel.org>
> Closes: https://sashiko.dev/#/patchset/20260522110427.2816637-1-jremus@linux.ibm.com?part=3 [1]
> Signed-off-by: Jens Remus <jremus@linux.ibm.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
> ---
>
> Notes (jremus):
> This patch applies on top of linus' tree (9716c086c8e8):
>
> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
>
> I verified as follows that in x86-64 builds of vmlinux using Clang with
> kCFI enabled without and with my patch applied vmlinux.o only differs in
> relocations targeting .rodata.str* and a few symbols in .rodata shifted
> (both likely due to differences in string merging):
>
> $ objdump -d vmlinux.o > vmlinux.o.{old|new}.objdump
> $ readelf -Wa vmlinux.o > vmlinux.o.{old|new}.readelf
> $ diff -u vmlinux.o.old.objdump vmlinux.o.new.objdump
> [no differences]
> $ diff -u0 vmlinux.o.old.readelf vmlinux.o.new.readelf | \
> grep --invert-match -E "\.rodata\.str|@@"
> [see above]
>
> arch/x86/include/asm/linkage.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/x86/include/asm/linkage.h b/arch/x86/include/asm/linkage.h
> index a7294656ad90..c9769a7b6e66 100644
> --- a/arch/x86/include/asm/linkage.h
> +++ b/arch/x86/include/asm/linkage.h
> @@ -103,7 +103,7 @@
> .byte 0xb8 ASM_NL \
> .long __kcfi_typeid_##name ASM_NL \
> CFI_POST_PADDING \
> - SYM_FUNC_END(__cfi_##name)
> + SYM_END(__cfi_##name, SYM_T_FUNC)
>
> /* UML needs to be able to override memcpy() and friends for KASAN. */
> #ifdef CONFIG_UML
> --
> 2.53.0
>
--
Cheers,
Nathan
^ permalink raw reply
* Re: [PATCH] vduse: Fix error around jumping over a __cleanup() variable
From: Nathan Chancellor @ 2026-06-13 16:26 UTC (permalink / raw)
To: David Laight
Cc: Michael S. Tsirkin, Jason Wang, Xuan Zhuo, Eugenio Pérez,
virtualization, linux-kernel, llvm
In-Reply-To: <20260611110346.2b9388a1@pumpkin>
On Thu, Jun 11, 2026 at 11:03:46AM +0100, David Laight wrote:
> On Wed, 10 Jun 2026 12:16:49 -0700
> Nathan Chancellor <nathan@kernel.org> wrote:
>
> > When building with clang, there is an error in vduse_vq_kick() from
> > attempting to jump over a variable declared with the cleanup attribute
> > using goto:
> .
> > Jumping over a variable declared with the cleanup attribute does not
> > prevent the cleanup function from running, it would just result in the
> > variable being passed uninitialized to the cleanup function .clang
> > errors instead of generating the invalid code, unlike GCC.
>
> Does the same apply to variables allocated inside switch statements?
> I'm sure I've seen one that wasn't inside an extra block.
Yes:
https://lore.kernel.org/20251002233627.GA3978676@ax162/
--
Cheers,
Nathan
^ permalink raw reply
* ERROR: modpost: "__set_task_comm" [lib/tests/string_kunit.ko] undefined!
From: kernel test robot @ 2026-06-13 14:01 UTC (permalink / raw)
To: André Almeida; +Cc: llvm, oe-kbuild-all, 0day robot
tree: https://github.com/intel-lab-lkp/linux/commits/Andr-Almeida/sched-Update-get_task_comm-comment/20260613-002327
head: 71cf6c96a43d5b1b807277ef0e81d193067a9ad5
commit: e24677900b1148bc206fb3a08e057a21859567dd lib/string_kunit: Add test for copy_task_comm()
date: 22 hours ago
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260613/202606131521.p7XfAbVA-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project f43d6834093b19baf79beda8c0337ab020ac5f17)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260613/202606131521.p7XfAbVA-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/202606131521.p7XfAbVA-lkp@intel.com/
All errors (new ones prefixed by >>, old ones prefixed by <<):
>> ERROR: modpost: "__set_task_comm" [lib/tests/string_kunit.ko] undefined!
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply
* [arnd-playground:config-gpio-legacy-7.2 21/21] include/linux/gpio/consumer.h:177:20: error: incomplete definition of type 'const struct gpio_desc'
From: kernel test robot @ 2026-06-13 13:33 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git config-gpio-legacy-7.2
head: 24fae1df029804f4339484870fcdc70fe15fab97
commit: 24fae1df029804f4339484870fcdc70fe15fab97 [21/21] gpiolib: introduce gpio_name() helper
config: loongarch-allnoconfig (https://download.01.org/0day-ci/archive/20260613/202606132139.x0XHZayI-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260613/202606132139.x0XHZayI-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/202606132139.x0XHZayI-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
In file included from arch/loongarch/kernel/env.c:9:
In file included from include/linux/efi.h:20:
In file included from include/linux/rtc.h:18:
In file included from include/linux/nvmem-provider.h:16:
>> include/linux/gpio/consumer.h:177:20: error: incomplete definition of type 'const struct gpio_desc'
177 | return desc ? desc->name : "(no gpio)";
| ~~~~^
include/linux/gpio/consumer.h:16:8: note: forward declaration of 'struct gpio_desc'
16 | struct gpio_desc;
| ^
1 error generated.
--
In file included from drivers/gpio/gpiolib-devres.c:15:
>> include/linux/gpio/consumer.h:177:20: error: incomplete definition of type 'const struct gpio_desc'
177 | return desc ? desc->name : "(no gpio)";
| ~~~~^
include/linux/gpio/consumer.h:16:8: note: forward declaration of 'struct gpio_desc'
16 | struct gpio_desc;
| ^
In file included from drivers/gpio/gpiolib-devres.c:17:
In file included from drivers/gpio/gpiolib.h:12:
In file included from include/linux/cdev.h:8:
In file included from include/linux/device.h:32:
In file included from include/linux/device/driver.h:21:
In file included from include/linux/module.h:20:
In file included from include/linux/elf.h:6:
In file included from arch/loongarch/include/asm/elf.h:9:
In file included from include/linux/fs.h:5:
In file included from include/linux/fs/super.h:5:
In file included from include/linux/fs/super_types.h:13:
In file included from include/linux/percpu-rwsem.h:7:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:98:11: warning: array index 3 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds]
98 | return (set->sig[3] | set->sig[2] |
| ^ ~
include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from drivers/gpio/gpiolib-devres.c:17:
In file included from drivers/gpio/gpiolib.h:12:
In file included from include/linux/cdev.h:8:
In file included from include/linux/device.h:32:
In file included from include/linux/device/driver.h:21:
In file included from include/linux/module.h:20:
In file included from include/linux/elf.h:6:
In file included from arch/loongarch/include/asm/elf.h:9:
In file included from include/linux/fs.h:5:
In file included from include/linux/fs/super.h:5:
In file included from include/linux/fs/super_types.h:13:
In file included from include/linux/percpu-rwsem.h:7:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:98:25: warning: array index 2 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds]
98 | return (set->sig[3] | set->sig[2] |
| ^ ~
include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from drivers/gpio/gpiolib-devres.c:17:
In file included from drivers/gpio/gpiolib.h:12:
In file included from include/linux/cdev.h:8:
In file included from include/linux/device.h:32:
In file included from include/linux/device/driver.h:21:
In file included from include/linux/module.h:20:
In file included from include/linux/elf.h:6:
In file included from arch/loongarch/include/asm/elf.h:9:
In file included from include/linux/fs.h:5:
In file included from include/linux/fs/super.h:5:
In file included from include/linux/fs/super_types.h:13:
In file included from include/linux/percpu-rwsem.h:7:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:99:4: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds]
99 | set->sig[1] | set->sig[0]) == 0;
| ^ ~
include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from drivers/gpio/gpiolib-devres.c:17:
In file included from drivers/gpio/gpiolib.h:12:
In file included from include/linux/cdev.h:8:
In file included from include/linux/device.h:32:
In file included from include/linux/device/driver.h:21:
In file included from include/linux/module.h:20:
In file included from include/linux/elf.h:6:
In file included from arch/loongarch/include/asm/elf.h:9:
In file included from include/linux/fs.h:5:
In file included from include/linux/fs/super.h:5:
In file included from include/linux/fs/super_types.h:13:
In file included from include/linux/percpu-rwsem.h:7:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:101:11: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds]
101 | return (set->sig[1] | set->sig[0]) == 0;
| ^ ~
include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from drivers/gpio/gpiolib-devres.c:17:
In file included from drivers/gpio/gpiolib.h:12:
In file included from include/linux/cdev.h:8:
In file included from include/linux/device.h:32:
In file included from include/linux/device/driver.h:21:
In file included from include/linux/module.h:20:
In file included from include/linux/elf.h:6:
In file included from arch/loongarch/include/asm/elf.h:9:
In file included from include/linux/fs.h:5:
In file included from include/linux/fs/super.h:5:
In file included from include/linux/fs/super_types.h:13:
In file included from include/linux/percpu-rwsem.h:7:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:114:11: warning: array index 3 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds]
--
In file included from drivers/gpio/gpiolib-cdev.c:14:
>> include/linux/gpio/consumer.h:177:20: error: incomplete definition of type 'const struct gpio_desc'
177 | return desc ? desc->name : "(no gpio)";
| ~~~~^
include/linux/gpio/consumer.h:16:8: note: forward declaration of 'struct gpio_desc'
16 | struct gpio_desc;
| ^
>> drivers/gpio/gpiolib-cdev.c:1650:2: warning: implicit conversion from 'unsigned long' to 'unsigned int' changes value from 18446744073709551615 to 4294967295 [-Wconstant-conversion]
1650 | INIT_KFIFO(lr->events);
| ^~~~~~~~~~~~~~~~~~~~~~
include/linux/kfifo.h:135:69: note: expanded from macro 'INIT_KFIFO'
135 | __kfifo->mask = __is_kfifo_ptr(__tmp) ? 0 : ARRAY_SIZE(__tmp->buf) - 1;\
| ~ ~~~~~~~~~~~~~~~~~~~~~~~^~~
1 warning and 1 error generated.
vim +177 include/linux/gpio/consumer.h
174
175 static inline const char *gpiod_name(const struct gpio_desc *desc)
176 {
> 177 return desc ? desc->name : "(no gpio)";
178 }
179
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply
* Warning: kernel/seccomp.c:241 struct member 'pins' not described in 'seccomp_filter'
From: kernel test robot @ 2026-06-13 11:49 UTC (permalink / raw)
To: Cong Wang; +Cc: llvm, oe-kbuild-all, 0day robot
tree: https://github.com/intel-lab-lkp/linux/commits/Cong-Wang/mm-add-__do_mmap-and-vm_mmap_seal_remote/20260613-081932
head: f5af20b8e3f9e7d8778e63646a08b4152ad65e7e
commit: 28deacdb0e3273f480ad8f4c482c780a39fa687d seccomp: add kernel-installed pinned-memfd redirect
date: 11 hours ago
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260613/202606131331.Gwuxcq14-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project f43d6834093b19baf79beda8c0337ab020ac5f17)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260613/202606131331.Gwuxcq14-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/202606131331.Gwuxcq14-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> Warning: kernel/seccomp.c:241 struct member 'pins' not described in 'seccomp_filter'
>> Warning: kernel/seccomp.c:241 struct member 'pins' not described in 'seccomp_filter'
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply
* [axboe:io_uring-tw-mpscq-batch 12/12] ERROR: modpost: "blk_comp_batch_notify" [drivers/block/ublk_drv.ko] undefined!
From: kernel test robot @ 2026-06-13 10:46 UTC (permalink / raw)
To: Jens Axboe; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux.git io_uring-tw-mpscq-batch
head: 2ac8547b7dc705766796fc2d637f43b7048b2792
commit: 2ac8547b7dc705766796fc2d637f43b7048b2792 [12/12] ublk: open a completion batch window around batch commit processing
config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20260613/202606131854.GcMzz1Nv-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 305faf498a4e0b52b40742c927af63ab2082e1a9)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260613/202606131854.GcMzz1Nv-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/202606131854.GcMzz1Nv-lkp@intel.com/
All errors (new ones prefixed by >>, old ones prefixed by <<):
>> ERROR: modpost: "blk_comp_batch_notify" [drivers/block/ublk_drv.ko] undefined!
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply
* Re: [RFC PATCH v3 3/3] selftests/seccomp: cover non-cooperative pinned-memfd install
From: kernel test robot @ 2026-06-13 10:07 UTC (permalink / raw)
To: Cong Wang; +Cc: llvm, oe-kbuild-all
In-Reply-To: <20260613001533.314739-4-xiyou.wangcong@gmail.com>
Hi Cong,
[This is a private test report for your RFC patch.]
kernel test robot noticed the following build warnings:
[auto build test WARNING on 28608283615e5e7e92ea79c8ea13507f4b5e0cbe]
url: https://github.com/intel-lab-lkp/linux/commits/Cong-Wang/mm-add-__do_mmap-and-vm_mmap_seal_remote/20260613-081932
base: 28608283615e5e7e92ea79c8ea13507f4b5e0cbe
patch link: https://lore.kernel.org/r/20260613001533.314739-4-xiyou.wangcong%40gmail.com
patch subject: [RFC PATCH v3 3/3] selftests/seccomp: cover non-cooperative pinned-memfd install
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260613/202606131238.sI0qu5os-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project f43d6834093b19baf79beda8c0337ab020ac5f17)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260613/202606131238.sI0qu5os-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/202606131238.sI0qu5os-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> Warning: mm/vma.c:2832 function parameter 'mm' not described in 'mmap_region'
>> Warning: mm/vma.c:2832 function parameter 'mm' not described in 'mmap_region'
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply
* Re: [PATCH v2] udf: validate extent partition references in udf_current_aext()
From: kernel test robot @ 2026-06-13 8:46 UTC (permalink / raw)
To: Kyle Zeng, linux-kernel
Cc: llvm, oe-kbuild-all, Jan Kara, outbounddisclosures, Kyle Zeng
In-Reply-To: <20260612225846.97678-1-kylebot@openai.com>
Hi Kyle,
kernel test robot noticed the following build errors:
[auto build test ERROR on brauner-vfs/vfs.all]
[also build test ERROR on linus/master v7.1-rc7 next-20260612]
[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/Kyle-Zeng/udf-validate-extent-partition-references-in-udf_current_aext/20260613-070817
base: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git vfs.all
patch link: https://lore.kernel.org/r/20260612225846.97678-1-kylebot%40openai.com
patch subject: [PATCH v2] udf: validate extent partition references in udf_current_aext()
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20260613/202606131029.qRHBJ5LX-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project f43d6834093b19baf79beda8c0337ab020ac5f17)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260613/202606131029.qRHBJ5LX-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/202606131029.qRHBJ5LX-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
>> fs/udf/inode.c:2154:22: warning: unused variable 'sbi' [-Wunused-variable]
2154 | struct udf_sb_info *sbi = UDF_SB(inode->i_sb);
| ^~~
>> fs/udf/inode.c:2303:37: error: use of undeclared identifier 'sbi'
2303 | if (eloc->partitionReferenceNum >= sbi->s_partitions) {
| ^~~
fs/udf/inode.c:2305:35: error: use of undeclared identifier 'sbi'
2305 | eloc->partitionReferenceNum, sbi->s_partitions);
| ^~~
1 warning and 2 errors generated.
vim +/sbi +2303 fs/udf/inode.c
2145
2146 void udf_write_aext(struct inode *inode, struct extent_position *epos,
2147 struct kernel_lb_addr *eloc, uint32_t elen, int inc)
2148 {
2149 int adsize;
2150 uint8_t *ptr;
2151 struct short_ad *sad;
2152 struct long_ad *lad;
2153 struct udf_inode_info *iinfo = UDF_I(inode);
> 2154 struct udf_sb_info *sbi = UDF_SB(inode->i_sb);
2155
2156 if (!epos->bh)
2157 ptr = iinfo->i_data + epos->offset -
2158 udf_file_entry_alloc_offset(inode) +
2159 iinfo->i_lenEAttr;
2160 else
2161 ptr = epos->bh->b_data + epos->offset;
2162
2163 switch (iinfo->i_alloc_type) {
2164 case ICBTAG_FLAG_AD_SHORT:
2165 sad = (struct short_ad *)ptr;
2166 sad->extLength = cpu_to_le32(elen);
2167 sad->extPosition = cpu_to_le32(eloc->logicalBlockNum);
2168 adsize = sizeof(struct short_ad);
2169 break;
2170 case ICBTAG_FLAG_AD_LONG:
2171 lad = (struct long_ad *)ptr;
2172 lad->extLength = cpu_to_le32(elen);
2173 lad->extLocation = cpu_to_lelb(*eloc);
2174 memset(lad->impUse, 0x00, sizeof(lad->impUse));
2175 adsize = sizeof(struct long_ad);
2176 break;
2177 default:
2178 return;
2179 }
2180
2181 if (epos->bh) {
2182 if (!UDF_QUERY_FLAG(inode->i_sb, UDF_FLAG_STRICT) ||
2183 UDF_SB(inode->i_sb)->s_udfrev >= 0x0201) {
2184 struct allocExtDesc *aed =
2185 (struct allocExtDesc *)epos->bh->b_data;
2186 udf_update_tag(epos->bh->b_data,
2187 le32_to_cpu(aed->lengthAllocDescs) +
2188 sizeof(struct allocExtDesc));
2189 }
2190 mmb_mark_buffer_dirty(epos->bh, &iinfo->i_metadata_bhs);
2191 } else {
2192 mark_inode_dirty(inode);
2193 }
2194
2195 if (inc)
2196 epos->offset += adsize;
2197 }
2198
2199 /*
2200 * Only 1 indirect extent in a row really makes sense but allow upto 16 in case
2201 * someone does some weird stuff.
2202 */
2203 #define UDF_MAX_INDIR_EXTS 16
2204
2205 /*
2206 * Returns 1 on success, -errno on error, 0 on hit EOF.
2207 */
2208 int udf_next_aext(struct inode *inode, struct extent_position *epos,
2209 struct kernel_lb_addr *eloc, uint32_t *elen, int8_t *etype,
2210 int inc)
2211 {
2212 unsigned int indirections = 0;
2213 int ret = 0;
2214 udf_pblk_t block;
2215
2216 while (1) {
2217 ret = udf_current_aext(inode, epos, eloc, elen,
2218 etype, inc);
2219 if (ret <= 0)
2220 return ret;
2221 if (*etype != (EXT_NEXT_EXTENT_ALLOCDESCS >> 30))
2222 return ret;
2223
2224 if (++indirections > UDF_MAX_INDIR_EXTS) {
2225 udf_err(inode->i_sb,
2226 "too many indirect extents in inode %llu\n",
2227 inode->i_ino);
2228 return -EFSCORRUPTED;
2229 }
2230
2231 epos->block = *eloc;
2232 epos->offset = sizeof(struct allocExtDesc);
2233 brelse(epos->bh);
2234 block = udf_get_lb_pblock(inode->i_sb, &epos->block, 0);
2235 epos->bh = sb_bread(inode->i_sb, block);
2236 if (!epos->bh) {
2237 udf_debug("reading block %u failed!\n", block);
2238 return -EIO;
2239 }
2240 }
2241 }
2242
2243 /*
2244 * Returns 1 on success, -errno on error, 0 on hit EOF.
2245 */
2246 int udf_current_aext(struct inode *inode, struct extent_position *epos,
2247 struct kernel_lb_addr *eloc, uint32_t *elen, int8_t *etype,
2248 int inc)
2249 {
2250 int alen;
2251 uint8_t *ptr;
2252 struct short_ad *sad;
2253 struct long_ad *lad;
2254 struct udf_inode_info *iinfo = UDF_I(inode);
2255
2256 if (!epos->bh) {
2257 if (!epos->offset)
2258 epos->offset = udf_file_entry_alloc_offset(inode);
2259 ptr = iinfo->i_data + epos->offset -
2260 udf_file_entry_alloc_offset(inode) +
2261 iinfo->i_lenEAttr;
2262 alen = udf_file_entry_alloc_offset(inode) +
2263 iinfo->i_lenAlloc;
2264 } else {
2265 struct allocExtDesc *header =
2266 (struct allocExtDesc *)epos->bh->b_data;
2267
2268 if (!epos->offset)
2269 epos->offset = sizeof(struct allocExtDesc);
2270 ptr = epos->bh->b_data + epos->offset;
2271 if (check_add_overflow(sizeof(struct allocExtDesc),
2272 le32_to_cpu(header->lengthAllocDescs), &alen))
2273 return -1;
2274
2275 if (alen > epos->bh->b_size)
2276 return -1;
2277 }
2278
2279 switch (iinfo->i_alloc_type) {
2280 case ICBTAG_FLAG_AD_SHORT:
2281 sad = udf_get_fileshortad(ptr, alen, &epos->offset, inc);
2282 if (!sad)
2283 return 0;
2284 *etype = le32_to_cpu(sad->extLength) >> 30;
2285 eloc->logicalBlockNum = le32_to_cpu(sad->extPosition);
2286 eloc->partitionReferenceNum =
2287 iinfo->i_location.partitionReferenceNum;
2288 *elen = le32_to_cpu(sad->extLength) & UDF_EXTENT_LENGTH_MASK;
2289 break;
2290 case ICBTAG_FLAG_AD_LONG:
2291 lad = udf_get_filelongad(ptr, alen, &epos->offset, inc);
2292 if (!lad)
2293 return 0;
2294 *etype = le32_to_cpu(lad->extLength) >> 30;
2295 *eloc = lelb_to_cpu(lad->extLocation);
2296 *elen = le32_to_cpu(lad->extLength) & UDF_EXTENT_LENGTH_MASK;
2297 break;
2298 default:
2299 udf_debug("alloc_type = %u unsupported\n", iinfo->i_alloc_type);
2300 return -EINVAL;
2301 }
2302
> 2303 if (eloc->partitionReferenceNum >= sbi->s_partitions) {
2304 udf_debug("invalid partition reference %u (partitions %u)\n",
2305 eloc->partitionReferenceNum, sbi->s_partitions);
2306 return -EFSCORRUPTED;
2307 }
2308
2309 return 1;
2310 }
2311
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply
* ❌ FAIL: Test report for master (7.1.0-rc7, upstream-mainline, 2a2974b5)
From: cki-project @ 2026-06-13 8:43 UTC (permalink / raw)
To: llvm, yoyang
Hi, we tested your kernel and here are the results:
Overall result: FAILED
Merge: OK
Compile: OK
Test: FAILED (Did not boot)
Kernel information:
Commit message: Merge tag 'pci-v7.1-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci
You can find all the details about the test run at
https://datawarehouse.cki-project.org/kcidb/checkouts/redhat:2598110070
One or more kernel builds failed:
Builds that are failing to boot:
ppc64le - https://datawarehouse.cki-project.org/kcidb/builds/redhat:2598110070_ppc64le_kernel
One or more kernel tests failed:
Unrecognized or new issues:
xfstests - btrfs
x86_64
Logs: https://datawarehouse.cki-project.org/kcidb/tests/redhat:2598110070_x86_64_kernel_kcidb_tool_21459619_9
Non-passing ran subtests:
❌ FAIL generic/301
We also see the following known issues which are not related to your changes:
Issue: avc: denied { name_bind } for pid=897864 comm="rpcbind" src=63924 scontext=system_u:system_r:rpcbind_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=udp_socket permissive=1
URL: https://bugzilla.redhat.com/show_bug.cgi?id=1758147
Affected tests:
xfstests - nfsv4.2 [x86_64]
Issue: avc: denied { create } for comm="rpc.mountd"
URL: https://bugzilla.redhat.com/show_bug.cgi?id=2456368
Affected tests:
xfstests - nfsv4.2 [x86_64]
If you find a failure unrelated to your changes, please ask the test maintainer to review it.
This will prevent the failures from being incorrectly reported in the future.
Please reply to this email if you have any questions about the tests that we
ran or if you have any suggestions on how to make future tests more effective.
,-. ,-.
( C ) ( K ) Continuous
`-',-.`-' Kernel
( I ) Integration
`-'
______________________________________________________________________________
^ permalink raw reply
* [superna9999:topic/sm8650/ayaneo-pocket-s2/pmos-v4 24/31] sound/soc/qcom/sc8280xp.c:176:13: error: use of undeclared identifier 'LPAIF_MI2S_MCLK'
From: kernel test robot @ 2026-06-13 8:13 UTC (permalink / raw)
To: Mohammad Rafi Shaik; +Cc: llvm, oe-kbuild-all, Neil Armstrong
tree: https://github.com/superna9999/linux topic/sm8650/ayaneo-pocket-s2/pmos-v4
head: 2990bb85e68d401720ce49038f3e512d7eb1a389
commit: 82a9dc5108c057c67137a9d9bcab231d4989eccf [24/31] ASoC: qcom: sc8280xp: ASoC: qcom: sc8280xp: enhance machine driver for board-specific config
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20260613/202606131609.RqRpHPLB-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 305faf498a4e0b52b40742c927af63ab2082e1a9)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260613/202606131609.RqRpHPLB-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/202606131609.RqRpHPLB-lkp@intel.com/
All errors (new ones prefixed by >>):
>> sound/soc/qcom/sc8280xp.c:176:13: error: use of undeclared identifier 'LPAIF_MI2S_MCLK'
176 | LPAIF_MI2S_MCLK, mclk_freq,
| ^~~~~~~~~~~~~~~
>> sound/soc/qcom/sc8280xp.c:181:13: error: use of undeclared identifier 'LPAIF_MI2S_BCLK'
181 | LPAIF_MI2S_BCLK, bclk_freq,
| ^~~~~~~~~~~~~~~
2 errors generated.
vim +/LPAIF_MI2S_MCLK +176 sound/soc/qcom/sc8280xp.c
154
155 static int sc8280xp_snd_hw_params(struct snd_pcm_substream *substream,
156 struct snd_pcm_hw_params *params)
157 {
158 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
159 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0);
160 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0);
161 struct sc8280xp_snd_data *data = snd_soc_card_get_drvdata(rtd->card);
162 int mclk_freq = sc8280xp_get_mclk_freq(params);
163 int bclk_freq = sc8280xp_get_bclk_freq(params);
164
165 switch (cpu_dai->id) {
166 case PRIMARY_MI2S_RX ... QUATERNARY_MI2S_TX:
167 case QUINARY_MI2S_RX ... QUINARY_MI2S_TX:
168 snd_soc_dai_set_fmt(cpu_dai, SND_SOC_DAIFMT_BP_FP);
169
170 if (data->snd_soc_common_priv->codec_dai_fmt)
171 snd_soc_dai_set_fmt(codec_dai,
172 data->snd_soc_common_priv->codec_dai_fmt);
173
174 if (data->snd_soc_common_priv->mi2s_mclk_enable)
175 snd_soc_dai_set_sysclk(cpu_dai,
> 176 LPAIF_MI2S_MCLK, mclk_freq,
177 SND_SOC_CLOCK_IN);
178
179 if (data->snd_soc_common_priv->mi2s_bclk_enable)
180 snd_soc_dai_set_sysclk(cpu_dai,
> 181 LPAIF_MI2S_BCLK, bclk_freq,
182 SND_SOC_CLOCK_IN);
183
184 if (data->snd_soc_common_priv->codec_sysclk_set)
185 snd_soc_dai_set_sysclk(cpu_dai,
186 0, mclk_freq,
187 SND_SOC_CLOCK_IN);
188 break;
189 default:
190 break;
191 }
192
193 return 0;
194 }
195
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply
* Re: [PATCH] net: correcting section tags for .init and .exit data/functions
From: kernel test robot @ 2026-06-13 8:05 UTC (permalink / raw)
To: xur, David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
Simon Horman, Neal Cardwell, Kuniyuki Iwashima, Willem de Bruijn,
David Ahern, Ido Schimmel, Andreas Färber,
Manivannan Sadhasivam, Nathan Chancellor, Nick Desaulniers,
Bill Wendling, Justin Stitt, Maciej Żenczykowski,
Yue Haibing, Jeff Layton, Kees Cook, Fernando Fernandez Mancera,
Gustavo A. R. Silva, Sabrina Dubroca, Masahiro Yamada,
Nicolas Schier, linux-kernel, linux-arm-kernel, linux-actions
Cc: llvm, oe-kbuild-all, netdev
In-Reply-To: <20260612162257.896792-1-xur@google.com>
Hi,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 2b414a95b8f7307d42173ba9e580d6d3e2bcbfce]
url: https://github.com/intel-lab-lkp/linux/commits/xur-google-com/net-correcting-section-tags-for-init-and-exit-data-functions/20260613-002737
base: 2b414a95b8f7307d42173ba9e580d6d3e2bcbfce
patch link: https://lore.kernel.org/r/20260612162257.896792-1-xur%40google.com
patch subject: [PATCH] net: correcting section tags for .init and .exit data/functions
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260613/202606131033.U9FHCI7B-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project f43d6834093b19baf79beda8c0337ab020ac5f17)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260613/202606131033.U9FHCI7B-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/202606131033.U9FHCI7B-lkp@intel.com/
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> WARNING: modpost: vmlinux: section mismatch in reference: tcpv6_init+0x68 (section: .text) -> mptcpv6_init (section: .init.text)
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply
* [superna9999:topic/sm8650/ayaneo-pocket-s2/pmos-v4 17/31] drivers/gpu/drm/panel/panel-renesas-r63419.c:320:8: error: call to undeclared function 'devm_drm_panel_add'; ISO C99 and later do not support implicit function declarations
From: kernel test robot @ 2026-06-13 7:06 UTC (permalink / raw)
To: KancyJoe; +Cc: llvm, oe-kbuild-all, Neil Armstrong
tree: https://github.com/superna9999/linux topic/sm8650/ayaneo-pocket-s2/pmos-v4
head: 2990bb85e68d401720ce49038f3e512d7eb1a389
commit: 243e24384aa0b82af24b385485d2ce228b8a4660 [17/31] drm: panel: add support for the Renesas R63419 based dual-DSI video mode Display Panels
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20260613/202606131439.tx8xFVfI-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 305faf498a4e0b52b40742c927af63ab2082e1a9)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260613/202606131439.tx8xFVfI-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/202606131439.tx8xFVfI-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/panel/panel-renesas-r63419.c:320:8: error: call to undeclared function 'devm_drm_panel_add'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
320 | ret = devm_drm_panel_add(dev, &ctx->panel);
| ^
drivers/gpu/drm/panel/panel-renesas-r63419.c:320:8: note: did you mean 'drm_panel_add'?
include/drm/drm_panel.h:330:6: note: 'drm_panel_add' declared here
330 | void drm_panel_add(struct drm_panel *panel);
| ^
1 error generated.
vim +/devm_drm_panel_add +320 drivers/gpu/drm/panel/panel-renesas-r63419.c
246
247 static int renesas_r63419_probe(struct mipi_dsi_device *dsi)
248 {
249 struct mipi_dsi_device_info info = { };
250 struct device *dev = &dsi->dev;
251 struct renesas_r63419_panel *ctx;
252 struct device_node *dsi1_node;
253 struct mipi_dsi_host *dsi1_host;
254 int ret, i;
255
256 ctx = devm_drm_panel_alloc(dev, struct renesas_r63419_panel, panel,
257 &renesas_r63419_panel_funcs, DRM_MODE_CONNECTOR_DSI);
258 if (IS_ERR(ctx))
259 return PTR_ERR(ctx);
260
261 ctx->desc = of_device_get_match_data(dev);
262 if (!ctx->desc)
263 return dev_err_probe(dev, -ENODEV,
264 "Failed to get panel description\n");
265
266 ret = devm_regulator_bulk_get_const(&dsi->dev,
267 ARRAY_SIZE(renesas_r63419_vdd_supplies),
268 renesas_r63419_vdd_supplies, &ctx->vdd_supplies);
269 if (ret < 0)
270 return ret;
271
272 ret = devm_regulator_bulk_get_const(&dsi->dev,
273 ARRAY_SIZE(renesas_r63419_vcc_supplies),
274 renesas_r63419_vcc_supplies, &ctx->vcc_supplies);
275 if (ret < 0)
276 return ret;
277
278 ctx->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH);
279 if (IS_ERR(ctx->reset_gpio))
280 return dev_err_probe(dev, PTR_ERR(ctx->reset_gpio),
281 "Failed to get reset gpio\n");
282
283 /* Get second DSI host */
284 dsi1_node = of_graph_get_remote_node(dsi->dev.of_node, 1, -1);
285 if (!dsi1_node)
286 return dev_err_probe(dev, -ENODEV,
287 "Failed to get remote node for second DSI\n");
288
289 dsi1_host = of_find_mipi_dsi_host_by_node(dsi1_node);
290 of_node_put(dsi1_node);
291 if (!dsi1_host)
292 return dev_err_probe(dev, -EPROBE_DEFER,
293 "Failed to find second DSI host\n");
294
295 /* Copy current DSI info, do not provide OF node since no driver needs to be attached */
296 strscpy(info.type, dsi->name, sizeof(info.type));
297 info.channel = dsi->channel;
298
299 /* Register the second DSI device */
300 ctx->dsi[1] = devm_mipi_dsi_device_register_full(dev, dsi1_host, &info);
301 if (IS_ERR(ctx->dsi[1]))
302 return dev_err_probe(dev, PTR_ERR(ctx->dsi[1]),
303 "Failed to register second DSI device\n");
304
305 ctx->dsi[0] = dsi;
306 mipi_dsi_set_drvdata(dsi, ctx);
307
308 /* Get panel orientation */
309 ret = of_drm_get_panel_orientation(dev->of_node, &ctx->orientation);
310 if (ret < 0 && ret != -ENODEV)
311 return dev_err_probe(dev, ret,
312 "Failed to get panel orientation\n");
313
314 ctx->panel.prepare_prev_first = true;
315
316 ret = drm_panel_of_backlight(&ctx->panel);
317 if (ret)
318 return dev_err_probe(dev, ret, "Failed to get backlight\n");
319
> 320 ret = devm_drm_panel_add(dev, &ctx->panel);
321 if (ret)
322 return dev_err_probe(dev, ret, "Failed to add panel\n");
323
324 /* Configure and attach both DSI devices */
325 for (i = 0; i < ARRAY_SIZE(ctx->dsi); i++) {
326 ctx->dsi[i]->lanes = ctx->desc->lanes;
327 ctx->dsi[i]->format = ctx->desc->format;
328 ctx->dsi[i]->mode_flags = ctx->desc->mode_flags;
329
330 ret = devm_mipi_dsi_attach(dev, ctx->dsi[i]);
331 if (ret < 0)
332 return dev_err_probe(dev, ret,
333 "Failed to attach DSI device %d\n", i);
334 }
335
336 return 0;
337 }
338
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply
* Re: [PATCH v2] udf: validate extent partition references in udf_current_aext()
From: kernel test robot @ 2026-06-13 7:06 UTC (permalink / raw)
To: Kyle Zeng, linux-kernel
Cc: llvm, oe-kbuild-all, Jan Kara, outbounddisclosures, Kyle Zeng
In-Reply-To: <20260612225846.97678-1-kylebot@openai.com>
Hi Kyle,
kernel test robot noticed the following build errors:
[auto build test ERROR on brauner-vfs/vfs.all]
[also build test ERROR on linus/master v7.1-rc7 next-20260612]
[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/Kyle-Zeng/udf-validate-extent-partition-references-in-udf_current_aext/20260613-070817
base: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git vfs.all
patch link: https://lore.kernel.org/r/20260612225846.97678-1-kylebot%40openai.com
patch subject: [PATCH v2] udf: validate extent partition references in udf_current_aext()
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20260613/202606131500.3pJCF54j-lkp@intel.com/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260613/202606131500.3pJCF54j-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/202606131500.3pJCF54j-lkp@intel.com/
All errors (new ones prefixed by >>):
fs/udf/inode.c:2154:22: warning: unused variable 'sbi' [-Wunused-variable]
2154 | struct udf_sb_info *sbi = UDF_SB(inode->i_sb);
| ^~~
>> fs/udf/inode.c:2303:37: error: use of undeclared identifier 'sbi'
2303 | if (eloc->partitionReferenceNum >= sbi->s_partitions) {
| ^~~
fs/udf/inode.c:2305:35: error: use of undeclared identifier 'sbi'
2305 | eloc->partitionReferenceNum, sbi->s_partitions);
| ^~~
1 warning and 2 errors generated.
vim +/sbi +2303 fs/udf/inode.c
2242
2243 /*
2244 * Returns 1 on success, -errno on error, 0 on hit EOF.
2245 */
2246 int udf_current_aext(struct inode *inode, struct extent_position *epos,
2247 struct kernel_lb_addr *eloc, uint32_t *elen, int8_t *etype,
2248 int inc)
2249 {
2250 int alen;
2251 uint8_t *ptr;
2252 struct short_ad *sad;
2253 struct long_ad *lad;
2254 struct udf_inode_info *iinfo = UDF_I(inode);
2255
2256 if (!epos->bh) {
2257 if (!epos->offset)
2258 epos->offset = udf_file_entry_alloc_offset(inode);
2259 ptr = iinfo->i_data + epos->offset -
2260 udf_file_entry_alloc_offset(inode) +
2261 iinfo->i_lenEAttr;
2262 alen = udf_file_entry_alloc_offset(inode) +
2263 iinfo->i_lenAlloc;
2264 } else {
2265 struct allocExtDesc *header =
2266 (struct allocExtDesc *)epos->bh->b_data;
2267
2268 if (!epos->offset)
2269 epos->offset = sizeof(struct allocExtDesc);
2270 ptr = epos->bh->b_data + epos->offset;
2271 if (check_add_overflow(sizeof(struct allocExtDesc),
2272 le32_to_cpu(header->lengthAllocDescs), &alen))
2273 return -1;
2274
2275 if (alen > epos->bh->b_size)
2276 return -1;
2277 }
2278
2279 switch (iinfo->i_alloc_type) {
2280 case ICBTAG_FLAG_AD_SHORT:
2281 sad = udf_get_fileshortad(ptr, alen, &epos->offset, inc);
2282 if (!sad)
2283 return 0;
2284 *etype = le32_to_cpu(sad->extLength) >> 30;
2285 eloc->logicalBlockNum = le32_to_cpu(sad->extPosition);
2286 eloc->partitionReferenceNum =
2287 iinfo->i_location.partitionReferenceNum;
2288 *elen = le32_to_cpu(sad->extLength) & UDF_EXTENT_LENGTH_MASK;
2289 break;
2290 case ICBTAG_FLAG_AD_LONG:
2291 lad = udf_get_filelongad(ptr, alen, &epos->offset, inc);
2292 if (!lad)
2293 return 0;
2294 *etype = le32_to_cpu(lad->extLength) >> 30;
2295 *eloc = lelb_to_cpu(lad->extLocation);
2296 *elen = le32_to_cpu(lad->extLength) & UDF_EXTENT_LENGTH_MASK;
2297 break;
2298 default:
2299 udf_debug("alloc_type = %u unsupported\n", iinfo->i_alloc_type);
2300 return -EINVAL;
2301 }
2302
> 2303 if (eloc->partitionReferenceNum >= sbi->s_partitions) {
2304 udf_debug("invalid partition reference %u (partitions %u)\n",
2305 eloc->partitionReferenceNum, sbi->s_partitions);
2306 return -EFSCORRUPTED;
2307 }
2308
2309 return 1;
2310 }
2311
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply
* [hare-scsi-devel:configfs-ns.v6 1/24] drivers/nvme/target/bpf_ops.c:11:20: warning: variable 'nvmet_bpf_ops_btf' set but not used
From: kernel test robot @ 2026-06-13 7:06 UTC (permalink / raw)
To: Hannes Reinecke; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git configfs-ns.v6
head: 65843faa046b6a3ff4953aba7319313104638535
commit: 95eeb6714114cd17d9c4c494a28cc11d86059eef [1/24] nvmet-bpf: eBPF struct_ops support for log pages
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20260613/202606131433.zX755KzZ-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 305faf498a4e0b52b40742c927af63ab2082e1a9)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260613/202606131433.zX755KzZ-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/202606131433.zX755KzZ-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/nvme/target/bpf_ops.c:11:20: warning: variable 'nvmet_bpf_ops_btf' set but not used [-Wunused-but-set-global]
11 | static struct btf *nvmet_bpf_ops_btf;
| ^
1 warning generated.
vim +/nvmet_bpf_ops_btf +11 drivers/nvme/target/bpf_ops.c
10
> 11 static struct btf *nvmet_bpf_ops_btf;
12 static char nvmet_bpf_ops_name[] = "nvmet_bpf_ops";
13
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply
* Re: [PATCH] net: correcting section tags for .init and .exit data/functions
From: kernel test robot @ 2026-06-13 4:34 UTC (permalink / raw)
To: xur, David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
Simon Horman, Neal Cardwell, Kuniyuki Iwashima, Willem de Bruijn,
David Ahern, Ido Schimmel, Andreas Färber,
Manivannan Sadhasivam, Nathan Chancellor, Nick Desaulniers,
Bill Wendling, Justin Stitt, Maciej Żenczykowski,
Yue Haibing, Jeff Layton, Kees Cook, Fernando Fernandez Mancera,
Gustavo A. R. Silva, Sabrina Dubroca, Masahiro Yamada,
Nicolas Schier, linux-kernel, linux-arm-kernel, linux-actions
Cc: llvm, oe-kbuild-all, netdev
In-Reply-To: <20260612162257.896792-1-xur@google.com>
Hi,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 2b414a95b8f7307d42173ba9e580d6d3e2bcbfce]
url: https://github.com/intel-lab-lkp/linux/commits/xur-google-com/net-correcting-section-tags-for-init-and-exit-data-functions/20260613-002737
base: 2b414a95b8f7307d42173ba9e580d6d3e2bcbfce
patch link: https://lore.kernel.org/r/20260612162257.896792-1-xur%40google.com
patch subject: [PATCH] net: correcting section tags for .init and .exit data/functions
config: loongarch-defconfig (https://download.01.org/0day-ci/archive/20260613/202606131256.P9NXJENl-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 305faf498a4e0b52b40742c927af63ab2082e1a9)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260613/202606131256.P9NXJENl-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/202606131256.P9NXJENl-lkp@intel.com/
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> WARNING: modpost: vmlinux: section mismatch in reference: tcpv6_init+0x74 (section: .text) -> mptcpv6_init (section: .init.text)
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply
page: next (older)
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox