diff options
| author | Rusty Russell <[email protected]> | 2010-08-27 14:39:48 +0000 |
|---|---|---|
| committer | Rusty Russell <[email protected]> | 2010-08-26 23:09:51 +0000 |
| commit | f846619e7f875b0efa9853b1c821bbc756656d47 (patch) | |
| tree | 8d79aeea72a1d66e54b1c7ebf8db39d362ace9d0 /net/unix/af_unix.c | |
| parent | Merge branch 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/ker... (diff) | |
| download | kernel-f846619e7f875b0efa9853b1c821bbc756656d47.tar.gz kernel-f846619e7f875b0efa9853b1c821bbc756656d47.zip | |
lguest: clean up warnings in demonstration launcher.
These days the headers we use are in glibc. If those are too old, you can
add the -I lines to get the kernel headers.
In file included from ../../include/linux/if_tun.h:19,
from lguest.c:33:
../../include/linux/types.h:13:2: warning: #warning "Attempt to use kernel headers from user space, see http://kernelnewbies.org/KernelHeaders"
lguest.c: In function ‘setup_tun_net’:
lguest.c:1456: warning: dereferencing pointer ‘sin’ does break strict-aliasing rules
lguest.c:1457: warning: dereferencing pointer ‘sin’ does break strict-aliasing rules
lguest.c:1450: note: initialized from here
Signed-off-by: Rusty Russell <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
