lkml.org 
[lkml]   [2020]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] fs/nfsd: remove unused NFSDDBG_FACILITY to tame gcc
From
Date

Sorry, gcc is error on this case, it cann't find out much of
NFSDDBG_##flag

Forget this patch.

Alex

在 2020/11/6 上午11:47, Alex Shi 写道:
> There are lots of NFSDDBG_FACILITY defined in many files
> but it isn't used anywhere. so remove it to tame the gcc warning:
>
> fs/nfsd/nfsxdr.c:12:0: warning: macro "NFSDDBG_FACILITY" is not used
> [-Wunused-macros]
> fs/nfsd/filecache.c:23:0: warning: macro "NFSDDBG_FACILITY" is not used
> [-Wunused-macros]
> fs/nfsd/nfs3xdr.c:17:0: warning: macro "NFSDDBG_FACILITY" is not used
> [-Wunused-macros]
> fs/nfsd/flexfilelayoutxdr.c:11:0: warning: macro "NFSDDBG_FACILITY" is
> not used [-Wunused-macros]
> fs/nfsd/nfsxdr.c:12:0: warning: macro "NFSDDBG_FACILITY" is not used
> [-Wunused-macros]
> fs/nfsd/filecache.c:23:0: warning: macro "NFSDDBG_FACILITY" is not used
> [-Wunused-macros]
> fs/nfsd/nfs3xdr.c:17:0: warning: macro "NFSDDBG_FACILITY" is not used
> [-Wunused-macros]
> fs/nfsd/flexfilelayoutxdr.c:11:0: warning: macro "NFSDDBG_FACILITY" is
> not used [-Wunused-macros]
>

\
 
 \ /
  Last update: 2020-11-06 09:06    [W:0.085 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site