* [nfs:testing 8/12] fs/nfs/./nfs4trace.h:158:19: error: 'NFS4ERR_RESET_TO_MDS' undeclared here (not in a function); did you mean 'NFS4ERR_REP_TOO_BIG'?
@ 2019-12-30 18:34 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-12-30 18:34 UTC (permalink / raw)
To: Trond Myklebust; +Cc: kbuild-all, linux-nfs
[-- Attachment #1: Type: text/plain, Size: 14515 bytes --]
tree: git://git.linux-nfs.org/projects/trondmy/linux-nfs.git testing
head: b96931ff504fa3c488f557c067ad8184aca4329b
commit: 8d24a70133f8b05d01b3e2237a4ed2c55921b47a [8/12] pNFS/flexfiles: Record resend attempts on I/O failure
config: x86_64-defconfig (attached as .config)
compiler: gcc-7 (Debian 7.5.0-3) 7.5.0
reproduce:
git checkout 8d24a70133f8b05d01b3e2237a4ed2c55921b47a
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All error/warnings (new ones prefixed by >>):
In file included from include/trace/define_trace.h:102:0,
from fs/nfs/nfs4trace.h:2128,
from fs/nfs/nfs4trace.c:13:
>> fs/nfs/./nfs4trace.h:158:19: error: 'NFS4ERR_RESET_TO_MDS' undeclared here (not in a function); did you mean 'NFS4ERR_REP_TOO_BIG'?
TRACE_DEFINE_ENUM(NFS4ERR_RESET_TO_MDS);
^
include/trace/trace_events.h:44:17: note: in definition of macro 'TRACE_DEFINE_ENUM'
.eval_value = a \
^
>> fs/nfs/./nfs4trace.h:159:19: error: 'NFS4ERR_RESET_TO_PNFS' undeclared here (not in a function); did you mean 'NFS4ERR_RESET_TO_MDS'?
TRACE_DEFINE_ENUM(NFS4ERR_RESET_TO_PNFS);
^
include/trace/trace_events.h:44:17: note: in definition of macro 'TRACE_DEFINE_ENUM'
.eval_value = a \
^
In file included from include/trace/define_trace.h:102:0,
from fs/nfs/nfs4trace.h:2128,
from fs/nfs/nfs4trace.c:13:
fs/nfs/./nfs4trace.h: In function 'trace_raw_output_nfs4_state_mgr_failed':
>> fs/nfs/./nfs4trace.h:313:5: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
{ NFS4ERR_RESET_TO_MDS, "RESET_TO_MDS" }, \
^
include/trace/trace_events.h:366:22: note: in definition of macro 'DECLARE_EVENT_CLASS'
trace_seq_printf(s, print); \
^~~~~
include/trace/trace_events.h:79:9: note: in expansion of macro 'PARAMS'
PARAMS(print)); \
^~~~~~
>> fs/nfs/./nfs4trace.h:633:1: note: in expansion of macro 'TRACE_EVENT'
TRACE_EVENT(nfs4_state_mgr_failed,
^~~~~~~~~~~
fs/nfs/./nfs4trace.h:656:3: note: in expansion of macro 'TP_printk'
TP_printk(
^~~~~~~~~
>> fs/nfs/./nfs4trace.h:162:2: note: in expansion of macro '__print_symbolic'
__print_symbolic(error, \
^~~~~~~~~~~~~~~~
>> fs/nfs/./nfs4trace.h:660:4: note: in expansion of macro 'show_nfsv4_errors'
show_nfsv4_errors(__entry->error), __get_str(section)
^~~~~~~~~~~~~~~~~
fs/nfs/./nfs4trace.h:313:5: note: (near initialization for 'symbols[143].mask')
{ NFS4ERR_RESET_TO_MDS, "RESET_TO_MDS" }, \
^
include/trace/trace_events.h:366:22: note: in definition of macro 'DECLARE_EVENT_CLASS'
trace_seq_printf(s, print); \
^~~~~
include/trace/trace_events.h:79:9: note: in expansion of macro 'PARAMS'
PARAMS(print)); \
^~~~~~
>> fs/nfs/./nfs4trace.h:633:1: note: in expansion of macro 'TRACE_EVENT'
TRACE_EVENT(nfs4_state_mgr_failed,
^~~~~~~~~~~
fs/nfs/./nfs4trace.h:656:3: note: in expansion of macro 'TP_printk'
TP_printk(
^~~~~~~~~
>> fs/nfs/./nfs4trace.h:162:2: note: in expansion of macro '__print_symbolic'
__print_symbolic(error, \
^~~~~~~~~~~~~~~~
>> fs/nfs/./nfs4trace.h:660:4: note: in expansion of macro 'show_nfsv4_errors'
show_nfsv4_errors(__entry->error), __get_str(section)
^~~~~~~~~~~~~~~~~
>> fs/nfs/./nfs4trace.h:313:5: error: initializer element is not constant
{ NFS4ERR_RESET_TO_MDS, "RESET_TO_MDS" }, \
^
include/trace/trace_events.h:366:22: note: in definition of macro 'DECLARE_EVENT_CLASS'
trace_seq_printf(s, print); \
^~~~~
include/trace/trace_events.h:79:9: note: in expansion of macro 'PARAMS'
PARAMS(print)); \
^~~~~~
>> fs/nfs/./nfs4trace.h:633:1: note: in expansion of macro 'TRACE_EVENT'
TRACE_EVENT(nfs4_state_mgr_failed,
^~~~~~~~~~~
fs/nfs/./nfs4trace.h:656:3: note: in expansion of macro 'TP_printk'
TP_printk(
^~~~~~~~~
>> fs/nfs/./nfs4trace.h:162:2: note: in expansion of macro '__print_symbolic'
__print_symbolic(error, \
^~~~~~~~~~~~~~~~
>> fs/nfs/./nfs4trace.h:660:4: note: in expansion of macro 'show_nfsv4_errors'
show_nfsv4_errors(__entry->error), __get_str(section)
^~~~~~~~~~~~~~~~~
fs/nfs/./nfs4trace.h:313:5: note: (near initialization for 'symbols[143].mask')
{ NFS4ERR_RESET_TO_MDS, "RESET_TO_MDS" }, \
^
include/trace/trace_events.h:366:22: note: in definition of macro 'DECLARE_EVENT_CLASS'
trace_seq_printf(s, print); \
^~~~~
include/trace/trace_events.h:79:9: note: in expansion of macro 'PARAMS'
PARAMS(print)); \
^~~~~~
>> fs/nfs/./nfs4trace.h:633:1: note: in expansion of macro 'TRACE_EVENT'
TRACE_EVENT(nfs4_state_mgr_failed,
^~~~~~~~~~~
fs/nfs/./nfs4trace.h:656:3: note: in expansion of macro 'TP_printk'
TP_printk(
^~~~~~~~~
>> fs/nfs/./nfs4trace.h:162:2: note: in expansion of macro '__print_symbolic'
__print_symbolic(error, \
^~~~~~~~~~~~~~~~
>> fs/nfs/./nfs4trace.h:660:4: note: in expansion of macro 'show_nfsv4_errors'
show_nfsv4_errors(__entry->error), __get_str(section)
^~~~~~~~~~~~~~~~~
fs/nfs/./nfs4trace.h:314:5: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
{ NFS4ERR_RESET_TO_PNFS, "RESET_TO_PNFS" })
^
include/trace/trace_events.h:366:22: note: in definition of macro 'DECLARE_EVENT_CLASS'
trace_seq_printf(s, print); \
^~~~~
include/trace/trace_events.h:79:9: note: in expansion of macro 'PARAMS'
PARAMS(print)); \
^~~~~~
>> fs/nfs/./nfs4trace.h:633:1: note: in expansion of macro 'TRACE_EVENT'
TRACE_EVENT(nfs4_state_mgr_failed,
^~~~~~~~~~~
fs/nfs/./nfs4trace.h:656:3: note: in expansion of macro 'TP_printk'
TP_printk(
^~~~~~~~~
>> fs/nfs/./nfs4trace.h:162:2: note: in expansion of macro '__print_symbolic'
__print_symbolic(error, \
^~~~~~~~~~~~~~~~
>> fs/nfs/./nfs4trace.h:660:4: note: in expansion of macro 'show_nfsv4_errors'
show_nfsv4_errors(__entry->error), __get_str(section)
^~~~~~~~~~~~~~~~~
fs/nfs/./nfs4trace.h:314:5: note: (near initialization for 'symbols[144].mask')
{ NFS4ERR_RESET_TO_PNFS, "RESET_TO_PNFS" })
^
include/trace/trace_events.h:366:22: note: in definition of macro 'DECLARE_EVENT_CLASS'
trace_seq_printf(s, print); \
^~~~~
include/trace/trace_events.h:79:9: note: in expansion of macro 'PARAMS'
PARAMS(print)); \
^~~~~~
>> fs/nfs/./nfs4trace.h:633:1: note: in expansion of macro 'TRACE_EVENT'
TRACE_EVENT(nfs4_state_mgr_failed,
^~~~~~~~~~~
fs/nfs/./nfs4trace.h:656:3: note: in expansion of macro 'TP_printk'
TP_printk(
^~~~~~~~~
vim +158 fs/nfs/./nfs4trace.h
157
> 158 TRACE_DEFINE_ENUM(NFS4ERR_RESET_TO_MDS);
> 159 TRACE_DEFINE_ENUM(NFS4ERR_RESET_TO_PNFS);
160
161 #define show_nfsv4_errors(error) \
> 162 __print_symbolic(error, \
163 { NFS4_OK, "OK" }, \
164 /* Mapped by nfs4_stat_to_errno() */ \
165 { EPERM, "EPERM" }, \
166 { ENOENT, "ENOENT" }, \
167 { EIO, "EIO" }, \
168 { ENXIO, "ENXIO" }, \
169 { EACCES, "EACCES" }, \
170 { EEXIST, "EEXIST" }, \
171 { EXDEV, "EXDEV" }, \
172 { ENOTDIR, "ENOTDIR" }, \
173 { EISDIR, "EISDIR" }, \
174 { EFBIG, "EFBIG" }, \
175 { ENOSPC, "ENOSPC" }, \
176 { EROFS, "EROFS" }, \
177 { EMLINK, "EMLINK" }, \
178 { ENAMETOOLONG, "ENAMETOOLONG" }, \
179 { ENOTEMPTY, "ENOTEMPTY" }, \
180 { EDQUOT, "EDQUOT" }, \
181 { ESTALE, "ESTALE" }, \
182 { EBADHANDLE, "EBADHANDLE" }, \
183 { EBADCOOKIE, "EBADCOOKIE" }, \
184 { ENOTSUPP, "ENOTSUPP" }, \
185 { ETOOSMALL, "ETOOSMALL" }, \
186 { EREMOTEIO, "EREMOTEIO" }, \
187 { EBADTYPE, "EBADTYPE" }, \
188 { EAGAIN, "EAGAIN" }, \
189 { ELOOP, "ELOOP" }, \
190 { EOPNOTSUPP, "EOPNOTSUPP" }, \
191 { EDEADLK, "EDEADLK" }, \
192 /* RPC errors */ \
193 { ENOMEM, "ENOMEM" }, \
194 { EKEYEXPIRED, "EKEYEXPIRED" }, \
195 { ETIMEDOUT, "ETIMEDOUT" }, \
196 { ERESTARTSYS, "ERESTARTSYS" }, \
197 { ECONNREFUSED, "ECONNREFUSED" }, \
198 { ECONNRESET, "ECONNRESET" }, \
199 { ENETUNREACH, "ENETUNREACH" }, \
200 { EHOSTUNREACH, "EHOSTUNREACH" }, \
201 { EHOSTDOWN, "EHOSTDOWN" }, \
202 { EPIPE, "EPIPE" }, \
203 { EPFNOSUPPORT, "EPFNOSUPPORT" }, \
204 { EPROTONOSUPPORT, "EPROTONOSUPPORT" }, \
205 /* NFSv4 native errors */ \
206 { NFS4ERR_ACCESS, "ACCESS" }, \
207 { NFS4ERR_ATTRNOTSUPP, "ATTRNOTSUPP" }, \
208 { NFS4ERR_ADMIN_REVOKED, "ADMIN_REVOKED" }, \
209 { NFS4ERR_BACK_CHAN_BUSY, "BACK_CHAN_BUSY" }, \
210 { NFS4ERR_BADCHAR, "BADCHAR" }, \
211 { NFS4ERR_BADHANDLE, "BADHANDLE" }, \
212 { NFS4ERR_BADIOMODE, "BADIOMODE" }, \
213 { NFS4ERR_BADLAYOUT, "BADLAYOUT" }, \
214 { NFS4ERR_BADLABEL, "BADLABEL" }, \
215 { NFS4ERR_BADNAME, "BADNAME" }, \
216 { NFS4ERR_BADOWNER, "BADOWNER" }, \
217 { NFS4ERR_BADSESSION, "BADSESSION" }, \
218 { NFS4ERR_BADSLOT, "BADSLOT" }, \
219 { NFS4ERR_BADTYPE, "BADTYPE" }, \
220 { NFS4ERR_BADXDR, "BADXDR" }, \
221 { NFS4ERR_BAD_COOKIE, "BAD_COOKIE" }, \
222 { NFS4ERR_BAD_HIGH_SLOT, "BAD_HIGH_SLOT" }, \
223 { NFS4ERR_BAD_RANGE, "BAD_RANGE" }, \
224 { NFS4ERR_BAD_SEQID, "BAD_SEQID" }, \
225 { NFS4ERR_BAD_SESSION_DIGEST, "BAD_SESSION_DIGEST" }, \
226 { NFS4ERR_BAD_STATEID, "BAD_STATEID" }, \
227 { NFS4ERR_CB_PATH_DOWN, "CB_PATH_DOWN" }, \
228 { NFS4ERR_CLID_INUSE, "CLID_INUSE" }, \
229 { NFS4ERR_CLIENTID_BUSY, "CLIENTID_BUSY" }, \
230 { NFS4ERR_COMPLETE_ALREADY, "COMPLETE_ALREADY" }, \
231 { NFS4ERR_CONN_NOT_BOUND_TO_SESSION, \
232 "CONN_NOT_BOUND_TO_SESSION" }, \
233 { NFS4ERR_DEADLOCK, "DEADLOCK" }, \
234 { NFS4ERR_DEADSESSION, "DEAD_SESSION" }, \
235 { NFS4ERR_DELAY, "DELAY" }, \
236 { NFS4ERR_DELEG_ALREADY_WANTED, \
237 "DELEG_ALREADY_WANTED" }, \
238 { NFS4ERR_DELEG_REVOKED, "DELEG_REVOKED" }, \
239 { NFS4ERR_DENIED, "DENIED" }, \
240 { NFS4ERR_DIRDELEG_UNAVAIL, "DIRDELEG_UNAVAIL" }, \
241 { NFS4ERR_DQUOT, "DQUOT" }, \
242 { NFS4ERR_ENCR_ALG_UNSUPP, "ENCR_ALG_UNSUPP" }, \
243 { NFS4ERR_EXIST, "EXIST" }, \
244 { NFS4ERR_EXPIRED, "EXPIRED" }, \
245 { NFS4ERR_FBIG, "FBIG" }, \
246 { NFS4ERR_FHEXPIRED, "FHEXPIRED" }, \
247 { NFS4ERR_FILE_OPEN, "FILE_OPEN" }, \
248 { NFS4ERR_GRACE, "GRACE" }, \
249 { NFS4ERR_HASH_ALG_UNSUPP, "HASH_ALG_UNSUPP" }, \
250 { NFS4ERR_INVAL, "INVAL" }, \
251 { NFS4ERR_IO, "IO" }, \
252 { NFS4ERR_ISDIR, "ISDIR" }, \
253 { NFS4ERR_LAYOUTTRYLATER, "LAYOUTTRYLATER" }, \
254 { NFS4ERR_LAYOUTUNAVAILABLE, "LAYOUTUNAVAILABLE" }, \
255 { NFS4ERR_LEASE_MOVED, "LEASE_MOVED" }, \
256 { NFS4ERR_LOCKED, "LOCKED" }, \
257 { NFS4ERR_LOCKS_HELD, "LOCKS_HELD" }, \
258 { NFS4ERR_LOCK_RANGE, "LOCK_RANGE" }, \
259 { NFS4ERR_MINOR_VERS_MISMATCH, "MINOR_VERS_MISMATCH" }, \
260 { NFS4ERR_MLINK, "MLINK" }, \
261 { NFS4ERR_MOVED, "MOVED" }, \
262 { NFS4ERR_NAMETOOLONG, "NAMETOOLONG" }, \
263 { NFS4ERR_NOENT, "NOENT" }, \
264 { NFS4ERR_NOFILEHANDLE, "NOFILEHANDLE" }, \
265 { NFS4ERR_NOMATCHING_LAYOUT, "NOMATCHING_LAYOUT" }, \
266 { NFS4ERR_NOSPC, "NOSPC" }, \
267 { NFS4ERR_NOTDIR, "NOTDIR" }, \
268 { NFS4ERR_NOTEMPTY, "NOTEMPTY" }, \
269 { NFS4ERR_NOTSUPP, "NOTSUPP" }, \
270 { NFS4ERR_NOT_ONLY_OP, "NOT_ONLY_OP" }, \
271 { NFS4ERR_NOT_SAME, "NOT_SAME" }, \
272 { NFS4ERR_NO_GRACE, "NO_GRACE" }, \
273 { NFS4ERR_NXIO, "NXIO" }, \
274 { NFS4ERR_OLD_STATEID, "OLD_STATEID" }, \
275 { NFS4ERR_OPENMODE, "OPENMODE" }, \
276 { NFS4ERR_OP_ILLEGAL, "OP_ILLEGAL" }, \
277 { NFS4ERR_OP_NOT_IN_SESSION, "OP_NOT_IN_SESSION" }, \
278 { NFS4ERR_PERM, "PERM" }, \
279 { NFS4ERR_PNFS_IO_HOLE, "PNFS_IO_HOLE" }, \
280 { NFS4ERR_PNFS_NO_LAYOUT, "PNFS_NO_LAYOUT" }, \
281 { NFS4ERR_RECALLCONFLICT, "RECALLCONFLICT" }, \
282 { NFS4ERR_RECLAIM_BAD, "RECLAIM_BAD" }, \
283 { NFS4ERR_RECLAIM_CONFLICT, "RECLAIM_CONFLICT" }, \
284 { NFS4ERR_REJECT_DELEG, "REJECT_DELEG" }, \
285 { NFS4ERR_REP_TOO_BIG, "REP_TOO_BIG" }, \
286 { NFS4ERR_REP_TOO_BIG_TO_CACHE, \
287 "REP_TOO_BIG_TO_CACHE" }, \
288 { NFS4ERR_REQ_TOO_BIG, "REQ_TOO_BIG" }, \
289 { NFS4ERR_RESOURCE, "RESOURCE" }, \
290 { NFS4ERR_RESTOREFH, "RESTOREFH" }, \
291 { NFS4ERR_RETRY_UNCACHED_REP, "RETRY_UNCACHED_REP" }, \
292 { NFS4ERR_RETURNCONFLICT, "RETURNCONFLICT" }, \
293 { NFS4ERR_ROFS, "ROFS" }, \
294 { NFS4ERR_SAME, "SAME" }, \
295 { NFS4ERR_SHARE_DENIED, "SHARE_DENIED" }, \
296 { NFS4ERR_SEQUENCE_POS, "SEQUENCE_POS" }, \
297 { NFS4ERR_SEQ_FALSE_RETRY, "SEQ_FALSE_RETRY" }, \
298 { NFS4ERR_SEQ_MISORDERED, "SEQ_MISORDERED" }, \
299 { NFS4ERR_SERVERFAULT, "SERVERFAULT" }, \
300 { NFS4ERR_STALE, "STALE" }, \
301 { NFS4ERR_STALE_CLIENTID, "STALE_CLIENTID" }, \
302 { NFS4ERR_STALE_STATEID, "STALE_STATEID" }, \
303 { NFS4ERR_SYMLINK, "SYMLINK" }, \
304 { NFS4ERR_TOOSMALL, "TOOSMALL" }, \
305 { NFS4ERR_TOO_MANY_OPS, "TOO_MANY_OPS" }, \
306 { NFS4ERR_UNKNOWN_LAYOUTTYPE, "UNKNOWN_LAYOUTTYPE" }, \
307 { NFS4ERR_UNSAFE_COMPOUND, "UNSAFE_COMPOUND" }, \
308 { NFS4ERR_WRONGSEC, "WRONGSEC" }, \
309 { NFS4ERR_WRONG_CRED, "WRONG_CRED" }, \
310 { NFS4ERR_WRONG_TYPE, "WRONG_TYPE" }, \
311 { NFS4ERR_XDEV, "XDEV" }, \
312 /* ***** Internal to Linux NFS client ***** */ \
> 313 { NFS4ERR_RESET_TO_MDS, "RESET_TO_MDS" }, \
314 { NFS4ERR_RESET_TO_PNFS, "RESET_TO_PNFS" })
315
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 28844 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-12-30 18:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-30 18:34 [nfs:testing 8/12] fs/nfs/./nfs4trace.h:158:19: error: 'NFS4ERR_RESET_TO_MDS' undeclared here (not in a function); did you mean 'NFS4ERR_REP_TOO_BIG'? kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).