Message ID | 20231127102523.28003-24-jgross@suse.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Mini-OS: hide mini-os internal symbols | expand |
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 >
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",
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(+)