Thread (13 messages) 13 messages, 5 authors, 2025-11-09

Re: [PATCH net-next v2 1/2] devlink: pass extack through to devlink_param::get()

From: Jakub Kicinski <kuba@kernel.org>
Date: 2025-11-03 22:13:59
Also in: intel-wired-lan, linux-doc, linux-omap, linux-rdma

On Mon,  3 Nov 2025 11:45:52 -0800 Daniel Zahka wrote:
Allow devlink_param::get() handlers to report error messages via
extack. This function is called in a few different contexts, but not
all of them will have an valid extack to use.

When devlink_param::get() is called from param_get_doit or
param_get_dumpit contexts, pass the extack through so that drivers can
report errors when retrieving param values. devlink_param::get() is
called from the context of devlink_param_notify(), pass NULL in for
the extack.
Warning: drivers/net/ethernet/intel/ice/devlink/devlink.c:618 function parameter 'extack' not described in 'ice_devlink_tx_sched_layers_get'
Warning: drivers/net/ethernet/intel/ice/devlink/devlink.c:1533 function parameter 'extack' not described in 'ice_devlink_local_fwd_get'
-- 
pw-bot: cr
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help