diff options
| author | Chuck Lever <[email protected]> | 2021-06-03 14:12:43 +0000 |
|---|---|---|
| committer | Trond Myklebust <[email protected]> | 2021-06-03 14:14:42 +0000 |
| commit | d1b5c230e9cb6dddeab23f0f0c808e2b1c28d1b6 (patch) | |
| tree | 25bf0bb1332d501e78acc7acdb3ed055c93d3536 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | NFS: Fix a potential NULL dereference in nfs_get_client() (diff) | |
| download | kernel-d1b5c230e9cb6dddeab23f0f0c808e2b1c28d1b6.tar.gz kernel-d1b5c230e9cb6dddeab23f0f0c808e2b1c28d1b6.zip | |
NFS: FMODE_READ and friends are C macros, not enum types
Address a sparse warning:
CHECK fs/nfs/nfstrace.c
fs/nfs/nfstrace.c: note: in included file (through /home/cel/src/linux/rpc-over-tls/include/trace/trace_events.h, /home/cel/src/linux/rpc-over-tls/include/trace/define_trace.h, ...):
fs/nfs/./nfstrace.h:424:1: warning: incorrect type in initializer (different base types)
fs/nfs/./nfstrace.h:424:1: expected unsigned long eval_value
fs/nfs/./nfstrace.h:424:1: got restricted fmode_t [usertype]
fs/nfs/./nfstrace.h:425:1: warning: incorrect type in initializer (different base types)
fs/nfs/./nfstrace.h:425:1: expected unsigned long eval_value
fs/nfs/./nfstrace.h:425:1: got restricted fmode_t [usertype]
fs/nfs/./nfstrace.h:426:1: warning: incorrect type in initializer (different base types)
fs/nfs/./nfstrace.h:426:1: expected unsigned long eval_value
fs/nfs/./nfstrace.h:426:1: got restricted fmode_t [usertype]
Signed-off-by: Chuck Lever <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
