[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a9c66184-15b9-cd11-60b7-5a644c0521b0@gmail.com>
Date: Wed, 31 Jul 2019 20:01:45 +0800
From: Jia-Ju Bai <baijiaju1990@...il.com>
To: Stephen Rothwell <sfr@...b.auug.org.au>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: Linux Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Joseph Qi <joseph.qi@...ux.alibaba.com>
Subject: Re: linux-next: build warning after merge of the akpm-current tree
On 2019/7/31 14:16, Stephen Rothwell wrote:
> Hi all,
>
> After merging the akpm-current tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
>
> fs/ocfs2/xattr.c:1493:13: warning: 'ocfs2_xa_add_entry' defined but not used [-Wunused-function]
> static void ocfs2_xa_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash)
> ^~~~~~~~~~~~~~~~~~
>
> Introduced by commit
>
> 45d9aa3d263d ("fs: ocfs2: fix possible null-pointer dereferences in ocfs2_xa_prepare_entry()")
>
I look at the code again.
The function ocfs2_xa_add_entry() is never called when using this patch.
Thus, I think the definition of ocfs2_xa_add_entry() could be removed.
If it is okay, I can send a new patch (v3).
Best wishes,
Jia-Ju Bai
Powered by blists - more mailing lists