coda_psdev.h: extern's make no sense in userspace
PATCH 1/1 coda_psdev.h: extern's make no sense in userspace
Impact: fix make headers_check warning:
usr/include/linux/coda_psdev.h:90: extern's make no sense in userspace
Signed-off-by Jaswinder Singh Rajput <[email protected]>
--- include/linux/coda_psdev.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
include/linux/coda_psdev.h +2 -0
@@ -87,6 +87,8 @@ struct upc_req {* Statistics */ +#ifdef __KERNEL__extern struct venus_comm coda_comms[]; +#endif /* __KERNEL__ */ #endif
Signature · 1 line
1.5.6.6
Quoted 14 lines · Jaswinder Singh Rajput
Impact: fix make
headers_checkwarning:
usr/include/linux/coda_psdev.h:90: extern's make no sense in userspaceSigned-off-by Jaswinder Singh Rajput <[email protected]>--- include/linux/coda_psdev.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)include/linux/coda_psdev.h +0
-0
include/linux/coda_psdev.h struct upc_req { · line 92
Quoted 6 lines
include/linux/coda_psdev.h +2
-0@@ -87,6 +87,8 @@ struct upc_req {* Statistics */ +#ifdef __KERNEL__extern struct venus_comm coda_comms[]; +#endif /* __KERNEL__ */
As this only gets used in code/inode.c, coda/psdev.c it would be nice if a code-internal header could be found that could hold this.
This is only here due to the one use outside of psdev.c in inode.c
Harvey