[PATCH] ubifs-next: make xattr structures static
Richard Weinberger
richard at nod.at
Tue Jun 21 12:23:01 PDT 2016
Am 21.06.2016 um 18:50 schrieb Ben Dooks:
> Fix sparse warnings from the use of "struct xattr_handler"
> structures that are not exported by making them static. Fixes
> the following sparse warnings:
>
> /fs/ubifs/xattr.c:595:28: warning: symbol 'ubifs_user_xattr_handler' was not declared. Should it be static?
> /fs/ubifs/xattr.c:601:28: warning: symbol 'ubifs_trusted_xattr_handler' was not declared. Should it be static?
> /fs/ubifs/xattr.c:607:28: warning: symbol 'ubifs_security_xattr_handler' was not declared. Should it be static?
>
> Signed-off-by: Ben Dooks <ben.dooks at codethink.co.uk>
Makes sense!
Thanks,
//richard
More information about the linux-mtd
mailing list