tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-next head: 38081c71859efee77c7f3fec07bc4748acb248dc commit: 49637a458b61629672a8ae19fdae2058c64815cf [393/425] staging: media: atomisp: remove '.' from pci Makefile config: x86_64-randconfig-x011-03122325 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout 49637a458b61629672a8ae19fdae2058c64815cf # save the attached .config to linux build tree make ARCH=x86_64
All errors (new ones prefixed by >>):
drivers/staging/media/atomisp/pci/atomisp2/atomisp_fops.c: In function
'atomisp_release':
>> drivers/staging/media/atomisp/pci/atomisp2/atomisp_fops.c:969:43: error:
>> 'struct v4l2_subdev_fh' has no member named 'pad'
atomisp_subdev_set_ffmt(&asd->subdev, fh.pad,
^
drivers/staging/media/atomisp/pci/atomisp2/atomisp_fops.c:980:43: error:
'struct v4l2_subdev_fh' has no member named 'pad'
atomisp_subdev_set_ffmt(&asd->subdev, fh.pad,
^
drivers/staging/media/atomisp/pci/atomisp2/atomisp_fops.c:1021:48: error:
'struct v4l2_subdev_fh' has no member named 'pad'
atomisp_subdev_set_selection(&asd->subdev, fh.pad,
^
--
drivers/staging/media/atomisp/pci/atomisp2/atomisp_subdev.c: In function
'atomisp_subdev_get_rect':
>> drivers/staging/media/atomisp/pci/atomisp2/atomisp_subdev.c:257:11: error:
>> implicit declaration of function 'v4l2_subdev_get_try_crop'
>> [-Werror=implicit-function-declaration]
return v4l2_subdev_get_try_crop(sd, cfg, pad);
^~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/atomisp2/atomisp_subdev.c:257:11: error:
>> return makes pointer from integer without a cast [-Werror=int-conversion]
return v4l2_subdev_get_try_crop(sd, cfg, pad);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/atomisp2/atomisp_subdev.c:259:11: error:
>> implicit declaration of function 'v4l2_subdev_get_try_compose'
>> [-Werror=implicit-function-declaration]
return v4l2_subdev_get_try_compose(sd, cfg, pad);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/atomisp2/atomisp_subdev.c:259:11: error:
return makes pointer from integer without a cast [-Werror=int-conversion]
return v4l2_subdev_get_try_compose(sd, cfg, pad);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/atomisp2/atomisp_subdev.c: In function
'atomisp_subdev_get_ffmt':
>> drivers/staging/media/atomisp/pci/atomisp2/atomisp_subdev.c:281:10: error:
>> implicit declaration of function 'v4l2_subdev_get_try_format'
>> [-Werror=implicit-function-declaration]
return v4l2_subdev_get_try_format(sd, cfg, pad);
^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/atomisp2/atomisp_subdev.c:281:10: error:
return makes pointer from integer without a cast [-Werror=int-conversion]
return v4l2_subdev_get_try_format(sd, cfg, pad);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
--
drivers/staging/media/atomisp/pci/atomisp2/atomisp_csi2.c: In function
'__csi2_get_format':
>> drivers/staging/media/atomisp/pci/atomisp2/atomisp_csi2.c:38:10: error:
>> implicit declaration of function 'v4l2_subdev_get_try_format'
>> [-Werror=implicit-function-declaration]
return v4l2_subdev_get_try_format(&csi2->subdev, cfg, pad);
^~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/media/atomisp/pci/atomisp2/atomisp_csi2.c:38:10: error:
>> return makes pointer from integer without a cast [-Werror=int-conversion]
return v4l2_subdev_get_try_format(&csi2->subdev, cfg, pad);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
--
drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c: In function
'atomisp_set_fmt_to_isp':
>> drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c:5406:48: error:
>> 'struct v4l2_subdev_fh' has no member named 'pad'
atomisp_subdev_set_selection(&asd->subdev, fh.pad,
^
drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c:5410:43: error:
'struct v4l2_subdev_fh' has no member named 'pad'
atomisp_subdev_set_ffmt(&asd->subdev, fh.pad,
^
drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c: In function
'atomisp_set_fmt_to_snr':
drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c:5738:42: error:
'struct v4l2_subdev_fh' has no member named 'pad'
atomisp_subdev_set_ffmt(&asd->subdev, fh.pad,
^
drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c: In function
'atomisp_set_fmt':
drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c:5817:21: error:
'struct v4l2_subdev_fh' has no member named 'pad'
&asd->subdev, fh.pad,
^
drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c:5944:42: error:
'struct v4l2_subdev_fh' has no member named 'pad'
atomisp_subdev_set_ffmt(&asd->subdev, fh.pad,
^
drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c:6060:48: error:
'struct v4l2_subdev_fh' has no member named 'pad'
atomisp_subdev_set_selection(&asd->subdev, fh.pad,
^
drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c:6066:48: error:
'struct v4l2_subdev_fh' has no member named 'pad'
atomisp_subdev_set_selection(&asd->subdev, fh.pad,
^
drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c:6085:48: error:
'struct v4l2_subdev_fh' has no member named 'pad'
atomisp_subdev_set_selection(&asd->subdev, fh.pad,
^
drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c:6124:49: error:
'struct v4l2_subdev_fh' has no member named 'pad'
atomisp_subdev_set_selection(&asd->subdev, fh.pad,
^
drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c:6131:48: error:
'struct v4l2_subdev_fh' has no member named 'pad'
atomisp_subdev_set_selection(&asd->subdev, fh.pad,
^
drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c: In function
'atomisp_set_fmt_file':
drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c:6218:42: error:
'struct v4l2_subdev_fh' has no member named 'pad'
atomisp_subdev_set_ffmt(&asd->subdev, fh.pad, V4L2_SUBDEV_FORMAT_ACTIVE,
^
vim +969 drivers/staging/media/atomisp/pci/atomisp2/atomisp_fops.c
a49d2536 Alan Cox 2017-02-17 953
a49d2536 Alan Cox 2017-02-17 954 if (pipe->outq.bufs[0]) {
a49d2536 Alan Cox 2017-02-17 955 mutex_lock(&pipe->outq.vb_lock);
a49d2536 Alan Cox 2017-02-17 956
videobuf_queue_cancel(&pipe->outq);
a49d2536 Alan Cox 2017-02-17 957
mutex_unlock(&pipe->outq.vb_lock);
a49d2536 Alan Cox 2017-02-17 958 }
a49d2536 Alan Cox 2017-02-17 959
a49d2536 Alan Cox 2017-02-17 960 /*
a49d2536 Alan Cox 2017-02-17 961 * A little trick here:
a49d2536 Alan Cox 2017-02-17 962 * file injection input resolution is
recorded in the sink pad,
a49d2536 Alan Cox 2017-02-17 963 * therefore can not be cleared when
releaseing one device node.
a49d2536 Alan Cox 2017-02-17 964 * The sink pad setting can only be
cleared when all device nodes
a49d2536 Alan Cox 2017-02-17 965 * get released.
a49d2536 Alan Cox 2017-02-17 966 */
a49d2536 Alan Cox 2017-02-17 967 if (!isp->sw_contex.file_input &&
asd->fmt_auto->val) {
a49d2536 Alan Cox 2017-02-17 968 struct v4l2_mbus_framefmt
isp_sink_fmt = { 0 };
a49d2536 Alan Cox 2017-02-17 @969
atomisp_subdev_set_ffmt(&asd->subdev, fh.pad,
a49d2536 Alan Cox 2017-02-17 970
V4L2_SUBDEV_FORMAT_ACTIVE,
a49d2536 Alan Cox 2017-02-17 971
ATOMISP_SUBDEV_PAD_SINK, &isp_sink_fmt);
a49d2536 Alan Cox 2017-02-17 972 }
a49d2536 Alan Cox 2017-02-17 973 subdev_uninit:
a49d2536 Alan Cox 2017-02-17 974 if (atomisp_subdev_users(asd))
a49d2536 Alan Cox 2017-02-17 975 goto done;
a49d2536 Alan Cox 2017-02-17 976
a49d2536 Alan Cox 2017-02-17 977 /* clear the sink pad for file input */
:::::: The code at line 969 was first introduced by commit
:::::: a49d25364dfb9f8a64037488a39ab1f56c5fa419 staging/atomisp: Add support
for the Intel IPU v2
:::::: TO: Alan Cox <[email protected]>
:::::: CC: Greg Kroah-Hartman <[email protected]>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip
_______________________________________________ devel mailing list [email protected] http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
