diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2009-01-03 06:31:58 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-03 06:31:58 +0100 |
commit | fffeeb413704b742dd1d08a3b5a0070a72ab52e1 (patch) | |
tree | 4eb8c70ac6d8bf2973d29665f175bfc9b12497f3 /init | |
parent | sparc: fix warning in userspace header jsflash.h (diff) | |
download | linux-fffeeb413704b742dd1d08a3b5a0070a72ab52e1.tar.xz linux-fffeeb413704b742dd1d08a3b5a0070a72ab52e1.zip |
sparc: fix warnings in userspace header byteorder.h
Fix following warnings in byteorder.h:
byteorder.h:4: include of <linux/types.h> is preferred over <asm/types.h>
byteorder.h:9: leaks CONFIG_SPARC32 to userspace where it is not valid
byteorder.h:13: leaks CONFIG_SPARC64 to userspace where it is not valid
byteorder.h:14: found __[us]{8,16,32,64} type without #include <linux/types.h>
byteorder.h:47: leaks CONFIG_SPARC64 to userspace where it is not valid
- changed to use include <linux/types.h> as suggested
- use preprocessor defined symbols to distingush between 32 and 64 bit
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions