All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH 2/7] NFSv4.2 add tracepoints to FALLOCATE and DEALLOCATE
Date: Wed, 27 Oct 2021 19:14:58 +0800	[thread overview]
Message-ID: <202110271916.saSaloQL-lkp@intel.com> (raw)
In-Reply-To: <20211018220314.85115-3-olga.kornievskaia@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 54732 bytes --]

Hi Olga,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on trondmy-nfs/linux-next]
[also build test ERROR on v5.15-rc7 next-20211026]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Olga-Kornievskaia/NFSv4-2-add-tracepoints-to-sparse-files-and-copy/20211019-060455
base:   git://git.linux-nfs.org/projects/trondmy/linux-nfs.git linux-next
config: csky-randconfig-r035-20211027 (attached as .config)
compiler: csky-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/58ba05c50ded46734c7ae307b2016edc4bdb9d37
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Olga-Kornievskaia/NFSv4-2-add-tracepoints-to-sparse-files-and-copy/20211019-060455
        git checkout 58ba05c50ded46734c7ae307b2016edc4bdb9d37
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=csky 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All error/warnings (new ones prefixed by >>):

         |                                                  ^~~~~~~~~~
   include/linux/tracepoint.h:421:25: note: in expansion of macro 'PARAMS'
     421 |                         PARAMS(void *__data, proto))
         |                         ^~~~~~
   include/linux/tracepoint.h:553:9: note: in expansion of macro 'DECLARE_TRACE'
     553 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |         ^~~~~~~~~~~~~
   include/linux/tracepoint.h:553:29: note: in expansion of macro 'PARAMS'
     553 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |                             ^~~~~~
   fs/nfs/nfs4trace.h:2428:1: note: in expansion of macro 'TRACE_EVENT'
    2428 | TRACE_EVENT(nfs4_llseek,
         | ^~~~~~~~~~~
   fs/nfs/nfs4trace.h:2429:17: note: in expansion of macro 'TP_PROTO'
    2429 |                 TP_PROTO(
         |                 ^~~~~~~~
   fs/nfs/nfs4trace.h:2432:38: warning: 'struct nfs42_seek_res' declared inside parameter list will not be visible outside of this definition or declaration
    2432 |                         const struct nfs42_seek_res *res,
         |                                      ^~~~~~~~~~~~~~
   include/linux/tracepoint.h:273:47: note: in definition of macro '__DECLARE_TRACE'
     273 |         unregister_trace_##name(void (*probe)(data_proto), void *data)  \
         |                                               ^~~~~~~~~~
   include/linux/tracepoint.h:421:25: note: in expansion of macro 'PARAMS'
     421 |                         PARAMS(void *__data, proto))
         |                         ^~~~~~
   include/linux/tracepoint.h:553:9: note: in expansion of macro 'DECLARE_TRACE'
     553 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |         ^~~~~~~~~~~~~
   include/linux/tracepoint.h:553:29: note: in expansion of macro 'PARAMS'
     553 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |                             ^~~~~~
   fs/nfs/nfs4trace.h:2428:1: note: in expansion of macro 'TRACE_EVENT'
    2428 | TRACE_EVENT(nfs4_llseek,
         | ^~~~~~~~~~~
   fs/nfs/nfs4trace.h:2429:17: note: in expansion of macro 'TP_PROTO'
    2429 |                 TP_PROTO(
         |                 ^~~~~~~~
   fs/nfs/nfs4trace.h:2431:38: warning: 'struct nfs42_seek_args' declared inside parameter list will not be visible outside of this definition or declaration
    2431 |                         const struct nfs42_seek_args *args,
         |                                      ^~~~~~~~~~~~~~~
   include/linux/tracepoint.h:273:47: note: in definition of macro '__DECLARE_TRACE'
     273 |         unregister_trace_##name(void (*probe)(data_proto), void *data)  \
         |                                               ^~~~~~~~~~
   include/linux/tracepoint.h:421:25: note: in expansion of macro 'PARAMS'
     421 |                         PARAMS(void *__data, proto))
         |                         ^~~~~~
   include/linux/tracepoint.h:553:9: note: in expansion of macro 'DECLARE_TRACE'
     553 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |         ^~~~~~~~~~~~~
   include/linux/tracepoint.h:553:29: note: in expansion of macro 'PARAMS'
     553 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |                             ^~~~~~
   fs/nfs/nfs4trace.h:2428:1: note: in expansion of macro 'TRACE_EVENT'
    2428 | TRACE_EVENT(nfs4_llseek,
         | ^~~~~~~~~~~
   fs/nfs/nfs4trace.h:2429:17: note: in expansion of macro 'TP_PROTO'
    2429 |                 TP_PROTO(
         |                 ^~~~~~~~
   fs/nfs/nfs4trace.h:2432:38: warning: 'struct nfs42_seek_res' declared inside parameter list will not be visible outside of this definition or declaration
    2432 |                         const struct nfs42_seek_res *res,
         |                                      ^~~~~~~~~~~~~~
   include/linux/tracepoint.h:279:53: note: in definition of macro '__DECLARE_TRACE'
     279 |         check_trace_callback_type_##name(void (*cb)(data_proto))        \
         |                                                     ^~~~~~~~~~
   include/linux/tracepoint.h:421:25: note: in expansion of macro 'PARAMS'
     421 |                         PARAMS(void *__data, proto))
         |                         ^~~~~~
   include/linux/tracepoint.h:553:9: note: in expansion of macro 'DECLARE_TRACE'
     553 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |         ^~~~~~~~~~~~~
   include/linux/tracepoint.h:553:29: note: in expansion of macro 'PARAMS'
     553 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |                             ^~~~~~
   fs/nfs/nfs4trace.h:2428:1: note: in expansion of macro 'TRACE_EVENT'
    2428 | TRACE_EVENT(nfs4_llseek,
         | ^~~~~~~~~~~
   fs/nfs/nfs4trace.h:2429:17: note: in expansion of macro 'TP_PROTO'
    2429 |                 TP_PROTO(
         |                 ^~~~~~~~
   fs/nfs/nfs4trace.h:2431:38: warning: 'struct nfs42_seek_args' declared inside parameter list will not be visible outside of this definition or declaration
    2431 |                         const struct nfs42_seek_args *args,
         |                                      ^~~~~~~~~~~~~~~
   include/linux/tracepoint.h:279:53: note: in definition of macro '__DECLARE_TRACE'
     279 |         check_trace_callback_type_##name(void (*cb)(data_proto))        \
         |                                                     ^~~~~~~~~~
   include/linux/tracepoint.h:421:25: note: in expansion of macro 'PARAMS'
     421 |                         PARAMS(void *__data, proto))
         |                         ^~~~~~
   include/linux/tracepoint.h:553:9: note: in expansion of macro 'DECLARE_TRACE'
     553 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |         ^~~~~~~~~~~~~
   include/linux/tracepoint.h:553:29: note: in expansion of macro 'PARAMS'
     553 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |                             ^~~~~~
   fs/nfs/nfs4trace.h:2428:1: note: in expansion of macro 'TRACE_EVENT'
    2428 | TRACE_EVENT(nfs4_llseek,
         | ^~~~~~~~~~~
   fs/nfs/nfs4trace.h:2429:17: note: in expansion of macro 'TP_PROTO'
    2429 |                 TP_PROTO(
         |                 ^~~~~~~~
>> fs/nfs/nfs4trace.h:2536:46: warning: 'struct nfs42_falloc_args' declared inside parameter list will not be visible outside of this definition or declaration
    2536 |                                 const struct nfs42_falloc_args *args, \
         |                                              ^~~~~~~~~~~~~~~~~
   include/linux/tracepoint.h:242:39: note: in definition of macro '__DECLARE_TRACE'
     242 |         extern int __traceiter_##name(data_proto);                      \
         |                                       ^~~~~~~~~~
   include/linux/tracepoint.h:421:25: note: in expansion of macro 'PARAMS'
     421 |                         PARAMS(void *__data, proto))
         |                         ^~~~~~
   include/linux/tracepoint.h:542:9: note: in expansion of macro 'DECLARE_TRACE'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |         ^~~~~~~~~~~~~
   include/linux/tracepoint.h:542:29: note: in expansion of macro 'PARAMS'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |                             ^~~~~~
   fs/nfs/nfs4trace.h:2533:9: note: in expansion of macro 'DEFINE_EVENT'
    2533 |         DEFINE_EVENT(nfs4_sparse_event, name, \
         |         ^~~~~~~~~~~~
   fs/nfs/nfs4trace.h:2534:25: note: in expansion of macro 'TP_PROTO'
    2534 |                         TP_PROTO( \
         |                         ^~~~~~~~
   fs/nfs/nfs4trace.h:2540:1: note: in expansion of macro 'DEFINE_NFS4_SPARSE_EVENT'
    2540 | DEFINE_NFS4_SPARSE_EVENT(nfs4_fallocate);
         | ^~~~~~~~~~~~~~~~~~~~~~~~
>> fs/nfs/nfs4trace.h:2536:46: warning: 'struct nfs42_falloc_args' declared inside parameter list will not be visible outside of this definition or declaration
    2536 |                                 const struct nfs42_falloc_args *args, \
         |                                              ^~~~~~~~~~~~~~~~~
   include/linux/tracepoint.h:245:41: note: in definition of macro '__DECLARE_TRACE'
     245 |         static inline void trace_##name(proto)                          \
         |                                         ^~~~~
   include/linux/tracepoint.h:419:31: note: in expansion of macro 'PARAMS'
     419 |         __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args),              \
         |                               ^~~~~~
   include/linux/tracepoint.h:542:9: note: in expansion of macro 'DECLARE_TRACE'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |         ^~~~~~~~~~~~~
   include/linux/tracepoint.h:542:29: note: in expansion of macro 'PARAMS'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |                             ^~~~~~
   fs/nfs/nfs4trace.h:2533:9: note: in expansion of macro 'DEFINE_EVENT'
    2533 |         DEFINE_EVENT(nfs4_sparse_event, name, \
         |         ^~~~~~~~~~~~
   fs/nfs/nfs4trace.h:2534:25: note: in expansion of macro 'TP_PROTO'
    2534 |                         TP_PROTO( \
         |                         ^~~~~~~~
   fs/nfs/nfs4trace.h:2540:1: note: in expansion of macro 'DEFINE_NFS4_SPARSE_EVENT'
    2540 | DEFINE_NFS4_SPARSE_EVENT(nfs4_fallocate);
         | ^~~~~~~~~~~~~~~~~~~~~~~~
   fs/nfs/nfs4trace.h: In function 'trace_nfs4_fallocate':
>> fs/nfs/nfs4trace.h:2539:40: error: passing argument 3 of '__traceiter_nfs4_fallocate' from incompatible pointer type [-Werror=incompatible-pointer-types]
    2539 |                         TP_ARGS(inode, args, error))
         |                                        ^~~~
         |                                        |
         |                                        const struct nfs42_falloc_args *
   include/linux/tracepoint.h:177:66: note: in definition of macro '__DO_TRACE_CALL'
     177 | #define __DO_TRACE_CALL(name, args)     __traceiter_##name(NULL, args)
         |                                                                  ^~~~
   include/linux/tracepoint.h:206:39: note: in expansion of macro 'TP_ARGS'
     206 |                 __DO_TRACE_CALL(name, TP_ARGS(args));                   \
         |                                       ^~~~~~~
   include/linux/tracepoint.h:248:25: note: in expansion of macro '__DO_TRACE'
     248 |                         __DO_TRACE(name,                                \
         |                         ^~~~~~~~~~
   include/linux/tracepoint.h:249:33: note: in expansion of macro 'TP_ARGS'
     249 |                                 TP_ARGS(args),                          \
         |                                 ^~~~~~~
   include/linux/tracepoint.h:419:9: note: in expansion of macro '__DECLARE_TRACE'
     419 |         __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args),              \
         |         ^~~~~~~~~~~~~~~
   include/linux/tracepoint.h:419:46: note: in expansion of macro 'PARAMS'
     419 |         __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args),              \
         |                                              ^~~~~~
   include/linux/tracepoint.h:542:9: note: in expansion of macro 'DECLARE_TRACE'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |         ^~~~~~~~~~~~~
   include/linux/tracepoint.h:542:44: note: in expansion of macro 'PARAMS'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |                                            ^~~~~~
   fs/nfs/nfs4trace.h:2533:9: note: in expansion of macro 'DEFINE_EVENT'
    2533 |         DEFINE_EVENT(nfs4_sparse_event, name, \
         |         ^~~~~~~~~~~~
   fs/nfs/nfs4trace.h:2539:25: note: in expansion of macro 'TP_ARGS'
    2539 |                         TP_ARGS(inode, args, error))
         |                         ^~~~~~~
   fs/nfs/nfs4trace.h:2540:1: note: in expansion of macro 'DEFINE_NFS4_SPARSE_EVENT'
    2540 | DEFINE_NFS4_SPARSE_EVENT(nfs4_fallocate);
         | ^~~~~~~~~~~~~~~~~~~~~~~~
   fs/nfs/nfs4trace.h:2536:65: note: expected 'const struct nfs42_falloc_args *' but argument is of type 'const struct nfs42_falloc_args *'
    2536 |                                 const struct nfs42_falloc_args *args, \
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
   include/linux/tracepoint.h:242:39: note: in definition of macro '__DECLARE_TRACE'
     242 |         extern int __traceiter_##name(data_proto);                      \
         |                                       ^~~~~~~~~~
   include/linux/tracepoint.h:421:25: note: in expansion of macro 'PARAMS'
     421 |                         PARAMS(void *__data, proto))
         |                         ^~~~~~
   include/linux/tracepoint.h:542:9: note: in expansion of macro 'DECLARE_TRACE'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |         ^~~~~~~~~~~~~
   include/linux/tracepoint.h:542:29: note: in expansion of macro 'PARAMS'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |                             ^~~~~~
   fs/nfs/nfs4trace.h:2533:9: note: in expansion of macro 'DEFINE_EVENT'
    2533 |         DEFINE_EVENT(nfs4_sparse_event, name, \
         |         ^~~~~~~~~~~~
   fs/nfs/nfs4trace.h:2534:25: note: in expansion of macro 'TP_PROTO'
    2534 |                         TP_PROTO( \
         |                         ^~~~~~~~
   fs/nfs/nfs4trace.h:2540:1: note: in expansion of macro 'DEFINE_NFS4_SPARSE_EVENT'
    2540 | DEFINE_NFS4_SPARSE_EVENT(nfs4_fallocate);
         | ^~~~~~~~~~~~~~~~~~~~~~~~
   fs/nfs/nfs4trace.h: At top level:
>> fs/nfs/nfs4trace.h:2536:46: warning: 'struct nfs42_falloc_args' declared inside parameter list will not be visible outside of this definition or declaration
    2536 |                                 const struct nfs42_falloc_args *args, \
         |                                              ^~~~~~~~~~~~~~~~~
   include/linux/tracepoint.h:218:51: note: in definition of macro '__DECLARE_TRACE_RCU'
     218 |         static inline void trace_##name##_rcuidle(proto)                \
         |                                                   ^~~~~
   include/linux/tracepoint.h:257:35: note: in expansion of macro 'PARAMS'
     257 |         __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args),          \
         |                                   ^~~~~~
   include/linux/tracepoint.h:419:9: note: in expansion of macro '__DECLARE_TRACE'
     419 |         __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args),              \
         |         ^~~~~~~~~~~~~~~
   include/linux/tracepoint.h:419:31: note: in expansion of macro 'PARAMS'
     419 |         __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args),              \
         |                               ^~~~~~
   include/linux/tracepoint.h:542:9: note: in expansion of macro 'DECLARE_TRACE'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |         ^~~~~~~~~~~~~
   include/linux/tracepoint.h:542:29: note: in expansion of macro 'PARAMS'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |                             ^~~~~~
   fs/nfs/nfs4trace.h:2533:9: note: in expansion of macro 'DEFINE_EVENT'
    2533 |         DEFINE_EVENT(nfs4_sparse_event, name, \
         |         ^~~~~~~~~~~~
   fs/nfs/nfs4trace.h:2534:25: note: in expansion of macro 'TP_PROTO'
    2534 |                         TP_PROTO( \
         |                         ^~~~~~~~
   fs/nfs/nfs4trace.h:2540:1: note: in expansion of macro 'DEFINE_NFS4_SPARSE_EVENT'
    2540 | DEFINE_NFS4_SPARSE_EVENT(nfs4_fallocate);
         | ^~~~~~~~~~~~~~~~~~~~~~~~
   fs/nfs/nfs4trace.h: In function 'trace_nfs4_fallocate_rcuidle':
>> fs/nfs/nfs4trace.h:2539:40: error: passing argument 3 of '__traceiter_nfs4_fallocate' from incompatible pointer type [-Werror=incompatible-pointer-types]
    2539 |                         TP_ARGS(inode, args, error))
         |                                        ^~~~
         |                                        |
         |                                        const struct nfs42_falloc_args *
   include/linux/tracepoint.h:177:66: note: in definition of macro '__DO_TRACE_CALL'
     177 | #define __DO_TRACE_CALL(name, args)     __traceiter_##name(NULL, args)
         |                                                                  ^~~~
   include/linux/tracepoint.h:206:39: note: in expansion of macro 'TP_ARGS'
     206 |                 __DO_TRACE_CALL(name, TP_ARGS(args));                   \
         |                                       ^~~~~~~
   include/linux/tracepoint.h:221:25: note: in expansion of macro '__DO_TRACE'
     221 |                         __DO_TRACE(name,                                \
         |                         ^~~~~~~~~~
   include/linux/tracepoint.h:222:33: note: in expansion of macro 'TP_ARGS'
     222 |                                 TP_ARGS(args),                          \
         |                                 ^~~~~~~
   include/linux/tracepoint.h:257:9: note: in expansion of macro '__DECLARE_TRACE_RCU'
     257 |         __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args),          \
         |         ^~~~~~~~~~~~~~~~~~~
   include/linux/tracepoint.h:257:50: note: in expansion of macro 'PARAMS'
     257 |         __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args),          \
         |                                                  ^~~~~~
   include/linux/tracepoint.h:419:9: note: in expansion of macro '__DECLARE_TRACE'
     419 |         __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args),              \
         |         ^~~~~~~~~~~~~~~
   include/linux/tracepoint.h:419:46: note: in expansion of macro 'PARAMS'
     419 |         __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args),              \
         |                                              ^~~~~~
   include/linux/tracepoint.h:542:9: note: in expansion of macro 'DECLARE_TRACE'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |         ^~~~~~~~~~~~~
   include/linux/tracepoint.h:542:44: note: in expansion of macro 'PARAMS'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |                                            ^~~~~~
   fs/nfs/nfs4trace.h:2533:9: note: in expansion of macro 'DEFINE_EVENT'
    2533 |         DEFINE_EVENT(nfs4_sparse_event, name, \
         |         ^~~~~~~~~~~~
   fs/nfs/nfs4trace.h:2539:25: note: in expansion of macro 'TP_ARGS'
    2539 |                         TP_ARGS(inode, args, error))
         |                         ^~~~~~~
   fs/nfs/nfs4trace.h:2540:1: note: in expansion of macro 'DEFINE_NFS4_SPARSE_EVENT'
    2540 | DEFINE_NFS4_SPARSE_EVENT(nfs4_fallocate);
         | ^~~~~~~~~~~~~~~~~~~~~~~~
   fs/nfs/nfs4trace.h:2536:65: note: expected 'const struct nfs42_falloc_args *' but argument is of type 'const struct nfs42_falloc_args *'
    2536 |                                 const struct nfs42_falloc_args *args, \
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
   include/linux/tracepoint.h:242:39: note: in definition of macro '__DECLARE_TRACE'
     242 |         extern int __traceiter_##name(data_proto);                      \
         |                                       ^~~~~~~~~~
   include/linux/tracepoint.h:421:25: note: in expansion of macro 'PARAMS'
     421 |                         PARAMS(void *__data, proto))
         |                         ^~~~~~
   include/linux/tracepoint.h:542:9: note: in expansion of macro 'DECLARE_TRACE'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |         ^~~~~~~~~~~~~
   include/linux/tracepoint.h:542:29: note: in expansion of macro 'PARAMS'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |                             ^~~~~~
   fs/nfs/nfs4trace.h:2533:9: note: in expansion of macro 'DEFINE_EVENT'
    2533 |         DEFINE_EVENT(nfs4_sparse_event, name, \
         |         ^~~~~~~~~~~~
   fs/nfs/nfs4trace.h:2534:25: note: in expansion of macro 'TP_PROTO'
    2534 |                         TP_PROTO( \
         |                         ^~~~~~~~
   fs/nfs/nfs4trace.h:2540:1: note: in expansion of macro 'DEFINE_NFS4_SPARSE_EVENT'
    2540 | DEFINE_NFS4_SPARSE_EVENT(nfs4_fallocate);
         | ^~~~~~~~~~~~~~~~~~~~~~~~
   fs/nfs/nfs4trace.h: At top level:
>> fs/nfs/nfs4trace.h:2536:46: warning: 'struct nfs42_falloc_args' declared inside parameter list will not be visible outside of this definition or declaration
    2536 |                                 const struct nfs42_falloc_args *args, \
         |                                              ^~~~~~~~~~~~~~~~~
   include/linux/tracepoint.h:260:45: note: in definition of macro '__DECLARE_TRACE'
     260 |         register_trace_##name(void (*probe)(data_proto), void *data)    \
         |                                             ^~~~~~~~~~
   include/linux/tracepoint.h:421:25: note: in expansion of macro 'PARAMS'
     421 |                         PARAMS(void *__data, proto))
         |                         ^~~~~~
   include/linux/tracepoint.h:542:9: note: in expansion of macro 'DECLARE_TRACE'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |         ^~~~~~~~~~~~~
   include/linux/tracepoint.h:542:29: note: in expansion of macro 'PARAMS'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |                             ^~~~~~
   fs/nfs/nfs4trace.h:2533:9: note: in expansion of macro 'DEFINE_EVENT'
    2533 |         DEFINE_EVENT(nfs4_sparse_event, name, \
         |         ^~~~~~~~~~~~
   fs/nfs/nfs4trace.h:2534:25: note: in expansion of macro 'TP_PROTO'
    2534 |                         TP_PROTO( \
         |                         ^~~~~~~~
   fs/nfs/nfs4trace.h:2540:1: note: in expansion of macro 'DEFINE_NFS4_SPARSE_EVENT'
    2540 | DEFINE_NFS4_SPARSE_EVENT(nfs4_fallocate);
         | ^~~~~~~~~~~~~~~~~~~~~~~~
>> fs/nfs/nfs4trace.h:2536:46: warning: 'struct nfs42_falloc_args' declared inside parameter list will not be visible outside of this definition or declaration
    2536 |                                 const struct nfs42_falloc_args *args, \
         |                                              ^~~~~~~~~~~~~~~~~
   include/linux/tracepoint.h:266:50: note: in definition of macro '__DECLARE_TRACE'
     266 |         register_trace_prio_##name(void (*probe)(data_proto), void *data,\
         |                                                  ^~~~~~~~~~
   include/linux/tracepoint.h:421:25: note: in expansion of macro 'PARAMS'
     421 |                         PARAMS(void *__data, proto))
         |                         ^~~~~~
   include/linux/tracepoint.h:542:9: note: in expansion of macro 'DECLARE_TRACE'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |         ^~~~~~~~~~~~~
   include/linux/tracepoint.h:542:29: note: in expansion of macro 'PARAMS'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |                             ^~~~~~
   fs/nfs/nfs4trace.h:2533:9: note: in expansion of macro 'DEFINE_EVENT'
    2533 |         DEFINE_EVENT(nfs4_sparse_event, name, \
         |         ^~~~~~~~~~~~
   fs/nfs/nfs4trace.h:2534:25: note: in expansion of macro 'TP_PROTO'
    2534 |                         TP_PROTO( \
         |                         ^~~~~~~~
   fs/nfs/nfs4trace.h:2540:1: note: in expansion of macro 'DEFINE_NFS4_SPARSE_EVENT'
    2540 | DEFINE_NFS4_SPARSE_EVENT(nfs4_fallocate);
         | ^~~~~~~~~~~~~~~~~~~~~~~~
>> fs/nfs/nfs4trace.h:2536:46: warning: 'struct nfs42_falloc_args' declared inside parameter list will not be visible outside of this definition or declaration
    2536 |                                 const struct nfs42_falloc_args *args, \
         |                                              ^~~~~~~~~~~~~~~~~
   include/linux/tracepoint.h:273:47: note: in definition of macro '__DECLARE_TRACE'
     273 |         unregister_trace_##name(void (*probe)(data_proto), void *data)  \
         |                                               ^~~~~~~~~~
   include/linux/tracepoint.h:421:25: note: in expansion of macro 'PARAMS'
     421 |                         PARAMS(void *__data, proto))
         |                         ^~~~~~
   include/linux/tracepoint.h:542:9: note: in expansion of macro 'DECLARE_TRACE'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |         ^~~~~~~~~~~~~
   include/linux/tracepoint.h:542:29: note: in expansion of macro 'PARAMS'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |                             ^~~~~~
   fs/nfs/nfs4trace.h:2533:9: note: in expansion of macro 'DEFINE_EVENT'
    2533 |         DEFINE_EVENT(nfs4_sparse_event, name, \
         |         ^~~~~~~~~~~~
   fs/nfs/nfs4trace.h:2534:25: note: in expansion of macro 'TP_PROTO'
    2534 |                         TP_PROTO( \
         |                         ^~~~~~~~
   fs/nfs/nfs4trace.h:2540:1: note: in expansion of macro 'DEFINE_NFS4_SPARSE_EVENT'
    2540 | DEFINE_NFS4_SPARSE_EVENT(nfs4_fallocate);
         | ^~~~~~~~~~~~~~~~~~~~~~~~
>> fs/nfs/nfs4trace.h:2536:46: warning: 'struct nfs42_falloc_args' declared inside parameter list will not be visible outside of this definition or declaration
    2536 |                                 const struct nfs42_falloc_args *args, \
         |                                              ^~~~~~~~~~~~~~~~~
   include/linux/tracepoint.h:279:53: note: in definition of macro '__DECLARE_TRACE'
     279 |         check_trace_callback_type_##name(void (*cb)(data_proto))        \
         |                                                     ^~~~~~~~~~
   include/linux/tracepoint.h:421:25: note: in expansion of macro 'PARAMS'
     421 |                         PARAMS(void *__data, proto))
         |                         ^~~~~~
   include/linux/tracepoint.h:542:9: note: in expansion of macro 'DECLARE_TRACE'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |         ^~~~~~~~~~~~~
   include/linux/tracepoint.h:542:29: note: in expansion of macro 'PARAMS'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |                             ^~~~~~
   fs/nfs/nfs4trace.h:2533:9: note: in expansion of macro 'DEFINE_EVENT'
    2533 |         DEFINE_EVENT(nfs4_sparse_event, name, \
         |         ^~~~~~~~~~~~
   fs/nfs/nfs4trace.h:2534:25: note: in expansion of macro 'TP_PROTO'
    2534 |                         TP_PROTO( \
         |                         ^~~~~~~~
   fs/nfs/nfs4trace.h:2540:1: note: in expansion of macro 'DEFINE_NFS4_SPARSE_EVENT'
    2540 | DEFINE_NFS4_SPARSE_EVENT(nfs4_fallocate);
         | ^~~~~~~~~~~~~~~~~~~~~~~~
>> fs/nfs/nfs4trace.h:2536:46: warning: 'struct nfs42_falloc_args' declared inside parameter list will not be visible outside of this definition or declaration
    2536 |                                 const struct nfs42_falloc_args *args, \
         |                                              ^~~~~~~~~~~~~~~~~
   include/linux/tracepoint.h:242:39: note: in definition of macro '__DECLARE_TRACE'
     242 |         extern int __traceiter_##name(data_proto);                      \
         |                                       ^~~~~~~~~~
   include/linux/tracepoint.h:421:25: note: in expansion of macro 'PARAMS'
     421 |                         PARAMS(void *__data, proto))
         |                         ^~~~~~
   include/linux/tracepoint.h:542:9: note: in expansion of macro 'DECLARE_TRACE'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |         ^~~~~~~~~~~~~
   include/linux/tracepoint.h:542:29: note: in expansion of macro 'PARAMS'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |                             ^~~~~~
   fs/nfs/nfs4trace.h:2533:9: note: in expansion of macro 'DEFINE_EVENT'
    2533 |         DEFINE_EVENT(nfs4_sparse_event, name, \
         |         ^~~~~~~~~~~~
   fs/nfs/nfs4trace.h:2534:25: note: in expansion of macro 'TP_PROTO'
    2534 |                         TP_PROTO( \
         |                         ^~~~~~~~
   fs/nfs/nfs4trace.h:2541:1: note: in expansion of macro 'DEFINE_NFS4_SPARSE_EVENT'
    2541 | DEFINE_NFS4_SPARSE_EVENT(nfs4_deallocate);
         | ^~~~~~~~~~~~~~~~~~~~~~~~
>> fs/nfs/nfs4trace.h:2536:46: warning: 'struct nfs42_falloc_args' declared inside parameter list will not be visible outside of this definition or declaration
    2536 |                                 const struct nfs42_falloc_args *args, \
         |                                              ^~~~~~~~~~~~~~~~~
   include/linux/tracepoint.h:245:41: note: in definition of macro '__DECLARE_TRACE'
     245 |         static inline void trace_##name(proto)                          \
         |                                         ^~~~~
   include/linux/tracepoint.h:419:31: note: in expansion of macro 'PARAMS'
     419 |         __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args),              \
         |                               ^~~~~~
   include/linux/tracepoint.h:542:9: note: in expansion of macro 'DECLARE_TRACE'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |         ^~~~~~~~~~~~~
   include/linux/tracepoint.h:542:29: note: in expansion of macro 'PARAMS'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |                             ^~~~~~
   fs/nfs/nfs4trace.h:2533:9: note: in expansion of macro 'DEFINE_EVENT'
    2533 |         DEFINE_EVENT(nfs4_sparse_event, name, \
         |         ^~~~~~~~~~~~
   fs/nfs/nfs4trace.h:2534:25: note: in expansion of macro 'TP_PROTO'
    2534 |                         TP_PROTO( \
         |                         ^~~~~~~~
   fs/nfs/nfs4trace.h:2541:1: note: in expansion of macro 'DEFINE_NFS4_SPARSE_EVENT'
    2541 | DEFINE_NFS4_SPARSE_EVENT(nfs4_deallocate);
         | ^~~~~~~~~~~~~~~~~~~~~~~~
   fs/nfs/nfs4trace.h: In function 'trace_nfs4_deallocate':
>> fs/nfs/nfs4trace.h:2539:40: error: passing argument 3 of '__traceiter_nfs4_deallocate' from incompatible pointer type [-Werror=incompatible-pointer-types]
    2539 |                         TP_ARGS(inode, args, error))
         |                                        ^~~~
         |                                        |
         |                                        const struct nfs42_falloc_args *
   include/linux/tracepoint.h:177:66: note: in definition of macro '__DO_TRACE_CALL'
     177 | #define __DO_TRACE_CALL(name, args)     __traceiter_##name(NULL, args)
         |                                                                  ^~~~
   include/linux/tracepoint.h:206:39: note: in expansion of macro 'TP_ARGS'
     206 |                 __DO_TRACE_CALL(name, TP_ARGS(args));                   \
         |                                       ^~~~~~~
   include/linux/tracepoint.h:248:25: note: in expansion of macro '__DO_TRACE'
     248 |                         __DO_TRACE(name,                                \
         |                         ^~~~~~~~~~
   include/linux/tracepoint.h:249:33: note: in expansion of macro 'TP_ARGS'
     249 |                                 TP_ARGS(args),                          \
         |                                 ^~~~~~~
   include/linux/tracepoint.h:419:9: note: in expansion of macro '__DECLARE_TRACE'
     419 |         __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args),              \
         |         ^~~~~~~~~~~~~~~
   include/linux/tracepoint.h:419:46: note: in expansion of macro 'PARAMS'
     419 |         __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args),              \
         |                                              ^~~~~~
   include/linux/tracepoint.h:542:9: note: in expansion of macro 'DECLARE_TRACE'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |         ^~~~~~~~~~~~~
   include/linux/tracepoint.h:542:44: note: in expansion of macro 'PARAMS'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |                                            ^~~~~~
   fs/nfs/nfs4trace.h:2533:9: note: in expansion of macro 'DEFINE_EVENT'
    2533 |         DEFINE_EVENT(nfs4_sparse_event, name, \
         |         ^~~~~~~~~~~~
   fs/nfs/nfs4trace.h:2539:25: note: in expansion of macro 'TP_ARGS'
    2539 |                         TP_ARGS(inode, args, error))
         |                         ^~~~~~~
   fs/nfs/nfs4trace.h:2541:1: note: in expansion of macro 'DEFINE_NFS4_SPARSE_EVENT'
    2541 | DEFINE_NFS4_SPARSE_EVENT(nfs4_deallocate);
         | ^~~~~~~~~~~~~~~~~~~~~~~~
   fs/nfs/nfs4trace.h:2536:65: note: expected 'const struct nfs42_falloc_args *' but argument is of type 'const struct nfs42_falloc_args *'
    2536 |                                 const struct nfs42_falloc_args *args, \
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
   include/linux/tracepoint.h:242:39: note: in definition of macro '__DECLARE_TRACE'
     242 |         extern int __traceiter_##name(data_proto);                      \
         |                                       ^~~~~~~~~~
   include/linux/tracepoint.h:421:25: note: in expansion of macro 'PARAMS'
     421 |                         PARAMS(void *__data, proto))
         |                         ^~~~~~
   include/linux/tracepoint.h:542:9: note: in expansion of macro 'DECLARE_TRACE'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |         ^~~~~~~~~~~~~
   include/linux/tracepoint.h:542:29: note: in expansion of macro 'PARAMS'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |                             ^~~~~~
   fs/nfs/nfs4trace.h:2533:9: note: in expansion of macro 'DEFINE_EVENT'
    2533 |         DEFINE_EVENT(nfs4_sparse_event, name, \
         |         ^~~~~~~~~~~~
   fs/nfs/nfs4trace.h:2534:25: note: in expansion of macro 'TP_PROTO'
    2534 |                         TP_PROTO( \
         |                         ^~~~~~~~
   fs/nfs/nfs4trace.h:2541:1: note: in expansion of macro 'DEFINE_NFS4_SPARSE_EVENT'
    2541 | DEFINE_NFS4_SPARSE_EVENT(nfs4_deallocate);
         | ^~~~~~~~~~~~~~~~~~~~~~~~
   fs/nfs/nfs4trace.h: At top level:
>> fs/nfs/nfs4trace.h:2536:46: warning: 'struct nfs42_falloc_args' declared inside parameter list will not be visible outside of this definition or declaration
    2536 |                                 const struct nfs42_falloc_args *args, \
         |                                              ^~~~~~~~~~~~~~~~~
   include/linux/tracepoint.h:218:51: note: in definition of macro '__DECLARE_TRACE_RCU'
     218 |         static inline void trace_##name##_rcuidle(proto)                \
         |                                                   ^~~~~
   include/linux/tracepoint.h:257:35: note: in expansion of macro 'PARAMS'
     257 |         __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args),          \
         |                                   ^~~~~~
   include/linux/tracepoint.h:419:9: note: in expansion of macro '__DECLARE_TRACE'
     419 |         __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args),              \
         |         ^~~~~~~~~~~~~~~
   include/linux/tracepoint.h:419:31: note: in expansion of macro 'PARAMS'
     419 |         __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args),              \
         |                               ^~~~~~
   include/linux/tracepoint.h:542:9: note: in expansion of macro 'DECLARE_TRACE'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |         ^~~~~~~~~~~~~
   include/linux/tracepoint.h:542:29: note: in expansion of macro 'PARAMS'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |                             ^~~~~~
   fs/nfs/nfs4trace.h:2533:9: note: in expansion of macro 'DEFINE_EVENT'
    2533 |         DEFINE_EVENT(nfs4_sparse_event, name, \
         |         ^~~~~~~~~~~~
   fs/nfs/nfs4trace.h:2534:25: note: in expansion of macro 'TP_PROTO'
    2534 |                         TP_PROTO( \
         |                         ^~~~~~~~
   fs/nfs/nfs4trace.h:2541:1: note: in expansion of macro 'DEFINE_NFS4_SPARSE_EVENT'
    2541 | DEFINE_NFS4_SPARSE_EVENT(nfs4_deallocate);
         | ^~~~~~~~~~~~~~~~~~~~~~~~
   fs/nfs/nfs4trace.h: In function 'trace_nfs4_deallocate_rcuidle':
>> fs/nfs/nfs4trace.h:2539:40: error: passing argument 3 of '__traceiter_nfs4_deallocate' from incompatible pointer type [-Werror=incompatible-pointer-types]
    2539 |                         TP_ARGS(inode, args, error))
         |                                        ^~~~
         |                                        |
         |                                        const struct nfs42_falloc_args *
   include/linux/tracepoint.h:177:66: note: in definition of macro '__DO_TRACE_CALL'
     177 | #define __DO_TRACE_CALL(name, args)     __traceiter_##name(NULL, args)
         |                                                                  ^~~~
   include/linux/tracepoint.h:206:39: note: in expansion of macro 'TP_ARGS'
     206 |                 __DO_TRACE_CALL(name, TP_ARGS(args));                   \
         |                                       ^~~~~~~
   include/linux/tracepoint.h:221:25: note: in expansion of macro '__DO_TRACE'
     221 |                         __DO_TRACE(name,                                \
         |                         ^~~~~~~~~~
   include/linux/tracepoint.h:222:33: note: in expansion of macro 'TP_ARGS'
     222 |                                 TP_ARGS(args),                          \
         |                                 ^~~~~~~
   include/linux/tracepoint.h:257:9: note: in expansion of macro '__DECLARE_TRACE_RCU'
     257 |         __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args),          \
         |         ^~~~~~~~~~~~~~~~~~~
   include/linux/tracepoint.h:257:50: note: in expansion of macro 'PARAMS'
     257 |         __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args),          \
         |                                                  ^~~~~~
   include/linux/tracepoint.h:419:9: note: in expansion of macro '__DECLARE_TRACE'
     419 |         __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args),              \
         |         ^~~~~~~~~~~~~~~
   include/linux/tracepoint.h:419:46: note: in expansion of macro 'PARAMS'
     419 |         __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args),              \
         |                                              ^~~~~~
   include/linux/tracepoint.h:542:9: note: in expansion of macro 'DECLARE_TRACE'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |         ^~~~~~~~~~~~~
   include/linux/tracepoint.h:542:44: note: in expansion of macro 'PARAMS'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |                                            ^~~~~~
   fs/nfs/nfs4trace.h:2533:9: note: in expansion of macro 'DEFINE_EVENT'
    2533 |         DEFINE_EVENT(nfs4_sparse_event, name, \
         |         ^~~~~~~~~~~~
   fs/nfs/nfs4trace.h:2539:25: note: in expansion of macro 'TP_ARGS'
    2539 |                         TP_ARGS(inode, args, error))
         |                         ^~~~~~~
   fs/nfs/nfs4trace.h:2541:1: note: in expansion of macro 'DEFINE_NFS4_SPARSE_EVENT'
    2541 | DEFINE_NFS4_SPARSE_EVENT(nfs4_deallocate);
         | ^~~~~~~~~~~~~~~~~~~~~~~~
   fs/nfs/nfs4trace.h:2536:65: note: expected 'const struct nfs42_falloc_args *' but argument is of type 'const struct nfs42_falloc_args *'
    2536 |                                 const struct nfs42_falloc_args *args, \
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
   include/linux/tracepoint.h:242:39: note: in definition of macro '__DECLARE_TRACE'
     242 |         extern int __traceiter_##name(data_proto);                      \
         |                                       ^~~~~~~~~~
   include/linux/tracepoint.h:421:25: note: in expansion of macro 'PARAMS'
     421 |                         PARAMS(void *__data, proto))
         |                         ^~~~~~
   include/linux/tracepoint.h:542:9: note: in expansion of macro 'DECLARE_TRACE'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |         ^~~~~~~~~~~~~
   include/linux/tracepoint.h:542:29: note: in expansion of macro 'PARAMS'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |                             ^~~~~~
   fs/nfs/nfs4trace.h:2533:9: note: in expansion of macro 'DEFINE_EVENT'
    2533 |         DEFINE_EVENT(nfs4_sparse_event, name, \
         |         ^~~~~~~~~~~~
   fs/nfs/nfs4trace.h:2534:25: note: in expansion of macro 'TP_PROTO'
    2534 |                         TP_PROTO( \
         |                         ^~~~~~~~
   fs/nfs/nfs4trace.h:2541:1: note: in expansion of macro 'DEFINE_NFS4_SPARSE_EVENT'
    2541 | DEFINE_NFS4_SPARSE_EVENT(nfs4_deallocate);
         | ^~~~~~~~~~~~~~~~~~~~~~~~
   fs/nfs/nfs4trace.h: At top level:
>> fs/nfs/nfs4trace.h:2536:46: warning: 'struct nfs42_falloc_args' declared inside parameter list will not be visible outside of this definition or declaration
    2536 |                                 const struct nfs42_falloc_args *args, \
         |                                              ^~~~~~~~~~~~~~~~~
   include/linux/tracepoint.h:260:45: note: in definition of macro '__DECLARE_TRACE'
     260 |         register_trace_##name(void (*probe)(data_proto), void *data)    \
         |                                             ^~~~~~~~~~
   include/linux/tracepoint.h:421:25: note: in expansion of macro 'PARAMS'
     421 |                         PARAMS(void *__data, proto))
         |                         ^~~~~~
   include/linux/tracepoint.h:542:9: note: in expansion of macro 'DECLARE_TRACE'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |         ^~~~~~~~~~~~~
   include/linux/tracepoint.h:542:29: note: in expansion of macro 'PARAMS'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |                             ^~~~~~
   fs/nfs/nfs4trace.h:2533:9: note: in expansion of macro 'DEFINE_EVENT'
    2533 |         DEFINE_EVENT(nfs4_sparse_event, name, \
         |         ^~~~~~~~~~~~
   fs/nfs/nfs4trace.h:2534:25: note: in expansion of macro 'TP_PROTO'
    2534 |                         TP_PROTO( \
         |                         ^~~~~~~~
   fs/nfs/nfs4trace.h:2541:1: note: in expansion of macro 'DEFINE_NFS4_SPARSE_EVENT'
    2541 | DEFINE_NFS4_SPARSE_EVENT(nfs4_deallocate);
         | ^~~~~~~~~~~~~~~~~~~~~~~~
>> fs/nfs/nfs4trace.h:2536:46: warning: 'struct nfs42_falloc_args' declared inside parameter list will not be visible outside of this definition or declaration
    2536 |                                 const struct nfs42_falloc_args *args, \
         |                                              ^~~~~~~~~~~~~~~~~
   include/linux/tracepoint.h:266:50: note: in definition of macro '__DECLARE_TRACE'
     266 |         register_trace_prio_##name(void (*probe)(data_proto), void *data,\
         |                                                  ^~~~~~~~~~
   include/linux/tracepoint.h:421:25: note: in expansion of macro 'PARAMS'
     421 |                         PARAMS(void *__data, proto))
         |                         ^~~~~~
   include/linux/tracepoint.h:542:9: note: in expansion of macro 'DECLARE_TRACE'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |         ^~~~~~~~~~~~~
   include/linux/tracepoint.h:542:29: note: in expansion of macro 'PARAMS'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |                             ^~~~~~
   fs/nfs/nfs4trace.h:2533:9: note: in expansion of macro 'DEFINE_EVENT'
    2533 |         DEFINE_EVENT(nfs4_sparse_event, name, \
         |         ^~~~~~~~~~~~
   fs/nfs/nfs4trace.h:2534:25: note: in expansion of macro 'TP_PROTO'
    2534 |                         TP_PROTO( \
         |                         ^~~~~~~~
   fs/nfs/nfs4trace.h:2541:1: note: in expansion of macro 'DEFINE_NFS4_SPARSE_EVENT'
    2541 | DEFINE_NFS4_SPARSE_EVENT(nfs4_deallocate);
         | ^~~~~~~~~~~~~~~~~~~~~~~~
>> fs/nfs/nfs4trace.h:2536:46: warning: 'struct nfs42_falloc_args' declared inside parameter list will not be visible outside of this definition or declaration
    2536 |                                 const struct nfs42_falloc_args *args, \
         |                                              ^~~~~~~~~~~~~~~~~
   include/linux/tracepoint.h:273:47: note: in definition of macro '__DECLARE_TRACE'
     273 |         unregister_trace_##name(void (*probe)(data_proto), void *data)  \
         |                                               ^~~~~~~~~~
   include/linux/tracepoint.h:421:25: note: in expansion of macro 'PARAMS'
     421 |                         PARAMS(void *__data, proto))
         |                         ^~~~~~
   include/linux/tracepoint.h:542:9: note: in expansion of macro 'DECLARE_TRACE'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |         ^~~~~~~~~~~~~
   include/linux/tracepoint.h:542:29: note: in expansion of macro 'PARAMS'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |                             ^~~~~~
   fs/nfs/nfs4trace.h:2533:9: note: in expansion of macro 'DEFINE_EVENT'
    2533 |         DEFINE_EVENT(nfs4_sparse_event, name, \
         |         ^~~~~~~~~~~~
   fs/nfs/nfs4trace.h:2534:25: note: in expansion of macro 'TP_PROTO'
    2534 |                         TP_PROTO( \
         |                         ^~~~~~~~
   fs/nfs/nfs4trace.h:2541:1: note: in expansion of macro 'DEFINE_NFS4_SPARSE_EVENT'
    2541 | DEFINE_NFS4_SPARSE_EVENT(nfs4_deallocate);
         | ^~~~~~~~~~~~~~~~~~~~~~~~
>> fs/nfs/nfs4trace.h:2536:46: warning: 'struct nfs42_falloc_args' declared inside parameter list will not be visible outside of this definition or declaration
    2536 |                                 const struct nfs42_falloc_args *args, \
         |                                              ^~~~~~~~~~~~~~~~~
   include/linux/tracepoint.h:279:53: note: in definition of macro '__DECLARE_TRACE'
     279 |         check_trace_callback_type_##name(void (*cb)(data_proto))        \
         |                                                     ^~~~~~~~~~
   include/linux/tracepoint.h:421:25: note: in expansion of macro 'PARAMS'
     421 |                         PARAMS(void *__data, proto))
         |                         ^~~~~~
   include/linux/tracepoint.h:542:9: note: in expansion of macro 'DECLARE_TRACE'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |         ^~~~~~~~~~~~~
   include/linux/tracepoint.h:542:29: note: in expansion of macro 'PARAMS'
     542 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |                             ^~~~~~
   fs/nfs/nfs4trace.h:2533:9: note: in expansion of macro 'DEFINE_EVENT'
    2533 |         DEFINE_EVENT(nfs4_sparse_event, name, \
         |         ^~~~~~~~~~~~
   fs/nfs/nfs4trace.h:2534:25: note: in expansion of macro 'TP_PROTO'
    2534 |                         TP_PROTO( \
         |                         ^~~~~~~~
   fs/nfs/nfs4trace.h:2541:1: note: in expansion of macro 'DEFINE_NFS4_SPARSE_EVENT'
    2541 | DEFINE_NFS4_SPARSE_EVENT(nfs4_deallocate);
         | ^~~~~~~~~~~~~~~~~~~~~~~~
   fs/nfs/nfs4proc.c: In function 'nfs4_proc_create_session':
   fs/nfs/nfs4proc.c:9104:19: warning: variable 'ptr' set but not used [-Wunused-but-set-variable]
    9104 |         unsigned *ptr;
         |                   ^~~
   cc1: some warnings being treated as errors
..


vim +/__traceiter_nfs4_fallocate +2539 fs/nfs/nfs4trace.h

  2422	
  2423	#define show_llseek_mode(what)			\
  2424		__print_symbolic(what,			\
  2425			{ NFS4_CONTENT_DATA, "DATA" },		\
  2426			{ NFS4_CONTENT_HOLE, "HOLE" })
  2427	
> 2428	TRACE_EVENT(nfs4_llseek,
  2429			TP_PROTO(
  2430				const struct inode *inode,
  2431				const struct nfs42_seek_args *args,
  2432				const struct nfs42_seek_res *res,
  2433				int error
  2434			),
  2435	
  2436			TP_ARGS(inode, args, res, error),
  2437	
  2438			TP_STRUCT__entry(
  2439				__field(unsigned long, error)
  2440				__field(u32, fhandle)
  2441				__field(u32, fileid)
  2442				__field(dev_t, dev)
  2443				__field(int, stateid_seq)
  2444				__field(u32, stateid_hash)
  2445				__field(loff_t, offset_s)
  2446				__field(u32, what)
  2447				__field(loff_t, offset_r)
  2448				__field(u32, eof)
  2449			),
  2450	
  2451			TP_fast_assign(
  2452				const struct nfs_inode *nfsi = NFS_I(inode);
  2453				const struct nfs_fh *fh = args->sa_fh;
  2454	
  2455				__entry->fileid = nfsi->fileid;
  2456				__entry->dev = inode->i_sb->s_dev;
  2457				__entry->fhandle = nfs_fhandle_hash(fh);
  2458				__entry->offset_s = args->sa_offset;
  2459				__entry->error = error < 0 ? -error : 0;
  2460				__entry->stateid_seq =
  2461					be32_to_cpu(args->sa_stateid.seqid);
  2462				__entry->stateid_hash =
  2463					nfs_stateid_hash(&args->sa_stateid);
  2464				__entry->what = args->sa_what;
  2465				__entry->offset_r = error < 0 ? 0 : res->sr_offset;
  2466				__entry->eof = error < 0 ? 0 : res->sr_eof;
  2467			),
  2468	
  2469			TP_printk(
  2470				"error=%ld (%s) fileid=%02x:%02x:%llu fhandle=0x%08x "
  2471				"stateid=%d:0x%08x offset_s=%llu what=%s "
  2472				"offset_r=%llu eof=%u",
  2473				-__entry->error,
  2474				show_nfsv4_errors(__entry->error),
  2475				MAJOR(__entry->dev), MINOR(__entry->dev),
  2476				(unsigned long long)__entry->fileid,
  2477				__entry->fhandle,
  2478				__entry->stateid_seq, __entry->stateid_hash,
  2479				__entry->offset_s,
  2480				show_llseek_mode(__entry->what),
  2481				__entry->offset_r,
  2482				__entry->eof
  2483			)
  2484	);
  2485	
  2486	DECLARE_EVENT_CLASS(nfs4_sparse_event,
  2487			TP_PROTO(
  2488				const struct inode *inode,
  2489				const struct nfs42_falloc_args *args,
  2490				int error
  2491			),
  2492	
  2493			TP_ARGS(inode, args, error),
  2494	
  2495			TP_STRUCT__entry(
  2496				__field(unsigned long, error)
  2497				__field(loff_t, offset)
  2498				__field(loff_t, len)
  2499				__field(dev_t, dev)
  2500				__field(u32, fhandle)
  2501				__field(u64, fileid)
  2502				__field(int, stateid_seq)
  2503				__field(u32, stateid_hash)
  2504			),
  2505	
  2506			TP_fast_assign(
  2507				__entry->error = error < 0 ? -error : 0;
  2508				__entry->offset = args->falloc_offset;
  2509				__entry->len = args->falloc_length;
  2510				__entry->dev = inode->i_sb->s_dev;
  2511				__entry->fileid = NFS_FILEID(inode);
  2512				__entry->fhandle = nfs_fhandle_hash(NFS_FH(inode));
  2513				__entry->stateid_seq =
  2514					be32_to_cpu(args->falloc_stateid.seqid);
  2515				__entry->stateid_hash =
  2516					nfs_stateid_hash(&args->falloc_stateid);
  2517			),
  2518	
  2519			TP_printk(
  2520				"error=%ld (%s) fileid=%02x:%02x:%llu fhandle=0x%08x "
  2521				"stateid=%d:0x%08x offset=%llu len=%llu",
  2522				-__entry->error,
  2523				show_nfsv4_errors(__entry->error),
  2524				MAJOR(__entry->dev), MINOR(__entry->dev),
  2525				(unsigned long long)__entry->fileid,
  2526				__entry->fhandle,
  2527				__entry->stateid_seq, __entry->stateid_hash,
  2528				(long long)__entry->offset,
  2529				(long long)__entry->len
  2530			)
  2531	);
  2532	#define DEFINE_NFS4_SPARSE_EVENT(name) \
  2533		DEFINE_EVENT(nfs4_sparse_event, name, \
> 2534				TP_PROTO( \
  2535					const struct inode *inode, \
> 2536					const struct nfs42_falloc_args *args, \
  2537					int error \
  2538				), \
> 2539				TP_ARGS(inode, args, error))
  2540	DEFINE_NFS4_SPARSE_EVENT(nfs4_fallocate);
  2541	DEFINE_NFS4_SPARSE_EVENT(nfs4_deallocate);
  2542	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 35928 bytes --]

  reply	other threads:[~2021-10-27 11:14 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-18 22:03 [PATCH 0/7] NFSv4.2 add tracepoints to sparse files and copy Olga Kornievskaia
2021-10-18 22:03 ` [PATCH 1/7] NFSv4.2 add tracepoint to SEEK Olga Kornievskaia
2021-10-19 17:08   ` Anna Schumaker
2021-10-27  7:50   ` kernel test robot
2021-10-27  7:50     ` kernel test robot
2021-10-18 22:03 ` [PATCH 2/7] NFSv4.2 add tracepoints to FALLOCATE and DEALLOCATE Olga Kornievskaia
2021-10-27 11:14   ` kernel test robot [this message]
2021-10-18 22:03 ` [PATCH 3/7] NFSv4.2 add tracepoint to COPY Olga Kornievskaia
2021-10-19 15:31   ` Chuck Lever III
2021-10-19 15:51     ` Olga Kornievskaia
2021-10-19 16:01       ` Chuck Lever III
2021-10-27 14:28   ` kernel test robot
2021-10-27 14:28     ` kernel test robot
2021-10-18 22:03 ` [PATCH 4/7] NFSv4.2 add tracepoint to CLONE Olga Kornievskaia
2021-10-18 22:03 ` [PATCH 5/7] NFSv4.2 add tracepoint to CB_OFFLOAD Olga Kornievskaia
2021-10-19 15:16   ` Chuck Lever III
2021-10-19 16:01     ` Olga Kornievskaia
2021-10-19 16:35       ` Chuck Lever III
2021-10-18 22:03 ` [PATCH 6/7] NFSv4.2 add tracepoint to COPY_NOTIFY Olga Kornievskaia
2021-10-18 22:03 ` [PATCH 7/7] NFSv4.2 add tracepoint to OFFLOAD_CANCEL Olga Kornievskaia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202110271916.saSaloQL-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.