Re: [PATCH] media: i2c: wm9090: replace codec to component

From: Kuninori Morimoto
Date: Thu Mar 29 2018 - 01:33:58 EST


Hi

Thank you for this report.
I will post v2 patch, soon

kbuild test robot wrote:
>
> [1 <text/plain; us-ascii (7bit)>]
> Hi Kuninori,
>
> Thank you for the patch! Yet something to improve:
>
> [auto build test ERROR on linuxtv-media/master]
> [also build test ERROR on next-20180328]
> [cannot apply to v4.16-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/Kuninori-Morimoto/media-i2c-wm9090-replace-codec-to-component/20180329-082843
> base: git://linuxtv.org/media_tree.git master
> config: i386-allmodconfig (attached as .config)
> compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
> reproduce:
> # save the attached .config to linux build tree
> make ARCH=i386
>
> All errors (new ones prefixed by >>):
>
> >> drivers/media/i2c/tda1997x.c:2494:12: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
> .remove = tda1997x_codec_remove,
> ^~~~~~~~~~~~~~~~~~~~~
> drivers/media/i2c/tda1997x.c:2494:12: note: (near initialization for 'tda1997x_codec_driver.remove')
> cc1: some warnings being treated as errors
>
> vim +2494 drivers/media/i2c/tda1997x.c
>
> 9ac0038d Tim Harvey 2018-02-15 2491
> b534b135 Kuninori Morimoto 2018-03-28 2492 static struct snd_soc_component_driver tda1997x_codec_driver = {
> 9ac0038d Tim Harvey 2018-02-15 2493 .probe = tda1997x_codec_probe,
> 9ac0038d Tim Harvey 2018-02-15 @2494 .remove = tda1997x_codec_remove,
> b534b135 Kuninori Morimoto 2018-03-28 2495 .idle_bias_on = 1,
> b534b135 Kuninori Morimoto 2018-03-28 2496 .use_pmdown_time = 1,
> b534b135 Kuninori Morimoto 2018-03-28 2497 .endianness = 1,
> b534b135 Kuninori Morimoto 2018-03-28 2498 .non_legacy_dai_naming = 1,
> 9ac0038d Tim Harvey 2018-02-15 2499 };
> 9ac0038d Tim Harvey 2018-02-15 2500
>
> :::::: The code at line 2494 was first introduced by commit
> :::::: 9ac0038db9a7e10fc8f425010ec98b7afc2ff621 media: i2c: Add TDA1997x HDMI receiver driver
>
> :::::: TO: Tim Harvey <tharvey@xxxxxxxxxxxxx>
> :::::: CC: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxxxxx>
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all Intel Corporation
> [2 .config.gz <application/gzip (base64)>]
>