[PATCH v3 23/32] Mini-OS: add EXPORT_SYMBOL() instances to 9pfront.c

Juergen Gross posted 32 patches 2 years, 2 months ago
[PATCH v3 23/32] Mini-OS: add EXPORT_SYMBOL() instances to 9pfront.c
Posted by Juergen Gross 2 years, 2 months ago
Add the needed instances of EXPORT_SYMBOL() to 9pfront.c.

Signed-off-by: Juergen Gross <jgross@suse.com>
---
V3:
- new patch
---
 9pfront.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/9pfront.c b/9pfront.c
index 35c5552b..315089bc 100644
--- a/9pfront.c
+++ b/9pfront.c
@@ -1243,6 +1243,7 @@ void *init_9pfront(unsigned int id, const char *mnt)
     free(msg);
     return NULL;
 }
+EXPORT_SYMBOL(init_9pfront);
 
 void shutdown_9pfront(void *dev)
 {
@@ -1286,6 +1287,7 @@ void shutdown_9pfront(void *dev)
         printk("9pfsfront shutdown %u failed, %s\n", dev9p->id, reason);
     free(msg);
 }
+EXPORT_SYMBOL(shutdown_9pfront);
 
 static const struct file_ops ops_9pfs = {
     .name = "9pfs",
-- 
2.35.3
Re: [PATCH v3 23/32] Mini-OS: add EXPORT_SYMBOL() instances to 9pfront.c
Posted by Samuel Thibault 2 years, 2 months ago
Juergen Gross, le lun. 27 nov. 2023 11:25:14 +0100, a ecrit:
> Add the needed instances of EXPORT_SYMBOL() to 9pfront.c.
> 
> Signed-off-by: Juergen Gross <jgross@suse.com>

Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>

> ---
> V3:
> - new patch
> ---
>  9pfront.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/9pfront.c b/9pfront.c
> index 35c5552b..315089bc 100644
> --- a/9pfront.c
> +++ b/9pfront.c
> @@ -1243,6 +1243,7 @@ void *init_9pfront(unsigned int id, const char *mnt)
>      free(msg);
>      return NULL;
>  }
> +EXPORT_SYMBOL(init_9pfront);
>  
>  void shutdown_9pfront(void *dev)
>  {
> @@ -1286,6 +1287,7 @@ void shutdown_9pfront(void *dev)
>          printk("9pfsfront shutdown %u failed, %s\n", dev9p->id, reason);
>      free(msg);
>  }
> +EXPORT_SYMBOL(shutdown_9pfront);
>  
>  static const struct file_ops ops_9pfs = {
>      .name = "9pfs",
> -- 
> 2.35.3
> 

-- 
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.