2020-06-19 13:07:22

by Jianyong Wu

[permalink] [raw]
Subject: [PATCH v13 3/9] smccc: Export smccc conduit get helper.

Export arm_smccc_1_1_get_conduit then modules can use smccc helper which
adopts it.

Acked-by: Mark Rutland <[email protected]>
Signed-off-by: Jianyong Wu <[email protected]>
---
drivers/firmware/smccc/smccc.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/firmware/smccc/smccc.c b/drivers/firmware/smccc/smccc.c
index 4e80921ee212..b855fe7b5c90 100644
--- a/drivers/firmware/smccc/smccc.c
+++ b/drivers/firmware/smccc/smccc.c
@@ -24,6 +24,7 @@ enum arm_smccc_conduit arm_smccc_1_1_get_conduit(void)

return smccc_conduit;
}
+EXPORT_SYMBOL(arm_smccc_1_1_get_conduit);

u32 arm_smccc_get_version(void)
{
--
2.17.1


2020-06-19 13:59:32

by Christoph Hellwig

[permalink] [raw]
Subject: Re: [PATCH v13 3/9] smccc: Export smccc conduit get helper.

On Fri, Jun 19, 2020 at 09:01:14PM +0800, Jianyong Wu wrote:
> Export arm_smccc_1_1_get_conduit then modules can use smccc helper which
> adopts it.
>
> Acked-by: Mark Rutland <[email protected]>
> Signed-off-by: Jianyong Wu <[email protected]>
> ---
> drivers/firmware/smccc/smccc.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/firmware/smccc/smccc.c b/drivers/firmware/smccc/smccc.c
> index 4e80921ee212..b855fe7b5c90 100644
> --- a/drivers/firmware/smccc/smccc.c
> +++ b/drivers/firmware/smccc/smccc.c
> @@ -24,6 +24,7 @@ enum arm_smccc_conduit arm_smccc_1_1_get_conduit(void)
>
> return smccc_conduit;
> }
> +EXPORT_SYMBOL(arm_smccc_1_1_get_conduit);

EXPORT_SYMBOL_GPL, please.

2020-06-22 01:31:21

by Jianyong Wu

[permalink] [raw]
Subject: RE: [PATCH v13 3/9] smccc: Export smccc conduit get helper.

Hi Christoph,

> -----Original Message-----
> From: Christoph Hellwig <[email protected]>
> Sent: Friday, June 19, 2020 9:57 PM
> To: Jianyong Wu <[email protected]>
> Cc: [email protected]; [email protected]; [email protected];
> [email protected]; [email protected]; [email protected];
> [email protected]; [email protected]; Mark Rutland
> <[email protected]>; [email protected]; Suzuki Poulose
> <[email protected]>; Steven Price <[email protected]>; Justin
> He <[email protected]>; Wei Chen <[email protected]>;
> [email protected]; Steve Capper <[email protected]>; linux-
> [email protected]; Kaly Xin <[email protected]>; nd <[email protected]>;
> [email protected]; [email protected]
> Subject: Re: [PATCH v13 3/9] smccc: Export smccc conduit get helper.
>
> On Fri, Jun 19, 2020 at 09:01:14PM +0800, Jianyong Wu wrote:
> > Export arm_smccc_1_1_get_conduit then modules can use smccc helper
> > which adopts it.
> >
> > Acked-by: Mark Rutland <[email protected]>
> > Signed-off-by: Jianyong Wu <[email protected]>
> > ---
> > drivers/firmware/smccc/smccc.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/firmware/smccc/smccc.c
> > b/drivers/firmware/smccc/smccc.c index 4e80921ee212..b855fe7b5c90
> > 100644
> > --- a/drivers/firmware/smccc/smccc.c
> > +++ b/drivers/firmware/smccc/smccc.c
> > @@ -24,6 +24,7 @@ enum arm_smccc_conduit
> > arm_smccc_1_1_get_conduit(void)
> >
> > return smccc_conduit;
> > }
> > +EXPORT_SYMBOL(arm_smccc_1_1_get_conduit);
>
> EXPORT_SYMBOL_GPL, please.

Ok, thanks.

Thanks
Jianyong