* [PATCH] soc: fsl: qe: ucc: Export ucc_mux_set_grant_tsa_bkpt
@ 2024-09-05 7:22 Herve Codina
2024-09-05 7:31 ` Christophe Leroy
0 siblings, 1 reply; 3+ messages in thread
From: Herve Codina @ 2024-09-05 7:22 UTC (permalink / raw)
To: Qiang Zhao, Christophe Leroy
Cc: linuxppc-dev, linux-arm-kernel, linux-kernel, Thomas Petazzoni,
Herve Codina, kernel test robot
When TSA is compiled as module the following error is reported:
"ucc_mux_set_grant_tsa_bkpt" [drivers/soc/fsl/qe/tsa.ko] undefined!
Indeed, the ucc_mux_set_grant_tsa_bkpt symbol is not exported.
Simply export ucc_mux_set_grant_tsa_bkpt.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202409051409.fszn8rEo-lkp@intel.com/
Signed-off-by: Herve Codina <herve.codina@bootlin.com>
---
drivers/soc/fsl/qe/ucc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/soc/fsl/qe/ucc.c b/drivers/soc/fsl/qe/ucc.c
index 21dbcd787cd5..892aa5931d5b 100644
--- a/drivers/soc/fsl/qe/ucc.c
+++ b/drivers/soc/fsl/qe/ucc.c
@@ -114,6 +114,7 @@ int ucc_mux_set_grant_tsa_bkpt(unsigned int ucc_num, int set, u32 mask)
return 0;
}
+EXPORT_SYMBOL(ucc_mux_set_grant_tsa_bkpt);
int ucc_set_qe_mux_rxtx(unsigned int ucc_num, enum qe_clock clock,
enum comm_dir mode)
--
2.46.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] soc: fsl: qe: ucc: Export ucc_mux_set_grant_tsa_bkpt
2024-09-05 7:22 [PATCH] soc: fsl: qe: ucc: Export ucc_mux_set_grant_tsa_bkpt Herve Codina
@ 2024-09-05 7:31 ` Christophe Leroy
2024-09-05 9:23 ` Arnd Bergmann
0 siblings, 1 reply; 3+ messages in thread
From: Christophe Leroy @ 2024-09-05 7:31 UTC (permalink / raw)
To: Herve Codina, Qiang Zhao, Arnd Bergmann
Cc: linuxppc-dev, linux-arm-kernel, linux-kernel, Thomas Petazzoni,
kernel test robot
Le 05/09/2024 à 09:22, Herve Codina a écrit :
> When TSA is compiled as module the following error is reported:
> "ucc_mux_set_grant_tsa_bkpt" [drivers/soc/fsl/qe/tsa.ko] undefined!
>
> Indeed, the ucc_mux_set_grant_tsa_bkpt symbol is not exported.
>
> Simply export ucc_mux_set_grant_tsa_bkpt.
>
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202409051409.fszn8rEo-lkp@intel.com/
> Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Acked-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Arnd, it is ok for you to take this patch directly ?
Thanks
Christophe
> ---
> drivers/soc/fsl/qe/ucc.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/soc/fsl/qe/ucc.c b/drivers/soc/fsl/qe/ucc.c
> index 21dbcd787cd5..892aa5931d5b 100644
> --- a/drivers/soc/fsl/qe/ucc.c
> +++ b/drivers/soc/fsl/qe/ucc.c
> @@ -114,6 +114,7 @@ int ucc_mux_set_grant_tsa_bkpt(unsigned int ucc_num, int set, u32 mask)
>
> return 0;
> }
> +EXPORT_SYMBOL(ucc_mux_set_grant_tsa_bkpt);
>
> int ucc_set_qe_mux_rxtx(unsigned int ucc_num, enum qe_clock clock,
> enum comm_dir mode)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] soc: fsl: qe: ucc: Export ucc_mux_set_grant_tsa_bkpt
2024-09-05 7:31 ` Christophe Leroy
@ 2024-09-05 9:23 ` Arnd Bergmann
0 siblings, 0 replies; 3+ messages in thread
From: Arnd Bergmann @ 2024-09-05 9:23 UTC (permalink / raw)
To: Christophe Leroy, Herve Codina, Qiang Zhao
Cc: linuxppc-dev, linux-arm-kernel, linux-kernel, Thomas Petazzoni,
kernel test robot
On Thu, Sep 5, 2024, at 07:31, Christophe Leroy wrote:
> Le 05/09/2024 à 09:22, Herve Codina a écrit :
>> When TSA is compiled as module the following error is reported:
>> "ucc_mux_set_grant_tsa_bkpt" [drivers/soc/fsl/qe/tsa.ko] undefined!
>>
>> Indeed, the ucc_mux_set_grant_tsa_bkpt symbol is not exported.
>>
>> Simply export ucc_mux_set_grant_tsa_bkpt.
>>
>> Reported-by: kernel test robot <lkp@intel.com>
>> Closes: https://lore.kernel.org/oe-kbuild-all/202409051409.fszn8rEo-lkp@intel.com/
>> Signed-off-by: Herve Codina <herve.codina@bootlin.com>
>
> Acked-by: Christophe Leroy <christophe.leroy@csgroup.eu>
>
> Arnd, it is ok for you to take this patch directly ?
I've applied this one directly, but I'm not always paying attention
to patches flying by, so if you have more fixes like this in the future,
I recommend that you forward those to soc@kernel.org, either as a patch
or a pull request.
That way, I see them in patchwork and will apply them from there.
Arnd
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-09-05 9:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-05 7:22 [PATCH] soc: fsl: qe: ucc: Export ucc_mux_set_grant_tsa_bkpt Herve Codina
2024-09-05 7:31 ` Christophe Leroy
2024-09-05 9:23 ` Arnd Bergmann
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).