[PATCH] [media] staging/imx: remove confusing IS_ERR_OR_NULL usage
kbuild test robot
lkp at intel.com
Sun Jul 2 10:17:05 UTC 2017
Hi Arnd,
[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on next-20170630]
[cannot apply to v4.12-rc7]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Arnd-Bergmann/staging-imx-remove-confusing-IS_ERR_OR_NULL-usage/20170701-095942
base: git://linuxtv.org/media_tree.git master
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm
All errors (new ones prefixed by >>):
drivers/staging/media/imx/imx-media-csi.c: In function 'csi_idmac_get_ipu_resources':
>> drivers/staging/media/imx/imx-media-csi.c:149:11: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
idmac_ch = ipu_idmac_get(priv->ipu, ch_num);
^
drivers/staging/media/imx/imx-media-csi.c:156:17: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
priv->idmac_ch = idmac_ch;
^
cc1: some warnings being treated as errors
vim +149 drivers/staging/media/imx/imx-media-csi.c
143 v4l2_err(&priv->sd, "failed to get SMFC\n");
144 ret = PTR_ERR(smfc);
145 goto out;
146 }
147 priv->smfc = smfc;
148
> 149 idmac_ch = ipu_idmac_get(priv->ipu, ch_num);
150 if (IS_ERR(idmac_ch)) {
151 v4l2_err(&priv->sd, "could not get IDMAC channel %u\n",
152 ch_num);
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 62559 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20170702/612f12d6/attachment-0001.bin>
More information about the devel
mailing list