lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 15 Sep 2022 15:22:33 +0800
From:   kernel test robot <lkp@...el.com>
To:     Hans Verkuil <hverkuil@...all.nl>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [hverkuil-media-tree:alt-ctrls 1/2]
 arch/sparc/include/uapi/asm/ioctl.h:56:29: error: array index in initializer
 not of integer type

tree:   git://linuxtv.org/hverkuil/media_tree.git alt-ctrls
head:   c6e0e18a5be6b8a301595a30ba369cbee4a60807
commit: b28feb32252c212b4d345f0da7ceb285d763e1b9 [1/2] wip
config: sparc-randconfig-r012-20220914
compiler: sparc-linux-gcc (GCC) 12.1.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
        git remote add hverkuil-media-tree git://linuxtv.org/hverkuil/media_tree.git
        git fetch --no-tags hverkuil-media-tree alt-ctrls
        git checkout b28feb32252c212b4d345f0da7ceb285d763e1b9
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sparc SHELL=/bin/bash drivers/media/v4l2-core/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

         |                                                                   ^
         |                                                                   |
         |                                                                   struct v4l2_ext_controls *
   include/media/v4l2-ctrls.h:1494:48: note: expected 'struct v4l2_ext_controls *' but argument is of type 'struct v4l2_ext_controls *'
    1494 |                      struct v4l2_ext_controls *c);
         |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~^
   include/uapi/linux/videodev2.h:2695:48: error: invalid application of 'sizeof' to incomplete type 'struct v4l2_ext_controls'
    2695 | #define VIDIOC_S_EXT_CTRLS      _IOWR('V', 72, struct v4l2_ext_controls)
         |                                                ^~~~~~
   arch/sparc/include/uapi/asm/ioctl.h:43:12: note: in definition of macro '_IOC'
      43 |          ((size) << _IOC_SIZESHIFT))
         |            ^~~~
   include/uapi/linux/videodev2.h:2695:33: note: in expansion of macro '_IOWR'
    2695 | #define VIDIOC_S_EXT_CTRLS      _IOWR('V', 72, struct v4l2_ext_controls)
         |                                 ^~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2353:35: note: in expansion of macro 'VIDIOC_S_EXT_CTRLS'
    2353 |         return check_ext_ctrls(p, VIDIOC_S_EXT_CTRLS) ?
         |                                   ^~~~~~~~~~~~~~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2353:32: error: passing argument 1 of 'check_ext_ctrls' from incompatible pointer type [-Werror=incompatible-pointer-types]
    2353 |         return check_ext_ctrls(p, VIDIOC_S_EXT_CTRLS) ?
         |                                ^
         |                                |
         |                                struct v4l2_ext_controls *
   drivers/media/v4l2-core/v4l2-ioctl.c:875:55: note: expected 'struct v4l2_ext_controls *' but argument is of type 'struct v4l2_ext_controls *'
     875 | static bool check_ext_ctrls(struct v4l2_ext_controls *c, unsigned long ioctl)
         |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~^
   drivers/media/v4l2-core/v4l2-ioctl.c:2354:67: error: passing argument 3 of 'ops->vidioc_s_ext_ctrls' from incompatible pointer type [-Werror=incompatible-pointer-types]
    2354 |                                 ops->vidioc_s_ext_ctrls(file, fh, p) : -EINVAL;
         |                                                                   ^
         |                                                                   |
         |                                                                   struct v4l2_ext_controls *
   drivers/media/v4l2-core/v4l2-ioctl.c:2354:67: note: expected 'struct v4l2_ext_controls *' but argument is of type 'struct v4l2_ext_controls *'
   drivers/media/v4l2-core/v4l2-ioctl.c: In function 'v4l_try_ext_ctrls':
   drivers/media/v4l2-core/v4l2-ioctl.c:2365:10: error: invalid use of undefined type 'struct v4l2_ext_controls'
    2365 |         p->error_idx = p->count;
         |          ^~
   drivers/media/v4l2-core/v4l2-ioctl.c:2365:25: error: invalid use of undefined type 'struct v4l2_ext_controls'
    2365 |         p->error_idx = p->count;
         |                         ^~
   drivers/media/v4l2-core/v4l2-ioctl.c:2368:69: error: passing argument 4 of 'v4l2_try_ext_ctrls' from incompatible pointer type [-Werror=incompatible-pointer-types]
    2368 |                                           vfd, vfd->v4l2_dev->mdev, p);
         |                                                                     ^
         |                                                                     |
         |                                                                     struct v4l2_ext_controls *
   include/media/v4l2-ctrls.h:1477:50: note: expected 'struct v4l2_ext_controls *' but argument is of type 'struct v4l2_ext_controls *'
    1477 |                        struct v4l2_ext_controls *c);
         |                        ~~~~~~~~~~~~~~~~~~~~~~~~~~^
   drivers/media/v4l2-core/v4l2-ioctl.c:2371:69: error: passing argument 4 of 'v4l2_try_ext_ctrls' from incompatible pointer type [-Werror=incompatible-pointer-types]
    2371 |                                           vfd, vfd->v4l2_dev->mdev, p);
         |                                                                     ^
         |                                                                     |
         |                                                                     struct v4l2_ext_controls *
   include/media/v4l2-ctrls.h:1477:50: note: expected 'struct v4l2_ext_controls *' but argument is of type 'struct v4l2_ext_controls *'
    1477 |                        struct v4l2_ext_controls *c);
         |                        ~~~~~~~~~~~~~~~~~~~~~~~~~~^
   include/uapi/linux/videodev2.h:2696:48: error: invalid application of 'sizeof' to incomplete type 'struct v4l2_ext_controls'
    2696 | #define VIDIOC_TRY_EXT_CTRLS    _IOWR('V', 73, struct v4l2_ext_controls)
         |                                                ^~~~~~
   arch/sparc/include/uapi/asm/ioctl.h:43:12: note: in definition of macro '_IOC'
      43 |          ((size) << _IOC_SIZESHIFT))
         |            ^~~~
   include/uapi/linux/videodev2.h:2696:33: note: in expansion of macro '_IOWR'
    2696 | #define VIDIOC_TRY_EXT_CTRLS    _IOWR('V', 73, struct v4l2_ext_controls)
         |                                 ^~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2374:35: note: in expansion of macro 'VIDIOC_TRY_EXT_CTRLS'
    2374 |         return check_ext_ctrls(p, VIDIOC_TRY_EXT_CTRLS) ?
         |                                   ^~~~~~~~~~~~~~~~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2374:32: error: passing argument 1 of 'check_ext_ctrls' from incompatible pointer type [-Werror=incompatible-pointer-types]
    2374 |         return check_ext_ctrls(p, VIDIOC_TRY_EXT_CTRLS) ?
         |                                ^
         |                                |
         |                                struct v4l2_ext_controls *
   drivers/media/v4l2-core/v4l2-ioctl.c:875:55: note: expected 'struct v4l2_ext_controls *' but argument is of type 'struct v4l2_ext_controls *'
     875 | static bool check_ext_ctrls(struct v4l2_ext_controls *c, unsigned long ioctl)
         |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~^
   drivers/media/v4l2-core/v4l2-ioctl.c:2375:61: error: passing argument 3 of 'ops->vidioc_try_ext_ctrls' from incompatible pointer type [-Werror=incompatible-pointer-types]
    2375 |                         ops->vidioc_try_ext_ctrls(file, fh, p) : -EINVAL;
         |                                                             ^
         |                                                             |
         |                                                             struct v4l2_ext_controls *
   drivers/media/v4l2-core/v4l2-ioctl.c:2375:61: note: expected 'struct v4l2_ext_controls *' but argument is of type 'struct v4l2_ext_controls *'
   drivers/media/v4l2-core/v4l2-ioctl.c: At top level:
   include/uapi/linux/videodev2.h:2660:48: error: invalid application of 'sizeof' to incomplete type 'struct v4l2_control'
    2660 | #define VIDIOC_G_CTRL           _IOWR('V', 27, struct v4l2_control)
         |                                                ^~~~~~
   arch/sparc/include/uapi/asm/ioctl.h:56:32: note: in definition of macro '_IOC_NR'
      56 | #define _IOC_NR(nr)         (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)
         |                                ^~
   drivers/media/v4l2-core/v4l2-ioctl.c:2839:9: note: in expansion of macro 'IOCTL_INFO'
    2839 |         IOCTL_INFO(VIDIOC_G_CTRL, v4l_g_ctrl, v4l_print_control, INFO_FL_CTRL | INFO_FL_CLEAR(v4l2_control, id)),
         |         ^~~~~~~~~~
   arch/sparc/include/uapi/asm/ioctl.h:48:29: note: in expansion of macro '_IOC'
      48 | #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
         |                             ^~~~
   include/uapi/linux/videodev2.h:2660:33: note: in expansion of macro '_IOWR'
    2660 | #define VIDIOC_G_CTRL           _IOWR('V', 27, struct v4l2_control)
         |                                 ^~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2839:20: note: in expansion of macro 'VIDIOC_G_CTRL'
    2839 |         IOCTL_INFO(VIDIOC_G_CTRL, v4l_g_ctrl, v4l_print_control, INFO_FL_CTRL | INFO_FL_CLEAR(v4l2_control, id)),
         |                    ^~~~~~~~~~~~~
