* [snitzer:anna-linux-next-6.18 10/11] fs/nfs/nfstrace.h:1796:31: warning: 'struct nfs_local_dio' declared inside parameter list will not be visible outside of this definition or declaration
@ 2025-09-19 13:27 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-09-19 13:27 UTC (permalink / raw)
To: Mike Snitzer; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/snitzer/linux.git anna-linux-next-6.18
head: 79f4defe4ab1ad7b6bd760e373d8c7392d25f690
commit: f5dbc64124226ba461890dd82fe53730832f5be6 [10/11] nfs/localio: add tracepoints for misaligned DIO READ and WRITE support
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20250919/202509192124.8ocAdBfY-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250919/202509192124.8ocAdBfY-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202509192124.8ocAdBfY-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from fs/nfs/nfstrace.h:11,
from fs/nfs/nfs2xdr.c:26:
>> fs/nfs/nfstrace.h:1796:31: warning: 'struct nfs_local_dio' declared inside parameter list will not be visible outside of this definition or declaration
1796 | const struct nfs_local_dio *local_dio),\
| ^~~~~~~~~~~~~
include/linux/tracepoint.h:385:41: note: in definition of macro '__DECLARE_TRACE_COMMON'
385 | static inline void trace_##name(proto) \
| ^~~~~
include/linux/tracepoint.h:409:38: note: in expansion of macro 'PARAMS'
409 | __DECLARE_TRACE_COMMON(name, PARAMS(proto), PARAMS(args), PARAMS(data_proto))
| ^~~~~~
include/linux/tracepoint.h:481:9: note: in expansion of macro '__DECLARE_TRACE'
481 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~~~~~~~~~~
include/linux/tracepoint.h:481:31: note: in expansion of macro 'PARAMS'
481 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~
include/linux/tracepoint.h:608:9: note: in expansion of macro 'DECLARE_TRACE_EVENT'
608 | DECLARE_TRACE_EVENT(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:608:35: note: in expansion of macro 'PARAMS'
608 | DECLARE_TRACE_EVENT(name, PARAMS(proto), PARAMS(args))
| ^~~~~~
fs/nfs/nfstrace.h:1792:1: note: in expansion of macro 'DEFINE_EVENT'
1792 | DEFINE_EVENT(nfs_local_dio_class, nfs_local_dio_##name, \
| ^~~~~~~~~~~~
fs/nfs/nfstrace.h:1793:9: note: in expansion of macro 'TP_PROTO'
1793 | TP_PROTO(const struct inode *inode, \
| ^~~~~~~~
fs/nfs/nfstrace.h:1799:1: note: in expansion of macro 'DEFINE_NFS_LOCAL_DIO_EVENT'
1799 | DEFINE_NFS_LOCAL_DIO_EVENT(read);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> fs/nfs/nfstrace.h:1796:31: warning: 'struct nfs_local_dio' declared inside parameter list will not be visible outside of this definition or declaration
1796 | const struct nfs_local_dio *local_dio),\
| ^~~~~~~~~~~~~
include/linux/tracepoint.h:388:45: note: in definition of macro '__DECLARE_TRACE_COMMON'
388 | register_trace_##name(void (*probe)(data_proto), \
| ^~~~~~~~~~
include/linux/tracepoint.h:409:67: note: in expansion of macro 'PARAMS'
409 | __DECLARE_TRACE_COMMON(name, PARAMS(proto), PARAMS(args), PARAMS(data_proto))
| ^~~~~~
include/linux/tracepoint.h:481:9: note: in expansion of macro '__DECLARE_TRACE'
481 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~~~~~~~~~~
include/linux/tracepoint.h:483:25: note: in expansion of macro 'PARAMS'
483 | PARAMS(void *__data, proto))
| ^~~~~~
include/linux/tracepoint.h:608:9: note: in expansion of macro 'DECLARE_TRACE_EVENT'
608 | DECLARE_TRACE_EVENT(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:608:35: note: in expansion of macro 'PARAMS'
608 | DECLARE_TRACE_EVENT(name, PARAMS(proto), PARAMS(args))
| ^~~~~~
fs/nfs/nfstrace.h:1792:1: note: in expansion of macro 'DEFINE_EVENT'
1792 | DEFINE_EVENT(nfs_local_dio_class, nfs_local_dio_##name, \
| ^~~~~~~~~~~~
fs/nfs/nfstrace.h:1793:9: note: in expansion of macro 'TP_PROTO'
1793 | TP_PROTO(const struct inode *inode, \
| ^~~~~~~~
fs/nfs/nfstrace.h:1799:1: note: in expansion of macro 'DEFINE_NFS_LOCAL_DIO_EVENT'
1799 | DEFINE_NFS_LOCAL_DIO_EVENT(read);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> fs/nfs/nfstrace.h:1796:31: warning: 'struct nfs_local_dio' declared inside parameter list will not be visible outside of this definition or declaration
1796 | const struct nfs_local_dio *local_dio),\
| ^~~~~~~~~~~~~
include/linux/tracepoint.h:394:47: note: in definition of macro '__DECLARE_TRACE_COMMON'
394 | unregister_trace_##name(void (*probe)(data_proto), \
| ^~~~~~~~~~
include/linux/tracepoint.h:409:67: note: in expansion of macro 'PARAMS'
409 | __DECLARE_TRACE_COMMON(name, PARAMS(proto), PARAMS(args), PARAMS(data_proto))
| ^~~~~~
include/linux/tracepoint.h:481:9: note: in expansion of macro '__DECLARE_TRACE'
481 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~~~~~~~~~~
include/linux/tracepoint.h:483:25: note: in expansion of macro 'PARAMS'
483 | PARAMS(void *__data, proto))
| ^~~~~~
include/linux/tracepoint.h:608:9: note: in expansion of macro 'DECLARE_TRACE_EVENT'
608 | DECLARE_TRACE_EVENT(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:608:35: note: in expansion of macro 'PARAMS'
608 | DECLARE_TRACE_EVENT(name, PARAMS(proto), PARAMS(args))
| ^~~~~~
fs/nfs/nfstrace.h:1792:1: note: in expansion of macro 'DEFINE_EVENT'
1792 | DEFINE_EVENT(nfs_local_dio_class, nfs_local_dio_##name, \
| ^~~~~~~~~~~~
fs/nfs/nfstrace.h:1793:9: note: in expansion of macro 'TP_PROTO'
1793 | TP_PROTO(const struct inode *inode, \
| ^~~~~~~~
fs/nfs/nfstrace.h:1799:1: note: in expansion of macro 'DEFINE_NFS_LOCAL_DIO_EVENT'
1799 | DEFINE_NFS_LOCAL_DIO_EVENT(read);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> fs/nfs/nfstrace.h:1796:31: warning: 'struct nfs_local_dio' declared inside parameter list will not be visible outside of this definition or declaration
1796 | const struct nfs_local_dio *local_dio),\
| ^~~~~~~~~~~~~
include/linux/tracepoint.h:399:72: note: in definition of macro '__DECLARE_TRACE_COMMON'
399 | static inline void check_trace_callback_type_##name(void (*cb)(data_proto)) \
| ^~~~~~~~~~
include/linux/tracepoint.h:409:67: note: in expansion of macro 'PARAMS'
409 | __DECLARE_TRACE_COMMON(name, PARAMS(proto), PARAMS(args), PARAMS(data_proto))
| ^~~~~~
include/linux/tracepoint.h:481:9: note: in expansion of macro '__DECLARE_TRACE'
481 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~~~~~~~~~~
include/linux/tracepoint.h:483:25: note: in expansion of macro 'PARAMS'
483 | PARAMS(void *__data, proto))
| ^~~~~~
include/linux/tracepoint.h:608:9: note: in expansion of macro 'DECLARE_TRACE_EVENT'
608 | DECLARE_TRACE_EVENT(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:608:35: note: in expansion of macro 'PARAMS'
608 | DECLARE_TRACE_EVENT(name, PARAMS(proto), PARAMS(args))
| ^~~~~~
fs/nfs/nfstrace.h:1792:1: note: in expansion of macro 'DEFINE_EVENT'
1792 | DEFINE_EVENT(nfs_local_dio_class, nfs_local_dio_##name, \
| ^~~~~~~~~~~~
fs/nfs/nfstrace.h:1793:9: note: in expansion of macro 'TP_PROTO'
1793 | TP_PROTO(const struct inode *inode, \
| ^~~~~~~~
fs/nfs/nfstrace.h:1799:1: note: in expansion of macro 'DEFINE_NFS_LOCAL_DIO_EVENT'
1799 | DEFINE_NFS_LOCAL_DIO_EVENT(read);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> fs/nfs/nfstrace.h:1796:31: warning: 'struct nfs_local_dio' declared inside parameter list will not be visible outside of this definition or declaration
1796 | const struct nfs_local_dio *local_dio),\
| ^~~~~~~~~~~~~
include/linux/tracepoint.h:385:41: note: in definition of macro '__DECLARE_TRACE_COMMON'
385 | static inline void trace_##name(proto) \
| ^~~~~
include/linux/tracepoint.h:409:38: note: in expansion of macro 'PARAMS'
409 | __DECLARE_TRACE_COMMON(name, PARAMS(proto), PARAMS(args), PARAMS(data_proto))
| ^~~~~~
include/linux/tracepoint.h:481:9: note: in expansion of macro '__DECLARE_TRACE'
481 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~~~~~~~~~~
include/linux/tracepoint.h:481:31: note: in expansion of macro 'PARAMS'
481 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~
include/linux/tracepoint.h:608:9: note: in expansion of macro 'DECLARE_TRACE_EVENT'
608 | DECLARE_TRACE_EVENT(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:608:35: note: in expansion of macro 'PARAMS'
608 | DECLARE_TRACE_EVENT(name, PARAMS(proto), PARAMS(args))
| ^~~~~~
fs/nfs/nfstrace.h:1792:1: note: in expansion of macro 'DEFINE_EVENT'
1792 | DEFINE_EVENT(nfs_local_dio_class, nfs_local_dio_##name, \
| ^~~~~~~~~~~~
fs/nfs/nfstrace.h:1793:9: note: in expansion of macro 'TP_PROTO'
1793 | TP_PROTO(const struct inode *inode, \
| ^~~~~~~~
fs/nfs/nfstrace.h:1800:1: note: in expansion of macro 'DEFINE_NFS_LOCAL_DIO_EVENT'
1800 | DEFINE_NFS_LOCAL_DIO_EVENT(write);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> fs/nfs/nfstrace.h:1796:31: warning: 'struct nfs_local_dio' declared inside parameter list will not be visible outside of this definition or declaration
1796 | const struct nfs_local_dio *local_dio),\
| ^~~~~~~~~~~~~
include/linux/tracepoint.h:388:45: note: in definition of macro '__DECLARE_TRACE_COMMON'
388 | register_trace_##name(void (*probe)(data_proto), \
| ^~~~~~~~~~
include/linux/tracepoint.h:409:67: note: in expansion of macro 'PARAMS'
409 | __DECLARE_TRACE_COMMON(name, PARAMS(proto), PARAMS(args), PARAMS(data_proto))
| ^~~~~~
include/linux/tracepoint.h:481:9: note: in expansion of macro '__DECLARE_TRACE'
481 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~~~~~~~~~~
include/linux/tracepoint.h:483:25: note: in expansion of macro 'PARAMS'
483 | PARAMS(void *__data, proto))
| ^~~~~~
include/linux/tracepoint.h:608:9: note: in expansion of macro 'DECLARE_TRACE_EVENT'
608 | DECLARE_TRACE_EVENT(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:608:35: note: in expansion of macro 'PARAMS'
608 | DECLARE_TRACE_EVENT(name, PARAMS(proto), PARAMS(args))
| ^~~~~~
fs/nfs/nfstrace.h:1792:1: note: in expansion of macro 'DEFINE_EVENT'
1792 | DEFINE_EVENT(nfs_local_dio_class, nfs_local_dio_##name, \
| ^~~~~~~~~~~~
fs/nfs/nfstrace.h:1793:9: note: in expansion of macro 'TP_PROTO'
1793 | TP_PROTO(const struct inode *inode, \
| ^~~~~~~~
fs/nfs/nfstrace.h:1800:1: note: in expansion of macro 'DEFINE_NFS_LOCAL_DIO_EVENT'
1800 | DEFINE_NFS_LOCAL_DIO_EVENT(write);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> fs/nfs/nfstrace.h:1796:31: warning: 'struct nfs_local_dio' declared inside parameter list will not be visible outside of this definition or declaration
1796 | const struct nfs_local_dio *local_dio),\
| ^~~~~~~~~~~~~
include/linux/tracepoint.h:394:47: note: in definition of macro '__DECLARE_TRACE_COMMON'
394 | unregister_trace_##name(void (*probe)(data_proto), \
| ^~~~~~~~~~
include/linux/tracepoint.h:409:67: note: in expansion of macro 'PARAMS'
409 | __DECLARE_TRACE_COMMON(name, PARAMS(proto), PARAMS(args), PARAMS(data_proto))
| ^~~~~~
include/linux/tracepoint.h:481:9: note: in expansion of macro '__DECLARE_TRACE'
481 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~~~~~~~~~~
include/linux/tracepoint.h:483:25: note: in expansion of macro 'PARAMS'
483 | PARAMS(void *__data, proto))
| ^~~~~~
include/linux/tracepoint.h:608:9: note: in expansion of macro 'DECLARE_TRACE_EVENT'
608 | DECLARE_TRACE_EVENT(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:608:35: note: in expansion of macro 'PARAMS'
608 | DECLARE_TRACE_EVENT(name, PARAMS(proto), PARAMS(args))
| ^~~~~~
fs/nfs/nfstrace.h:1792:1: note: in expansion of macro 'DEFINE_EVENT'
1792 | DEFINE_EVENT(nfs_local_dio_class, nfs_local_dio_##name, \
| ^~~~~~~~~~~~
fs/nfs/nfstrace.h:1793:9: note: in expansion of macro 'TP_PROTO'
1793 | TP_PROTO(const struct inode *inode, \
| ^~~~~~~~
fs/nfs/nfstrace.h:1800:1: note: in expansion of macro 'DEFINE_NFS_LOCAL_DIO_EVENT'
1800 | DEFINE_NFS_LOCAL_DIO_EVENT(write);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> fs/nfs/nfstrace.h:1796:31: warning: 'struct nfs_local_dio' declared inside parameter list will not be visible outside of this definition or declaration
1796 | const struct nfs_local_dio *local_dio),\
| ^~~~~~~~~~~~~
include/linux/tracepoint.h:399:72: note: in definition of macro '__DECLARE_TRACE_COMMON'
399 | static inline void check_trace_callback_type_##name(void (*cb)(data_proto)) \
| ^~~~~~~~~~
include/linux/tracepoint.h:409:67: note: in expansion of macro 'PARAMS'
409 | __DECLARE_TRACE_COMMON(name, PARAMS(proto), PARAMS(args), PARAMS(data_proto))
| ^~~~~~
include/linux/tracepoint.h:481:9: note: in expansion of macro '__DECLARE_TRACE'
481 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~~~~~~~~~~
include/linux/tracepoint.h:483:25: note: in expansion of macro 'PARAMS'
483 | PARAMS(void *__data, proto))
| ^~~~~~
include/linux/tracepoint.h:608:9: note: in expansion of macro 'DECLARE_TRACE_EVENT'
608 | DECLARE_TRACE_EVENT(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:608:35: note: in expansion of macro 'PARAMS'
608 | DECLARE_TRACE_EVENT(name, PARAMS(proto), PARAMS(args))
| ^~~~~~
fs/nfs/nfstrace.h:1792:1: note: in expansion of macro 'DEFINE_EVENT'
1792 | DEFINE_EVENT(nfs_local_dio_class, nfs_local_dio_##name, \
| ^~~~~~~~~~~~
fs/nfs/nfstrace.h:1793:9: note: in expansion of macro 'TP_PROTO'
1793 | TP_PROTO(const struct inode *inode, \
| ^~~~~~~~
fs/nfs/nfstrace.h:1800:1: note: in expansion of macro 'DEFINE_NFS_LOCAL_DIO_EVENT'
1800 | DEFINE_NFS_LOCAL_DIO_EVENT(write);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> fs/nfs/nfstrace.h:1796:31: warning: 'struct nfs_local_dio' declared inside parameter list will not be visible outside of this definition or declaration
1796 | const struct nfs_local_dio *local_dio),\
| ^~~~~~~~~~~~~
include/linux/tracepoint.h:385:41: note: in definition of macro '__DECLARE_TRACE_COMMON'
385 | static inline void trace_##name(proto) \
| ^~~~~
include/linux/tracepoint.h:409:38: note: in expansion of macro 'PARAMS'
409 | __DECLARE_TRACE_COMMON(name, PARAMS(proto), PARAMS(args), PARAMS(data_proto))
| ^~~~~~
include/linux/tracepoint.h:481:9: note: in expansion of macro '__DECLARE_TRACE'
481 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~~~~~~~~~~
include/linux/tracepoint.h:481:31: note: in expansion of macro 'PARAMS'
481 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~
include/linux/tracepoint.h:608:9: note: in expansion of macro 'DECLARE_TRACE_EVENT'
608 | DECLARE_TRACE_EVENT(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:608:35: note: in expansion of macro 'PARAMS'
608 | DECLARE_TRACE_EVENT(name, PARAMS(proto), PARAMS(args))
| ^~~~~~
fs/nfs/nfstrace.h:1792:1: note: in expansion of macro 'DEFINE_EVENT'
1792 | DEFINE_EVENT(nfs_local_dio_class, nfs_local_dio_##name, \
| ^~~~~~~~~~~~
fs/nfs/nfstrace.h:1793:9: note: in expansion of macro 'TP_PROTO'
1793 | TP_PROTO(const struct inode *inode, \
| ^~~~~~~~
fs/nfs/nfstrace.h:1801:1: note: in expansion of macro 'DEFINE_NFS_LOCAL_DIO_EVENT'
1801 | DEFINE_NFS_LOCAL_DIO_EVENT(misaligned);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> fs/nfs/nfstrace.h:1796:31: warning: 'struct nfs_local_dio' declared inside parameter list will not be visible outside of this definition or declaration
1796 | const struct nfs_local_dio *local_dio),\
| ^~~~~~~~~~~~~
include/linux/tracepoint.h:388:45: note: in definition of macro '__DECLARE_TRACE_COMMON'
388 | register_trace_##name(void (*probe)(data_proto), \
| ^~~~~~~~~~
include/linux/tracepoint.h:409:67: note: in expansion of macro 'PARAMS'
409 | __DECLARE_TRACE_COMMON(name, PARAMS(proto), PARAMS(args), PARAMS(data_proto))
| ^~~~~~
include/linux/tracepoint.h:481:9: note: in expansion of macro '__DECLARE_TRACE'
481 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~~~~~~~~~~
include/linux/tracepoint.h:483:25: note: in expansion of macro 'PARAMS'
483 | PARAMS(void *__data, proto))
| ^~~~~~
include/linux/tracepoint.h:608:9: note: in expansion of macro 'DECLARE_TRACE_EVENT'
608 | DECLARE_TRACE_EVENT(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:608:35: note: in expansion of macro 'PARAMS'
608 | DECLARE_TRACE_EVENT(name, PARAMS(proto), PARAMS(args))
| ^~~~~~
fs/nfs/nfstrace.h:1792:1: note: in expansion of macro 'DEFINE_EVENT'
1792 | DEFINE_EVENT(nfs_local_dio_class, nfs_local_dio_##name, \
| ^~~~~~~~~~~~
fs/nfs/nfstrace.h:1793:9: note: in expansion of macro 'TP_PROTO'
1793 | TP_PROTO(const struct inode *inode, \
| ^~~~~~~~
fs/nfs/nfstrace.h:1801:1: note: in expansion of macro 'DEFINE_NFS_LOCAL_DIO_EVENT'
1801 | DEFINE_NFS_LOCAL_DIO_EVENT(misaligned);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> fs/nfs/nfstrace.h:1796:31: warning: 'struct nfs_local_dio' declared inside parameter list will not be visible outside of this definition or declaration
1796 | const struct nfs_local_dio *local_dio),\
| ^~~~~~~~~~~~~
include/linux/tracepoint.h:394:47: note: in definition of macro '__DECLARE_TRACE_COMMON'
394 | unregister_trace_##name(void (*probe)(data_proto), \
| ^~~~~~~~~~
include/linux/tracepoint.h:409:67: note: in expansion of macro 'PARAMS'
409 | __DECLARE_TRACE_COMMON(name, PARAMS(proto), PARAMS(args), PARAMS(data_proto))
| ^~~~~~
include/linux/tracepoint.h:481:9: note: in expansion of macro '__DECLARE_TRACE'
481 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~~~~~~~~~~
include/linux/tracepoint.h:483:25: note: in expansion of macro 'PARAMS'
483 | PARAMS(void *__data, proto))
| ^~~~~~
include/linux/tracepoint.h:608:9: note: in expansion of macro 'DECLARE_TRACE_EVENT'
608 | DECLARE_TRACE_EVENT(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:608:35: note: in expansion of macro 'PARAMS'
608 | DECLARE_TRACE_EVENT(name, PARAMS(proto), PARAMS(args))
| ^~~~~~
fs/nfs/nfstrace.h:1792:1: note: in expansion of macro 'DEFINE_EVENT'
1792 | DEFINE_EVENT(nfs_local_dio_class, nfs_local_dio_##name, \
| ^~~~~~~~~~~~
fs/nfs/nfstrace.h:1793:9: note: in expansion of macro 'TP_PROTO'
1793 | TP_PROTO(const struct inode *inode, \
| ^~~~~~~~
fs/nfs/nfstrace.h:1801:1: note: in expansion of macro 'DEFINE_NFS_LOCAL_DIO_EVENT'
1801 | DEFINE_NFS_LOCAL_DIO_EVENT(misaligned);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> fs/nfs/nfstrace.h:1796:31: warning: 'struct nfs_local_dio' declared inside parameter list will not be visible outside of this definition or declaration
1796 | const struct nfs_local_dio *local_dio),\
| ^~~~~~~~~~~~~
include/linux/tracepoint.h:399:72: note: in definition of macro '__DECLARE_TRACE_COMMON'
399 | static inline void check_trace_callback_type_##name(void (*cb)(data_proto)) \
| ^~~~~~~~~~
include/linux/tracepoint.h:409:67: note: in expansion of macro 'PARAMS'
409 | __DECLARE_TRACE_COMMON(name, PARAMS(proto), PARAMS(args), PARAMS(data_proto))
| ^~~~~~
include/linux/tracepoint.h:481:9: note: in expansion of macro '__DECLARE_TRACE'
481 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~~~~~~~~~~
include/linux/tracepoint.h:483:25: note: in expansion of macro 'PARAMS'
483 | PARAMS(void *__data, proto))
| ^~~~~~
include/linux/tracepoint.h:608:9: note: in expansion of macro 'DECLARE_TRACE_EVENT'
608 | DECLARE_TRACE_EVENT(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:608:35: note: in expansion of macro 'PARAMS'
608 | DECLARE_TRACE_EVENT(name, PARAMS(proto), PARAMS(args))
| ^~~~~~
fs/nfs/nfstrace.h:1792:1: note: in expansion of macro 'DEFINE_EVENT'
1792 | DEFINE_EVENT(nfs_local_dio_class, nfs_local_dio_##name, \
| ^~~~~~~~~~~~
fs/nfs/nfstrace.h:1793:9: note: in expansion of macro 'TP_PROTO'
1793 | TP_PROTO(const struct inode *inode, \
| ^~~~~~~~
fs/nfs/nfstrace.h:1801:1: note: in expansion of macro 'DEFINE_NFS_LOCAL_DIO_EVENT'
1801 | DEFINE_NFS_LOCAL_DIO_EVENT(misaligned);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
vim +1796 fs/nfs/nfstrace.h
1790
1791 #define DEFINE_NFS_LOCAL_DIO_EVENT(name) \
1792 DEFINE_EVENT(nfs_local_dio_class, nfs_local_dio_##name, \
1793 TP_PROTO(const struct inode *inode, \
1794 loff_t offset, \
1795 ssize_t count, \
> 1796 const struct nfs_local_dio *local_dio),\
1797 TP_ARGS(inode, offset, count, local_dio))
1798
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-09-19 13:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-19 13:27 [snitzer:anna-linux-next-6.18 10/11] fs/nfs/nfstrace.h:1796:31: warning: 'struct nfs_local_dio' declared inside parameter list will not be visible outside of this definition or declaration kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.