Re: [PATCH] staging: smbfs building fix

From: Nick Piggin
Date: Fri Jan 14 2011 - 04:05:25 EST


On Fri, Jan 14, 2011 at 6:51 PM, Yang Ruirui <ruirui.r.yang@xxxxxxxxx> wrote:
> Building error for smbfs:
>
> drivers/staging/smbfs/dir.c:286: error: static declaration of 'smbfs_dentry_operations' follows non-static declaration
> drivers/staging/smbfs/proto.h:42: error: previous declaration of 'smbfs_dentry_operations' was here
> drivers/staging/smbfs/dir.c:294: error: static declaration of 'smbfs_dentry_operations_case' follows non-static declaration
> drivers/staging/smbfs/proto.h:41: error: previous declaration of 'smbfs_dentry_operations_case' was here
> make[3]: *** [drivers/staging/smbfs/dir.o] Error 1
> make[2]: *** [drivers/staging/smbfs] Error 2
> make[1]: *** [drivers/staging] Error 2
> make[1]: *** Waiting for unfinished jobs....
>
> Fix it by removing static keywords

Thanks. It's a pain to find the options to compile the staging filesystems...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/