>> arch/sparc/include/uapi/asm/ioctl.h:56:29: error: array index in initializer not of integer type
      56 | #define _IOC_NR(nr)         (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)
         |                             ^
   drivers/media/v4l2-core/v4l2-ioctl.c:2783:10: note: in expansion of macro '_IOC_NR'
    2783 |         [_IOC_NR(_ioctl)] = {                                   \
         |          ^~~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2839:9: note: in expansion of macro 'IOCTL_INFO'
    2839 |         IOCTL_INFO(VIDIOC_G_CTRL, v4l_g_ctrl, v4l_print_control, INFO_FL_CTRL | INFO_FL_CLEAR(v4l2_control, id)),
         |         ^~~~~~~~~~
   arch/sparc/include/uapi/asm/ioctl.h:56:29: note: (near initialization for 'v4l2_ioctls')
      56 | #define _IOC_NR(nr)         (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)
         |                             ^
   drivers/media/v4l2-core/v4l2-ioctl.c:2783:10: note: in expansion of macro '_IOC_NR'
    2783 |         [_IOC_NR(_ioctl)] = {                                   \
         |          ^~~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2839:9: note: in expansion of macro 'IOCTL_INFO'
    2839 |         IOCTL_INFO(VIDIOC_G_CTRL, v4l_g_ctrl, v4l_print_control, INFO_FL_CTRL | INFO_FL_CLEAR(v4l2_control, id)),
         |         ^~~~~~~~~~
   include/uapi/linux/videodev2.h:2660:48: error: invalid application of 'sizeof' to incomplete type 'struct v4l2_control'
    2660 | #define VIDIOC_G_CTRL           _IOWR('V', 27, struct v4l2_control)
         |                                                ^~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2784:26: note: in definition of macro 'IOCTL_INFO'
    2784 |                 .ioctl = _ioctl,                                \
         |                          ^~~~~~
   arch/sparc/include/uapi/asm/ioctl.h:48:29: note: in expansion of macro '_IOC'
      48 | #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
         |                             ^~~~
   include/uapi/linux/videodev2.h:2660:33: note: in expansion of macro '_IOWR'
    2660 | #define VIDIOC_G_CTRL           _IOWR('V', 27, struct v4l2_control)
         |                                 ^~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2839:20: note: in expansion of macro 'VIDIOC_G_CTRL'
    2839 |         IOCTL_INFO(VIDIOC_G_CTRL, v4l_g_ctrl, v4l_print_control, INFO_FL_CTRL | INFO_FL_CLEAR(v4l2_control, id)),
         |                    ^~~~~~~~~~~~~
   include/linux/stddef.h:16:33: error: invalid use of undefined type 'struct v4l2_control'
      16 | #define offsetof(TYPE, MEMBER)  __builtin_offsetof(TYPE, MEMBER)
         |                                 ^~~~~~~~~~~~~~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2785:26: note: in definition of macro 'IOCTL_INFO'
    2785 |                 .flags = _flags,                                \
         |                          ^~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2770:11: note: in expansion of macro 'offsetof'
    2770 |         ((offsetof(struct v4l2_struct, field) +                 \
         |           ^~~~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2839:81: note: in expansion of macro 'INFO_FL_CLEAR'
    2839 |         IOCTL_INFO(VIDIOC_G_CTRL, v4l_g_ctrl, v4l_print_control, INFO_FL_CTRL | INFO_FL_CLEAR(v4l2_control, id)),
         |                                                                                 ^~~~~~~~~~~~~
   include/linux/stddef.h:24:55: error: invalid use of undefined type 'struct v4l2_control'
      24 | #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER))
         |                                                       ^~
   drivers/media/v4l2-core/v4l2-ioctl.c:2785:26: note: in definition of macro 'IOCTL_INFO'
    2785 |                 .flags = _flags,                                \
         |                          ^~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2771:11: note: in expansion of macro 'sizeof_field'
    2771 |           sizeof_field(struct v4l2_struct, field)) << 16)
         |           ^~~~~~~~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2839:81: note: in expansion of macro 'INFO_FL_CLEAR'
    2839 |         IOCTL_INFO(VIDIOC_G_CTRL, v4l_g_ctrl, v4l_print_control, INFO_FL_CTRL | INFO_FL_CLEAR(v4l2_control, id)),
         |                                                                                 ^~~~~~~~~~~~~
   include/uapi/linux/videodev2.h:2661:48: error: invalid application of 'sizeof' to incomplete type 'struct v4l2_control'
    2661 | #define VIDIOC_S_CTRL           _IOWR('V', 28, struct v4l2_control)
         |                                                ^~~~~~
   arch/sparc/include/uapi/asm/ioctl.h:56:32: note: in definition of macro '_IOC_NR'
      56 | #define _IOC_NR(nr)         (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)
         |                                ^~
   drivers/media/v4l2-core/v4l2-ioctl.c:2840:9: note: in expansion of macro 'IOCTL_INFO'
    2840 |         IOCTL_INFO(VIDIOC_S_CTRL, v4l_s_ctrl, v4l_print_control, INFO_FL_PRIO | INFO_FL_CTRL),
         |         ^~~~~~~~~~
   arch/sparc/include/uapi/asm/ioctl.h:48:29: note: in expansion of macro '_IOC'
      48 | #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
         |                             ^~~~
   include/uapi/linux/videodev2.h:2661:33: note: in expansion of macro '_IOWR'
    2661 | #define VIDIOC_S_CTRL           _IOWR('V', 28, struct v4l2_control)
         |                                 ^~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2840:20: note: in expansion of macro 'VIDIOC_S_CTRL'
    2840 |         IOCTL_INFO(VIDIOC_S_CTRL, v4l_s_ctrl, v4l_print_control, INFO_FL_PRIO | INFO_FL_CTRL),
         |                    ^~~~~~~~~~~~~
>> arch/sparc/include/uapi/asm/ioctl.h:56:29: error: array index in initializer not of integer type
      56 | #define _IOC_NR(nr)         (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)
         |                             ^
   drivers/media/v4l2-core/v4l2-ioctl.c:2783:10: note: in expansion of macro '_IOC_NR'
    2783 |         [_IOC_NR(_ioctl)] = {                                   \
         |          ^~~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2840:9: note: in expansion of macro 'IOCTL_INFO'
    2840 |         IOCTL_INFO(VIDIOC_S_CTRL, v4l_s_ctrl, v4l_print_control, INFO_FL_PRIO | INFO_FL_CTRL),
         |         ^~~~~~~~~~
   arch/sparc/include/uapi/asm/ioctl.h:56:29: note: (near initialization for 'v4l2_ioctls')
      56 | #define _IOC_NR(nr)         (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)
         |                             ^
   drivers/media/v4l2-core/v4l2-ioctl.c:2783:10: note: in expansion of macro '_IOC_NR'
    2783 |         [_IOC_NR(_ioctl)] = {                                   \
         |          ^~~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2840:9: note: in expansion of macro 'IOCTL_INFO'
    2840 |         IOCTL_INFO(VIDIOC_S_CTRL, v4l_s_ctrl, v4l_print_control, INFO_FL_PRIO | INFO_FL_CTRL),
         |         ^~~~~~~~~~
   include/uapi/linux/videodev2.h:2661:48: error: invalid application of 'sizeof' to incomplete type 'struct v4l2_control'
    2661 | #define VIDIOC_S_CTRL           _IOWR('V', 28, struct v4l2_control)
         |                                                ^~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2784:26: note: in definition of macro 'IOCTL_INFO'
    2784 |                 .ioctl = _ioctl,                                \
         |                          ^~~~~~
   arch/sparc/include/uapi/asm/ioctl.h:48:29: note: in expansion of macro '_IOC'
      48 | #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
         |                             ^~~~
   include/uapi/linux/videodev2.h:2661:33: note: in expansion of macro '_IOWR'
    2661 | #define VIDIOC_S_CTRL           _IOWR('V', 28, struct v4l2_control)
         |                                 ^~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2840:20: note: in expansion of macro 'VIDIOC_S_CTRL'
    2840 |         IOCTL_INFO(VIDIOC_S_CTRL, v4l_s_ctrl, v4l_print_control, INFO_FL_PRIO | INFO_FL_CTRL),
         |                    ^~~~~~~~~~~~~
   include/uapi/linux/videodev2.h:2666:48: error: invalid application of 'sizeof' to incomplete type 'struct v4l2_queryctrl'
    2666 | #define VIDIOC_QUERYCTRL        _IOWR('V', 36, struct v4l2_queryctrl)
         |                                                ^~~~~~
   arch/sparc/include/uapi/asm/ioctl.h:56:32: note: in definition of macro '_IOC_NR'
      56 | #define _IOC_NR(nr)         (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)
         |                                ^~
   drivers/media/v4l2-core/v4l2-ioctl.c:2845:9: note: in expansion of macro 'IOCTL_INFO'
    2845 |         IOCTL_INFO(VIDIOC_QUERYCTRL, v4l_queryctrl, v4l_print_queryctrl, INFO_FL_CTRL | INFO_FL_CLEAR(v4l2_queryctrl, id)),
         |         ^~~~~~~~~~
   arch/sparc/include/uapi/asm/ioctl.h:48:29: note: in expansion of macro '_IOC'
      48 | #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
         |                             ^~~~
   include/uapi/linux/videodev2.h:2666:33: note: in expansion of macro '_IOWR'
    2666 | #define VIDIOC_QUERYCTRL        _IOWR('V', 36, struct v4l2_queryctrl)
         |                                 ^~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2845:20: note: in expansion of macro 'VIDIOC_QUERYCTRL'
    2845 |         IOCTL_INFO(VIDIOC_QUERYCTRL, v4l_queryctrl, v4l_print_queryctrl, INFO_FL_CTRL | INFO_FL_CLEAR(v4l2_queryctrl, id)),
         |                    ^~~~~~~~~~~~~~~~
>> arch/sparc/include/uapi/asm/ioctl.h:56:29: error: array index in initializer not of integer type
      56 | #define _IOC_NR(nr)         (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)
         |                             ^
   drivers/media/v4l2-core/v4l2-ioctl.c:2783:10: note: in expansion of macro '_IOC_NR'
    2783 |         [_IOC_NR(_ioctl)] = {                                   \
         |          ^~~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2845:9: note: in expansion of macro 'IOCTL_INFO'
    2845 |         IOCTL_INFO(VIDIOC_QUERYCTRL, v4l_queryctrl, v4l_print_queryctrl, INFO_FL_CTRL | INFO_FL_CLEAR(v4l2_queryctrl, id)),
         |         ^~~~~~~~~~
   arch/sparc/include/uapi/asm/ioctl.h:56:29: note: (near initialization for 'v4l2_ioctls')
      56 | #define _IOC_NR(nr)         (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)
         |                             ^
   drivers/media/v4l2-core/v4l2-ioctl.c:2783:10: note: in expansion of macro '_IOC_NR'
    2783 |         [_IOC_NR(_ioctl)] = {                                   \
         |          ^~~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2845:9: note: in expansion of macro 'IOCTL_INFO'
    2845 |         IOCTL_INFO(VIDIOC_QUERYCTRL, v4l_queryctrl, v4l_print_queryctrl, INFO_FL_CTRL | INFO_FL_CLEAR(v4l2_queryctrl, id)),
         |         ^~~~~~~~~~
   include/uapi/linux/videodev2.h:2666:48: error: invalid application of 'sizeof' to incomplete type 'struct v4l2_queryctrl'
    2666 | #define VIDIOC_QUERYCTRL        _IOWR('V', 36, struct v4l2_queryctrl)
         |                                                ^~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2784:26: note: in definition of macro 'IOCTL_INFO'
    2784 |                 .ioctl = _ioctl,                                \
         |                          ^~~~~~
   arch/sparc/include/uapi/asm/ioctl.h:48:29: note: in expansion of macro '_IOC'
      48 | #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
         |                             ^~~~
   include/uapi/linux/videodev2.h:2666:33: note: in expansion of macro '_IOWR'
    2666 | #define VIDIOC_QUERYCTRL        _IOWR('V', 36, struct v4l2_queryctrl)
         |                                 ^~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2845:20: note: in expansion of macro 'VIDIOC_QUERYCTRL'
    2845 |         IOCTL_INFO(VIDIOC_QUERYCTRL, v4l_queryctrl, v4l_print_queryctrl, INFO_FL_CTRL | INFO_FL_CLEAR(v4l2_queryctrl, id)),
         |                    ^~~~~~~~~~~~~~~~
   include/linux/stddef.h:16:33: error: invalid use of undefined type 'struct v4l2_queryctrl'
      16 | #define offsetof(TYPE, MEMBER)  __builtin_offsetof(TYPE, MEMBER)
         |                                 ^~~~~~~~~~~~~~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2785:26: note: in definition of macro 'IOCTL_INFO'
    2785 |                 .flags = _flags,                                \
         |                          ^~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2770:11: note: in expansion of macro 'offsetof'
    2770 |         ((offsetof(struct v4l2_struct, field) +                 \
         |           ^~~~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2845:89: note: in expansion of macro 'INFO_FL_CLEAR'
    2845 |         IOCTL_INFO(VIDIOC_QUERYCTRL, v4l_queryctrl, v4l_print_queryctrl, INFO_FL_CTRL | INFO_FL_CLEAR(v4l2_queryctrl, id)),
         |                                                                                         ^~~~~~~~~~~~~
   include/linux/stddef.h:24:55: error: invalid use of undefined type 'struct v4l2_queryctrl'
      24 | #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER))
         |                                                       ^~
   drivers/media/v4l2-core/v4l2-ioctl.c:2785:26: note: in definition of macro 'IOCTL_INFO'
    2785 |                 .flags = _flags,                                \
         |                          ^~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2771:11: note: in expansion of macro 'sizeof_field'
    2771 |           sizeof_field(struct v4l2_struct, field)) << 16)
         |           ^~~~~~~~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2845:89: note: in expansion of macro 'INFO_FL_CLEAR'
    2845 |         IOCTL_INFO(VIDIOC_QUERYCTRL, v4l_queryctrl, v4l_print_queryctrl, INFO_FL_CTRL | INFO_FL_CLEAR(v4l2_queryctrl, id)),
         |                                                                                         ^~~~~~~~~~~~~
   include/uapi/linux/videodev2.h:2694:48: error: invalid application of 'sizeof' to incomplete type 'struct v4l2_ext_controls'
    2694 | #define VIDIOC_G_EXT_CTRLS      _IOWR('V', 71, struct v4l2_ext_controls)
         |                                                ^~~~~~
   arch/sparc/include/uapi/asm/ioctl.h:56:32: note: in definition of macro '_IOC_NR'
      56 | #define _IOC_NR(nr)         (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)
         |                                ^~
   drivers/media/v4l2-core/v4l2-ioctl.c:2875:9: note: in expansion of macro 'IOCTL_INFO'
    2875 |         IOCTL_INFO(VIDIOC_G_EXT_CTRLS, v4l_g_ext_ctrls, v4l_print_ext_controls, INFO_FL_CTRL),
         |         ^~~~~~~~~~
   arch/sparc/include/uapi/asm/ioctl.h:48:29: note: in expansion of macro '_IOC'
      48 | #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
         |                             ^~~~
   include/uapi/linux/videodev2.h:2694:33: note: in expansion of macro '_IOWR'
    2694 | #define VIDIOC_G_EXT_CTRLS      _IOWR('V', 71, struct v4l2_ext_controls)
         |                                 ^~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2875:20: note: in expansion of macro 'VIDIOC_G_EXT_CTRLS'
    2875 |         IOCTL_INFO(VIDIOC_G_EXT_CTRLS, v4l_g_ext_ctrls, v4l_print_ext_controls, INFO_FL_CTRL),
         |                    ^~~~~~~~~~~~~~~~~~
>> arch/sparc/include/uapi/asm/ioctl.h:56:29: error: array index in initializer not of integer type
      56 | #define _IOC_NR(nr)         (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)
         |                             ^
   drivers/media/v4l2-core/v4l2-ioctl.c:2783:10: note: in expansion of macro '_IOC_NR'
    2783 |         [_IOC_NR(_ioctl)] = {                                   \
         |          ^~~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2875:9: note: in expansion of macro 'IOCTL_INFO'
    2875 |         IOCTL_INFO(VIDIOC_G_EXT_CTRLS, v4l_g_ext_ctrls, v4l_print_ext_controls, INFO_FL_CTRL),
         |         ^~~~~~~~~~
   arch/sparc/include/uapi/asm/ioctl.h:56:29: note: (near initialization for 'v4l2_ioctls')
      56 | #define _IOC_NR(nr)         (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)
         |                             ^
   drivers/media/v4l2-core/v4l2-ioctl.c:2783:10: note: in expansion of macro '_IOC_NR'
    2783 |         [_IOC_NR(_ioctl)] = {                                   \
         |          ^~~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2875:9: note: in expansion of macro 'IOCTL_INFO'
    2875 |         IOCTL_INFO(VIDIOC_G_EXT_CTRLS, v4l_g_ext_ctrls, v4l_print_ext_controls, INFO_FL_CTRL),
         |         ^~~~~~~~~~
   include/uapi/linux/videodev2.h:2694:48: error: invalid application of 'sizeof' to incomplete type 'struct v4l2_ext_controls'
    2694 | #define VIDIOC_G_EXT_CTRLS      _IOWR('V', 71, struct v4l2_ext_controls)
         |                                                ^~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2784:26: note: in definition of macro 'IOCTL_INFO'
    2784 |                 .ioctl = _ioctl,                                \
         |                          ^~~~~~
   arch/sparc/include/uapi/asm/ioctl.h:48:29: note: in expansion of macro '_IOC'
      48 | #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
         |                             ^~~~
   include/uapi/linux/videodev2.h:2694:33: note: in expansion of macro '_IOWR'
    2694 | #define VIDIOC_G_EXT_CTRLS      _IOWR('V', 71, struct v4l2_ext_controls)
         |                                 ^~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2875:20: note: in expansion of macro 'VIDIOC_G_EXT_CTRLS'
    2875 |         IOCTL_INFO(VIDIOC_G_EXT_CTRLS, v4l_g_ext_ctrls, v4l_print_ext_controls, INFO_FL_CTRL),
         |                    ^~~~~~~~~~~~~~~~~~
   include/uapi/linux/videodev2.h:2695:48: error: invalid application of 'sizeof' to incomplete type 'struct v4l2_ext_controls'
    2695 | #define VIDIOC_S_EXT_CTRLS      _IOWR('V', 72, struct v4l2_ext_controls)
         |                                                ^~~~~~
   arch/sparc/include/uapi/asm/ioctl.h:56:32: note: in definition of macro '_IOC_NR'
      56 | #define _IOC_NR(nr)         (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)
         |                                ^~
   drivers/media/v4l2-core/v4l2-ioctl.c:2876:9: note: in expansion of macro 'IOCTL_INFO'
    2876 |         IOCTL_INFO(VIDIOC_S_EXT_CTRLS, v4l_s_ext_ctrls, v4l_print_ext_controls, INFO_FL_PRIO | INFO_FL_CTRL),
         |         ^~~~~~~~~~
   arch/sparc/include/uapi/asm/ioctl.h:48:29: note: in expansion of macro '_IOC'
      48 | #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
         |                             ^~~~
   include/uapi/linux/videodev2.h:2695:33: note: in expansion of macro '_IOWR'
    2695 | #define VIDIOC_S_EXT_CTRLS      _IOWR('V', 72, struct v4l2_ext_controls)
         |                                 ^~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2876:20: note: in expansion of macro 'VIDIOC_S_EXT_CTRLS'
    2876 |         IOCTL_INFO(VIDIOC_S_EXT_CTRLS, v4l_s_ext_ctrls, v4l_print_ext_controls, INFO_FL_PRIO | INFO_FL_CTRL),
         |                    ^~~~~~~~~~~~~~~~~~
>> arch/sparc/include/uapi/asm/ioctl.h:56:29: error: array index in initializer not of integer type
      56 | #define _IOC_NR(nr)         (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)
         |                             ^
   drivers/media/v4l2-core/v4l2-ioctl.c:2783:10: note: in expansion of macro '_IOC_NR'
    2783 |         [_IOC_NR(_ioctl)] = {                                   \
         |          ^~~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2876:9: note: in expansion of macro 'IOCTL_INFO'
    2876 |         IOCTL_INFO(VIDIOC_S_EXT_CTRLS, v4l_s_ext_ctrls, v4l_print_ext_controls, INFO_FL_PRIO | INFO_FL_CTRL),
         |         ^~~~~~~~~~
   arch/sparc/include/uapi/asm/ioctl.h:56:29: note: (near initialization for 'v4l2_ioctls')
      56 | #define _IOC_NR(nr)         (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)
         |                             ^
   drivers/media/v4l2-core/v4l2-ioctl.c:2783:10: note: in expansion of macro '_IOC_NR'
    2783 |         [_IOC_NR(_ioctl)] = {                                   \
         |          ^~~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2876:9: note: in expansion of macro 'IOCTL_INFO'
    2876 |         IOCTL_INFO(VIDIOC_S_EXT_CTRLS, v4l_s_ext_ctrls, v4l_print_ext_controls, INFO_FL_PRIO | INFO_FL_CTRL),
         |         ^~~~~~~~~~
   include/uapi/linux/videodev2.h:2695:48: error: invalid application of 'sizeof' to incomplete type 'struct v4l2_ext_controls'
    2695 | #define VIDIOC_S_EXT_CTRLS      _IOWR('V', 72, struct v4l2_ext_controls)
         |                                                ^~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2784:26: note: in definition of macro 'IOCTL_INFO'
    2784 |                 .ioctl = _ioctl,                                \
         |                          ^~~~~~
   arch/sparc/include/uapi/asm/ioctl.h:48:29: note: in expansion of macro '_IOC'
      48 | #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
         |                             ^~~~
   include/uapi/linux/videodev2.h:2695:33: note: in expansion of macro '_IOWR'
    2695 | #define VIDIOC_S_EXT_CTRLS      _IOWR('V', 72, struct v4l2_ext_controls)
         |                                 ^~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2876:20: note: in expansion of macro 'VIDIOC_S_EXT_CTRLS'
    2876 |         IOCTL_INFO(VIDIOC_S_EXT_CTRLS, v4l_s_ext_ctrls, v4l_print_ext_controls, INFO_FL_PRIO | INFO_FL_CTRL),
         |                    ^~~~~~~~~~~~~~~~~~
   include/uapi/linux/videodev2.h:2696:48: error: invalid application of 'sizeof' to incomplete type 'struct v4l2_ext_controls'
    2696 | #define VIDIOC_TRY_EXT_CTRLS    _IOWR('V', 73, struct v4l2_ext_controls)
         |                                                ^~~~~~
   arch/sparc/include/uapi/asm/ioctl.h:56:32: note: in definition of macro '_IOC_NR'
      56 | #define _IOC_NR(nr)         (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)
         |                                ^~
   drivers/media/v4l2-core/v4l2-ioctl.c:2877:9: note: in expansion of macro 'IOCTL_INFO'
    2877 |         IOCTL_INFO(VIDIOC_TRY_EXT_CTRLS, v4l_try_ext_ctrls, v4l_print_ext_controls, INFO_FL_CTRL),
         |         ^~~~~~~~~~
   arch/sparc/include/uapi/asm/ioctl.h:48:29: note: in expansion of macro '_IOC'
      48 | #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
         |                             ^~~~
   include/uapi/linux/videodev2.h:2696:33: note: in expansion of macro '_IOWR'
    2696 | #define VIDIOC_TRY_EXT_CTRLS    _IOWR('V', 73, struct v4l2_ext_controls)
         |                                 ^~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2877:20: note: in expansion of macro 'VIDIOC_TRY_EXT_CTRLS'
    2877 |         IOCTL_INFO(VIDIOC_TRY_EXT_CTRLS, v4l_try_ext_ctrls, v4l_print_ext_controls, INFO_FL_CTRL),
         |                    ^~~~~~~~~~~~~~~~~~~~
>> arch/sparc/include/uapi/asm/ioctl.h:56:29: error: array index in initializer not of integer type
      56 | #define _IOC_NR(nr)         (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)
         |                             ^
   drivers/media/v4l2-core/v4l2-ioctl.c:2783:10: note: in expansion of macro '_IOC_NR'
    2783 |         [_IOC_NR(_ioctl)] = {                                   \
         |          ^~~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2877:9: note: in expansion of macro 'IOCTL_INFO'
    2877 |         IOCTL_INFO(VIDIOC_TRY_EXT_CTRLS, v4l_try_ext_ctrls, v4l_print_ext_controls, INFO_FL_CTRL),
         |         ^~~~~~~~~~
   arch/sparc/include/uapi/asm/ioctl.h:56:29: note: (near initialization for 'v4l2_ioctls')
      56 | #define _IOC_NR(nr)         (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)
         |                             ^
   drivers/media/v4l2-core/v4l2-ioctl.c:2783:10: note: in expansion of macro '_IOC_NR'
    2783 |         [_IOC_NR(_ioctl)] = {                                   \
         |          ^~~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2877:9: note: in expansion of macro 'IOCTL_INFO'
    2877 |         IOCTL_INFO(VIDIOC_TRY_EXT_CTRLS, v4l_try_ext_ctrls, v4l_print_ext_controls, INFO_FL_CTRL),
         |         ^~~~~~~~~~
   include/uapi/linux/videodev2.h:2696:48: error: invalid application of 'sizeof' to incomplete type 'struct v4l2_ext_controls'
    2696 | #define VIDIOC_TRY_EXT_CTRLS    _IOWR('V', 73, struct v4l2_ext_controls)
         |                                                ^~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2784:26: note: in definition of macro 'IOCTL_INFO'
    2784 |                 .ioctl = _ioctl,                                \
         |                          ^~~~~~
   arch/sparc/include/uapi/asm/ioctl.h:48:29: note: in expansion of macro '_IOC'
      48 | #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
         |                             ^~~~
   include/uapi/linux/videodev2.h:2696:33: note: in expansion of macro '_IOWR'
    2696 | #define VIDIOC_TRY_EXT_CTRLS    _IOWR('V', 73, struct v4l2_ext_controls)
         |                                 ^~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:2877:20: note: in expansion of macro 'VIDIOC_TRY_EXT_CTRLS'
    2877 |         IOCTL_INFO(VIDIOC_TRY_EXT_CTRLS, v4l_try_ext_ctrls, v4l_print_ext_controls, INFO_FL_CTRL),
         |                    ^~~~~~~~~~~~~~~~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c: In function 'check_array_args':
   include/uapi/linux/videodev2.h:2695:48: error: invalid application of 'sizeof' to incomplete type 'struct v4l2_ext_controls'
    2695 | #define VIDIOC_S_EXT_CTRLS      _IOWR('V', 72, struct v4l2_ext_controls)
         |                                                ^~~~~~
   arch/sparc/include/uapi/asm/ioctl.h:43:12: note: in definition of macro '_IOC'
      43 |          ((size) << _IOC_SIZESHIFT))
         |            ^~~~
   include/uapi/linux/videodev2.h:2695:33: note: in expansion of macro '_IOWR'
    2695 | #define VIDIOC_S_EXT_CTRLS      _IOWR('V', 72, struct v4l2_ext_controls)
         |                                 ^~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:3115:14: note: in expansion of macro 'VIDIOC_S_EXT_CTRLS'
    3115 |         case VIDIOC_S_EXT_CTRLS:
         |              ^~~~~~~~~~~~~~~~~~
   include/uapi/linux/videodev2.h:2694:48: error: invalid application of 'sizeof' to incomplete type 'struct v4l2_ext_controls'
    2694 | #define VIDIOC_G_EXT_CTRLS      _IOWR('V', 71, struct v4l2_ext_controls)
         |                                                ^~~~~~
   arch/sparc/include/uapi/asm/ioctl.h:43:12: note: in definition of macro '_IOC'
      43 |          ((size) << _IOC_SIZESHIFT))
         |            ^~~~
   include/uapi/linux/videodev2.h:2694:33: note: in expansion of macro '_IOWR'
    2694 | #define VIDIOC_G_EXT_CTRLS      _IOWR('V', 71, struct v4l2_ext_controls)
         |                                 ^~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:3116:14: note: in expansion of macro 'VIDIOC_G_EXT_CTRLS'
    3116 |         case VIDIOC_G_EXT_CTRLS:
         |              ^~~~~~~~~~~~~~~~~~
   include/uapi/linux/videodev2.h:2696:48: error: invalid application of 'sizeof' to incomplete type 'struct v4l2_ext_controls'
    2696 | #define VIDIOC_TRY_EXT_CTRLS    _IOWR('V', 73, struct v4l2_ext_controls)
         |                                                ^~~~~~
   arch/sparc/include/uapi/asm/ioctl.h:43:12: note: in definition of macro '_IOC'
      43 |          ((size) << _IOC_SIZESHIFT))
         |            ^~~~
   include/uapi/linux/videodev2.h:2696:33: note: in expansion of macro '_IOWR'
    2696 | #define VIDIOC_TRY_EXT_CTRLS    _IOWR('V', 73, struct v4l2_ext_controls)
         |                                 ^~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:3117:14: note: in expansion of macro 'VIDIOC_TRY_EXT_CTRLS'
    3117 |         case VIDIOC_TRY_EXT_CTRLS: {
         |              ^~~~~~~~~~~~~~~~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:3120:26: error: invalid use of undefined type 'struct v4l2_ext_controls'
    3120 |                 if (ctrls->count != 0) {
         |                          ^~
   drivers/media/v4l2-core/v4l2-ioctl.c:3121:34: error: invalid use of undefined type 'struct v4l2_ext_controls'
    3121 |                         if (ctrls->count > V4L2_CID_MAX_CTRLS) {
         |                                  ^~
   drivers/media/v4l2-core/v4l2-ioctl.c:3121:44: error: 'V4L2_CID_MAX_CTRLS' undeclared (first use in this function); did you mean 'V4L2_CID_FM_TX_CLASS'?
    3121 |                         if (ctrls->count > V4L2_CID_MAX_CTRLS) {
         |                                            ^~~~~~~~~~~~~~~~~~
         |                                            V4L2_CID_FM_TX_CLASS
   drivers/media/v4l2-core/v4l2-ioctl.c:3125:57: error: invalid use of undefined type 'struct v4l2_ext_controls'
    3125 |                         *user_ptr = (void __user *)ctrls->controls;
         |                                                         ^~
   drivers/media/v4l2-core/v4l2-ioctl.c:3126:54: error: invalid use of undefined type 'struct v4l2_ext_controls'
    3126 |                         *kernel_ptr = (void **)&ctrls->controls;
         |                                                      ^~
   drivers/media/v4l2-core/v4l2-ioctl.c:3128:44: error: invalid use of undefined type 'struct v4l2_ext_controls'
    3128 |                                     * ctrls->count;
         |                                            ^~
   cc1: some warnings being treated as errors


vim +56 arch/sparc/include/uapi/asm/ioctl.h

^1da177e4c3f41 include/asm-sparc/ioctl.h Linus Torvalds 2005-04-16  49  
^1da177e4c3f41 include/asm-sparc/ioctl.h Linus Torvalds 2005-04-16  50  /* Used to decode ioctl numbers in drivers despite the leading underscore... */
^1da177e4c3f41 include/asm-sparc/ioctl.h Linus Torvalds 2005-04-16  51  #define _IOC_DIR(nr)    \
^1da177e4c3f41 include/asm-sparc/ioctl.h Linus Torvalds 2005-04-16  52   ( (((((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) & (_IOC_WRITE|_IOC_READ)) != 0)?   \
^1da177e4c3f41 include/asm-sparc/ioctl.h Linus Torvalds 2005-04-16  53                              (((nr) >> _IOC_DIRSHIFT) & (_IOC_WRITE|_IOC_READ)):  \
^1da177e4c3f41 include/asm-sparc/ioctl.h Linus Torvalds 2005-04-16  54                              (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) )
^1da177e4c3f41 include/asm-sparc/ioctl.h Linus Torvalds 2005-04-16  55  #define _IOC_TYPE(nr)       (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK)
^1da177e4c3f41 include/asm-sparc/ioctl.h Linus Torvalds 2005-04-16 @56  #define _IOC_NR(nr)         (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)
^1da177e4c3f41 include/asm-sparc/ioctl.h Linus Torvalds 2005-04-16  57  #define _IOC_SIZE(nr)   \
^1da177e4c3f41 include/asm-sparc/ioctl.h Linus Torvalds 2005-04-16  58   ((((((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) & (_IOC_WRITE|_IOC_READ)) == 0)?    \
^1da177e4c3f41 include/asm-sparc/ioctl.h Linus Torvalds 2005-04-16  59                           0: (((nr) >> _IOC_SIZESHIFT) & _IOC_XSIZEMASK))
^1da177e4c3f41 include/asm-sparc/ioctl.h Linus Torvalds 2005-04-16  60  

:::::: The code at line 56 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@...970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@...970.osdl.org>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (117120 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