public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Runtime fix for intermodule.c
@ 2005-07-12 21:39 Adrian Glaubitz
  2005-07-12 22:07 ` Christoph Hellwig
  2005-07-12 22:25 ` [PATCH] " Alexey Dobriyan
  0 siblings, 2 replies; 6+ messages in thread
From: Adrian Glaubitz @ 2005-07-12 21:39 UTC (permalink / raw)
  To: rusty; +Cc: trivial, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 789 bytes --]

Hello Rusty,

As it seeems that you are the maintainer of the module
related code in the Linux kernel, I send these
two small patches to you:

This little patch adds the missing function declaration
of the deprecatated function call inter_module_get
to the header file include/linux/module.h and the
necessary EXPORT_SYMBOL to kernel/intermodule.c. Without
the declaration and the EXPORT_SYMBOL any module that requires
the inter_module_get call will fail upon loading
since the symbol inter_module_get cannot be resolved,
applying this patch will make those modules work again.

Kernel version is 2.6.12.1

Affected modules are for example the ltmodem drivers
version 8.31a8 for lucent chipsets, they won't
work without the fix.

Regards,

Adrian Glaubitz
(glaubitz@physik.fu-berlin.de)


[-- Attachment #2: intermodule.c.diff --]
[-- Type: text/plain, Size: 336 bytes --]

--- kernel/intermodule.c.orig	2005-07-12 23:19:29.000000000 +0200
+++ kernel/intermodule.c	2005-07-12 23:19:58.000000000 +0200
@@ -180,3 +180,4 @@ EXPORT_SYMBOL(inter_module_register);
 EXPORT_SYMBOL(inter_module_unregister);
 EXPORT_SYMBOL(inter_module_get_request);
 EXPORT_SYMBOL(inter_module_put);
+EXPORT_SYMBOL(inter_module_get);

[-- Attachment #3: module.h.diff --]
[-- Type: text/plain, Size: 439 bytes --]

--- include/linux/module.h.orig	2005-07-12 22:58:20.000000000 +0200
+++ include/linux/module.h	2005-07-12 22:31:45.000000000 +0200
@@ -566,5 +566,6 @@ extern void __deprecated inter_module_un
 extern const void * __deprecated inter_module_get_request(const char *,
 		const char *);
 extern void __deprecated inter_module_put(const char *);
+extern const void * __deprecated inter_module_get(const char *);
 
 #endif /* _LINUX_MODULE_H */

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-07-13 11:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-12 21:39 [PATCH] Runtime fix for intermodule.c Adrian Glaubitz
2005-07-12 22:07 ` Christoph Hellwig
2005-07-13  8:19   ` Adrian Glaubitz
2005-07-13 10:56   ` Jan Engelhardt
2005-07-13 11:38     ` Arjan van de Ven
2005-07-12 22:25 ` [PATCH] " Alexey Dobriyan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox