Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[NET]: Fix networking compilation errors

Fix miscellaneous networking compilation errors.

(*) Export ktime_add_ns() for modules.

(*) wext_proc_init() should have an ANSI declaration.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

David Howells and committed by
David S. Miller
b8b8fd2d b1bdb691

+3 -1
+1 -1
include/net/wext.h
··· 10 10 extern int wext_handle_ioctl(struct ifreq *ifr, unsigned int cmd, 11 11 void __user *arg); 12 12 #else 13 - static inline int wext_proc_init() 13 + static inline int wext_proc_init(void) 14 14 { 15 15 return 0; 16 16 }
+2
kernel/hrtimer.c
··· 279 279 280 280 return ktime_add(kt, tmp); 281 281 } 282 + 283 + EXPORT_SYMBOL_GPL(ktime_add_ns); 282 284 # endif /* !CONFIG_KTIME_SCALAR */ 283 285 284 286 /*