Prev: [PATCH v3 3/8] change msr numbers for kvmclock
Next: net: Make accesses to ->br_port safe for sparse RCU
From: Eric W. Biederman on 5 May 2010 18:00 It appears gcc can't cope with using an enum that is only declared in an inline function declaration, that doesn't even use the variable that is so declared. Avoid the silliness and replace the enum with an int, and make gcc happy. Signed-off-by: Eric W. Biederman <ebiederm(a)aristanetworks.com> --- include/linux/sysfs.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h index e58ca1c..17cbeb7 100644 --- a/include/linux/sysfs.h +++ b/include/linux/sysfs.h @@ -318,7 +318,7 @@ static inline void sysfs_put(struct sysfs_dirent *sd) { } -static inline void sysfs_exit_ns(enum kobj_ns_type type, const void *tag) +static inline void sysfs_exit_ns(int type, const void *tag) { } -- 1.6.6.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |