* [PATCH ib-mux-pinctrl 1/1] mux: describe np parameter in __devm_mux_state_get()
@ 2026-05-07 15:21 Frank Li
2026-05-12 14:35 ` Josua Mayer
0 siblings, 1 reply; 2+ messages in thread
From: Frank Li @ 2026-05-07 15:21 UTC (permalink / raw)
To: linusw, Peter Rosin, Kees Cook, Frank Li, Josua Mayer,
Wolfram Sang, Thorsten Blum, open list
Cc: linux-gpio, imx, kernel test robot
Add a description for the 'np' parameter of __devm_mux_state_get() to fix
build warning.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202605061502.ullLjmtN-lkp@intel.com/
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
drivers/mux/core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mux/core.c b/drivers/mux/core.c
index 2f01acfccf47b..5083e3d19606b 100644
--- a/drivers/mux/core.c
+++ b/drivers/mux/core.c
@@ -771,6 +771,7 @@ static void devm_mux_state_release(struct device *dev, void *res)
* @dev: The device that needs a mux-state.
* @mux_name: The name identifying the mux-state.
* @optional: Whether to return NULL and silence errors when mux doesn't exist.
+ * @np: The device nodes, use dev->of_node if it is NULL.
* @init: Optional function pointer for mux-state object initialisation.
* @exit: Optional function pointer for mux-state object cleanup on release.
*
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH ib-mux-pinctrl 1/1] mux: describe np parameter in __devm_mux_state_get()
2026-05-07 15:21 [PATCH ib-mux-pinctrl 1/1] mux: describe np parameter in __devm_mux_state_get() Frank Li
@ 2026-05-12 14:35 ` Josua Mayer
0 siblings, 0 replies; 2+ messages in thread
From: Josua Mayer @ 2026-05-12 14:35 UTC (permalink / raw)
To: Frank Li, linusw@kernel.org, Peter Rosin, Kees Cook, Wolfram Sang,
Thorsten Blum, open list
Cc: linux-gpio@vger.kernel.org, imx@lists.linux.dev,
kernel test robot
Hi Frank,
Am 07.05.26 um 17:21 schrieb Frank Li:
> Add a description for the 'np' parameter of __devm_mux_state_get() to fix
> build warning.
>
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202605061502.ullLjmtN-lkp@intel.com/
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
> drivers/mux/core.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mux/core.c b/drivers/mux/core.c
> index 2f01acfccf47b..5083e3d19606b 100644
> --- a/drivers/mux/core.c
> +++ b/drivers/mux/core.c
> @@ -771,6 +771,7 @@ static void devm_mux_state_release(struct device *dev, void *res)
> * @dev: The device that needs a mux-state.
> * @mux_name: The name identifying the mux-state.
> * @optional: Whether to return NULL and silence errors when mux doesn't exist.
> + * @np: The device nodes, use dev->of_node if it is NULL.
minor nit: Singular device "node".
> * @init: Optional function pointer for mux-state object initialisation.
> * @exit: Optional function pointer for mux-state object cleanup on release.
> *
> --
> 2.43.0
>
Acked-by: Josua Mayer <josua@solid-run.com>
I think patches to mux-core alone end up in some low-attention (no-)maintainer bin,
when they don't go via other trees (mmc, pinctrl, phy, ...).
See also:
https://lore.kernel.org/r/20260423-mux-smatch-fixup-v1-1-9f403014e0d7@solid-run.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-05-12 14:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-07 15:21 [PATCH ib-mux-pinctrl 1/1] mux: describe np parameter in __devm_mux_state_get() Frank Li
2026-05-12 14:35 ` Josua Mayer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox