[PATCH -next] erofs: make symbol 'erofs_iomap_ops' static

Gao Xiang hsiangkao at linux.alibaba.com
Sun Aug 8 23:19:01 AEST 2021

On Sun, Aug 08, 2021 at 06:33:43AM +0000, Wei Yongjun wrote:
> The sparse tool complains as follows:
> fs/erofs/data.c:150:24: warning:
>  symbol 'erofs_iomap_ops' was not declared. Should it be static?
> This symbol is not used outside of data.c, so marks it static.
> Fixes: 3e9ce908c114 ("erofs: iomap support for non-tailpacking DIO")
> Reported-by: Hulk Robot <hulkci at huawei.com>
> Signed-off-by: Wei Yongjun <weiyongjun1 at huawei.com>

Reviewed-by: Gao Xiang <hsiangkao at linux.alibaba.com>

Gao Xiang

More information about the Linux-erofs mailing list