Commit a110a350 authored by Dave Jones's avatar Dave Jones

[PATCH] fix decnet compile error on newer gcc's

parent 8109a537
...@@ -836,8 +836,7 @@ struct dn_fib_table *dn_fib_get_table(int n, int create) ...@@ -836,8 +836,7 @@ struct dn_fib_table *dn_fib_get_table(int n, int create)
return NULL; return NULL;
if (in_interrupt() && net_ratelimit()) { if (in_interrupt() && net_ratelimit()) {
printk(KERN_DEBUG "DECnet: BUG! Attempt to create routing table printk(KERN_DEBUG "DECnet: BUG! Attempt to create routing table from interrupt\n");
from interrupt\n");
return NULL; return NULL;
} }
if ((t = kmalloc(sizeof(struct dn_fib_table), GFP_KERNEL)) == NULL) if ((t = kmalloc(sizeof(struct dn_fib_table), GFP_KERNEL)) == NULL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment