CC the list.
On Thu, Dec 19, 2013 at 09:08:34AM +0800, Wanlong Gao wrote: > /git/linux/lib/hash.c: In function 'hashlib_init': > /git/linux/lib/hash.c:35:2: warning: passing argument 1 of > 'setup_arch_fast_hash' from incompatible pointer type [enabled by default] > /git/linux/include/asm-generic/hash.h:5:20: note: expected 'struct > arch_hash_ops *' but argument is of type 'struct fast_hash_ops *' > > Reported-by: Fengguang Wu <fengguang...@intel.com> > Signed-off-by: Wanlong Gao <gaowanl...@cn.fujitsu.com> > --- > include/asm-generic/hash.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/include/asm-generic/hash.h b/include/asm-generic/hash.h > index 05cb342..b631284 100644 > --- a/include/asm-generic/hash.h > +++ b/include/asm-generic/hash.h > @@ -1,8 +1,8 @@ > #ifndef __ASM_GENERIC_HASH_H > #define __ASM_GENERIC_HASH_H > > -struct arch_hash_ops; > -static inline void setup_arch_fast_hash(struct arch_hash_ops *ops) > +struct fast_hash_ops; > +static inline void setup_arch_fast_hash(struct fast_hash_ops *ops) > { > } > > -- > 1.8.5.2.192.g7794a68 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/