aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2015-03-21 19:06:55 +0000
committerMax Khon <fjoe@FreeBSD.org>2015-03-21 19:06:55 +0000
commitb1de905593dc3f77b183f97378ac2b7d65a8774e (patch)
tree563147790c29147be368a8348c24d08407edf649 /misc
parentaf5759a98544440cc0f5ff9e26ecee7f67123d17 (diff)
downloadports-b1de905593dc3f77b183f97378ac2b7d65a8774e.tar.gz
ports-b1de905593dc3f77b183f97378ac2b7d65a8774e.zip
Notes
Diffstat (limited to 'misc')
-rw-r--r--misc/dahdi-kmod26/files/patch-drivers-dahdi-dahdi_dynamic_ethmf.c11
-rw-r--r--misc/dahdi-kmod26/files/patch-include-linux-module.h11
2 files changed, 22 insertions, 0 deletions
diff --git a/misc/dahdi-kmod26/files/patch-drivers-dahdi-dahdi_dynamic_ethmf.c b/misc/dahdi-kmod26/files/patch-drivers-dahdi-dahdi_dynamic_ethmf.c
new file mode 100644
index 000000000000..b27a9cc9674c
--- /dev/null
+++ b/misc/dahdi-kmod26/files/patch-drivers-dahdi-dahdi_dynamic_ethmf.c
@@ -0,0 +1,11 @@
+--- drivers/dahdi/dahdi_dynamic_ethmf.c.orig 2015-03-22 01:02:19.881617000 +0600
++++ drivers/dahdi/dahdi_dynamic_ethmf.c 2015-03-22 01:02:39.709444000 +0600
+@@ -660,7 +660,7 @@
+ kfree(z->msgbuf);
+ kfree(z);
+ } else {
+- if (z && z->span && z->span->name) {
++ if (z && z->span) {
+ printk(KERN_ERR "Cannot find interface for %s\n",
+ z->span->name);
+ }
diff --git a/misc/dahdi-kmod26/files/patch-include-linux-module.h b/misc/dahdi-kmod26/files/patch-include-linux-module.h
new file mode 100644
index 000000000000..a14dda094eba
--- /dev/null
+++ b/misc/dahdi-kmod26/files/patch-include-linux-module.h
@@ -0,0 +1,11 @@
+--- include/linux/module.h.orig 2015-03-22 00:59:45.757428000 +0600
++++ include/linux/module.h 2015-03-22 01:00:08.597762000 +0600
+@@ -47,7 +47,7 @@
+ #define _module_ptr_args __CONCAT(_module_ptr_args_, __LINE__)
+ #define _module_ptr_init(field, val) \
+ static struct module_ptr_args _module_ptr_args = { \
+- (const void **) &(THIS_MODULE->field), val \
++ (const void **) (uintptr_t) &(THIS_MODULE->field), val \
+ }; \
+ SYSINIT(__CONCAT(_module_ptr_args, _init), \
+ SI_SUB_KLD, SI_ORDER_FIRST, \