* Re: [PATCH rdma-next 9/9] RDMA/core: Add command to set pinned FRMR handles
[not found] <20251116-frmr_pools-v1-9-5eb3c8f5c9c4@nvidia.com>
@ 2025-11-17 18:18 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-11-17 18:18 UTC (permalink / raw)
To: Edward Srouji; +Cc: llvm, oe-kbuild-all
Hi Edward,
kernel test robot noticed the following build warnings:
[auto build test WARNING on d056bc45b62b5981ebcd18c4303a915490b8ebe9]
url: https://github.com/intel-lab-lkp/linux/commits/Edward-Srouji/IB-core-Introduce-FRMR-pools/20251117-031555
base: d056bc45b62b5981ebcd18c4303a915490b8ebe9
patch link: https://lore.kernel.org/r/20251116-frmr_pools-v1-9-5eb3c8f5c9c4%40nvidia.com
patch subject: [PATCH rdma-next 9/9] RDMA/core: Add command to set pinned FRMR handles
config: sparc64-allmodconfig (https://download.01.org/0day-ci/archive/20251118/202511180120.k49Kg82B-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 0bba1e76581bad04e7d7f09f5115ae5e2989e0d9)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251118/202511180120.k49Kg82B-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/202511180120.k49Kg82B-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/infiniband/core/nldev.c:2943:12: warning: stack frame size (2112) exceeds limit (2048) in 'nldev_frmr_pools_set_doit' [-Wframe-larger-than]
2943 | static int nldev_frmr_pools_set_doit(struct sk_buff *skb, struct nlmsghdr *nlh,
| ^
1 warning generated.
vim +/nldev_frmr_pools_set_doit +2943 drivers/infiniband/core/nldev.c
362ddee594f2a3 Michael Guralnik 2025-11-16 2942
79939baf7a9de1 Michael Guralnik 2025-11-16 @2943 static int nldev_frmr_pools_set_doit(struct sk_buff *skb, struct nlmsghdr *nlh,
79939baf7a9de1 Michael Guralnik 2025-11-16 2944 struct netlink_ext_ack *extack)
79939baf7a9de1 Michael Guralnik 2025-11-16 2945 {
79939baf7a9de1 Michael Guralnik 2025-11-16 2946 struct nlattr *tb[RDMA_NLDEV_ATTR_MAX];
79939baf7a9de1 Michael Guralnik 2025-11-16 2947 struct ib_device *device;
79939baf7a9de1 Michael Guralnik 2025-11-16 2948 u32 aging_period;
79939baf7a9de1 Michael Guralnik 2025-11-16 2949 int err;
79939baf7a9de1 Michael Guralnik 2025-11-16 2950
79939baf7a9de1 Michael Guralnik 2025-11-16 2951 err = nlmsg_parse(nlh, 0, tb, RDMA_NLDEV_ATTR_MAX - 1, nldev_policy,
79939baf7a9de1 Michael Guralnik 2025-11-16 2952 extack);
79939baf7a9de1 Michael Guralnik 2025-11-16 2953 if (err)
79939baf7a9de1 Michael Guralnik 2025-11-16 2954 return err;
79939baf7a9de1 Michael Guralnik 2025-11-16 2955
79939baf7a9de1 Michael Guralnik 2025-11-16 2956 if (!tb[RDMA_NLDEV_ATTR_DEV_INDEX])
79939baf7a9de1 Michael Guralnik 2025-11-16 2957 return -EINVAL;
79939baf7a9de1 Michael Guralnik 2025-11-16 2958
79939baf7a9de1 Michael Guralnik 2025-11-16 2959 device = ib_device_get_by_index(
79939baf7a9de1 Michael Guralnik 2025-11-16 2960 sock_net(skb->sk), nla_get_u32(tb[RDMA_NLDEV_ATTR_DEV_INDEX]));
79939baf7a9de1 Michael Guralnik 2025-11-16 2961 if (!device)
79939baf7a9de1 Michael Guralnik 2025-11-16 2962 return -EINVAL;
79939baf7a9de1 Michael Guralnik 2025-11-16 2963
9ad54ccf068d69 Michael Guralnik 2025-11-16 2964 if (tb[RDMA_NLDEV_ATTR_FRMR_POOLS_AGING_PERIOD]) {
9ad54ccf068d69 Michael Guralnik 2025-11-16 2965 aging_period = nla_get_u32(
9ad54ccf068d69 Michael Guralnik 2025-11-16 2966 tb[RDMA_NLDEV_ATTR_FRMR_POOLS_AGING_PERIOD]);
79939baf7a9de1 Michael Guralnik 2025-11-16 2967 err = ib_frmr_pools_set_aging_period(device, aging_period);
9ad54ccf068d69 Michael Guralnik 2025-11-16 2968 goto done;
9ad54ccf068d69 Michael Guralnik 2025-11-16 2969 }
79939baf7a9de1 Michael Guralnik 2025-11-16 2970
9ad54ccf068d69 Michael Guralnik 2025-11-16 2971 if (tb[RDMA_NLDEV_ATTR_FRMR_POOL_PINNED_HANDLES])
9ad54ccf068d69 Michael Guralnik 2025-11-16 2972 err = nldev_frmr_pools_set_pinned(device, tb, extack);
9ad54ccf068d69 Michael Guralnik 2025-11-16 2973
9ad54ccf068d69 Michael Guralnik 2025-11-16 2974 done:
79939baf7a9de1 Michael Guralnik 2025-11-16 2975 ib_device_put(device);
79939baf7a9de1 Michael Guralnik 2025-11-16 2976 return err;
79939baf7a9de1 Michael Guralnik 2025-11-16 2977 }
79939baf7a9de1 Michael Guralnik 2025-11-16 2978
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-11-17 18:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20251116-frmr_pools-v1-9-5eb3c8f5c9c4@nvidia.com>
2025-11-17 18:18 ` [PATCH rdma-next 9/9] RDMA/core: Add command to set pinned FRMR handles kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).