Commit 39bf3f09 authored by Ingo Molnar's avatar Ingo Molnar Committed by Thomas Gleixner

net: trivial cast fix in ipv4/route.c

To allow macros pick the right implementation cast to (spinlock_t *).
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent e06f3b2d
...@@ -242,7 +242,7 @@ static __init void rt_hash_lock_init(void) ...@@ -242,7 +242,7 @@ static __init void rt_hash_lock_init(void)
spin_lock_init(&rt_hash_locks[i]); spin_lock_init(&rt_hash_locks[i]);
} }
#else #else
# define rt_hash_lock_addr(slot) NULL # define rt_hash_lock_addr(slot) ((spinlock_t *)NULL)
static inline void rt_hash_lock_init(void) static inline void rt_hash_lock_init(void)
{ {
......
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