Re: [renesas-drivers:topic/sdhi-gen3-dma-2017-v2-rebased1 3/4] drivers/mmc//host/renesas_sdhi_internal_dmac.c:96:2: error: implicit declaration of function 'writeq'
On Wed, Jun 28, 2017 at 09:08:39PM +0200, Geert Uytterhoeven wrote: > Hi Simon, > > On Wed, Jun 28, 2017 at 9:04 PM, Simon Hormanwrote: > > On Wed, Jun 28, 2017 at 11:37:02AM +0800, kbuild test robot wrote: > >> tree: > >> https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git > >> topic/sdhi-gen3-dma-2017-v2-rebased1 > >> head: bcf4bf9f75e02e84971693bce04e5c3775b0f97e > >> commit: 6e76773921ebc2c58d7878a8cb3cb26e57f5ed06 [3/4] mmc: renesas-sdhi: > >> add support for R-Car Gen3 SDHI DMAC > >> 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 > >> git checkout 6e76773921ebc2c58d7878a8cb3cb26e57f5ed06 > >> # save the attached .config to linux build tree > >> make.cross ARCH=arm > >> > >> All errors (new ones prefixed by >>): > > > > This should be resolved in topic/sdhi-gen3-dma-2017-v3 > > IC. I guess I should use that branch (or a newer one) for next > renesas-drivers? Yes, I guess so. v3 should be the latest. Let me know if you'd like me to rebase it.
Re: [renesas-drivers:topic/sdhi-gen3-dma-2017-v2-rebased1 3/4] drivers/mmc//host/renesas_sdhi_internal_dmac.c:96:2: error: implicit declaration of function 'writeq'
Hi Simon, On Wed, Jun 28, 2017 at 9:04 PM, Simon Hormanwrote: > On Wed, Jun 28, 2017 at 11:37:02AM +0800, kbuild test robot wrote: >> tree: >> https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git >> topic/sdhi-gen3-dma-2017-v2-rebased1 >> head: bcf4bf9f75e02e84971693bce04e5c3775b0f97e >> commit: 6e76773921ebc2c58d7878a8cb3cb26e57f5ed06 [3/4] mmc: renesas-sdhi: >> add support for R-Car Gen3 SDHI DMAC >> 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 >> git checkout 6e76773921ebc2c58d7878a8cb3cb26e57f5ed06 >> # save the attached .config to linux build tree >> make.cross ARCH=arm >> >> All errors (new ones prefixed by >>): > > This should be resolved in topic/sdhi-gen3-dma-2017-v3 IC. I guess I should use that branch (or a newer one) for next renesas-drivers? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
Re: [renesas-drivers:topic/sdhi-gen3-dma-2017-v2-rebased1 3/4] drivers/mmc//host/renesas_sdhi_internal_dmac.c:96:2: error: implicit declaration of function 'writeq'
On Wed, Jun 28, 2017 at 11:37:02AM +0800, kbuild test robot wrote: > tree: > https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git > topic/sdhi-gen3-dma-2017-v2-rebased1 > head: bcf4bf9f75e02e84971693bce04e5c3775b0f97e > commit: 6e76773921ebc2c58d7878a8cb3cb26e57f5ed06 [3/4] mmc: renesas-sdhi: add > support for R-Car Gen3 SDHI DMAC > 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 > git checkout 6e76773921ebc2c58d7878a8cb3cb26e57f5ed06 > # save the attached .config to linux build tree > make.cross ARCH=arm > > All errors (new ones prefixed by >>): This should be resolved in topic/sdhi-gen3-dma-2017-v3 >drivers/mmc//host/renesas_sdhi_internal_dmac.c: In function > 'renesas_sdhi_internal_dmac_dm_write': > >> drivers/mmc//host/renesas_sdhi_internal_dmac.c:96:2: error: implicit > >> declaration of function 'writeq' [-Werror=implicit-function-declaration] > writeq(val, host->ctl + addr); > ^~ >cc1: some warnings being treated as errors > > vim +/writeq +96 drivers/mmc//host/renesas_sdhi_internal_dmac.c > > 80/* Gen3 SDHI DMAC can handle 0x blk count, but > seg = 1 */ > 81.max_blk_count = 0x, > 82.max_segs = 1, > 83}; > 84 > 85static const struct of_device_id > renesas_sdhi_internal_dmac_of_match[] = { > 86{ .compatible = "renesas,sdhi-r8a7795", .data = > _rcar_gen3_compatible, }, > 87{ .compatible = "renesas,sdhi-r8a7796", .data = > _rcar_gen3_compatible, }, > 88{}, > 89}; > 90MODULE_DEVICE_TABLE(of, renesas_sdhi_internal_dmac_of_match); > 91 > 92static void > 93renesas_sdhi_internal_dmac_dm_write(struct tmio_mmc_host *host, > 94int addr, u64 val) > 95{ > > 96writeq(val, host->ctl + addr); > 97} > 98 > 99static void >100renesas_sdhi_internal_dmac_enable_dma(struct tmio_mmc_host > *host, bool enable) >101{ >102if (!host->chan_tx || !host->chan_rx) >103return; >104 > > --- > 0-DAY kernel test infrastructureOpen Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation
[renesas-drivers:topic/sdhi-gen3-dma-2017-v2-rebased1 3/4] drivers/mmc//host/renesas_sdhi_internal_dmac.c:96:2: error: implicit declaration of function 'writeq'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/sdhi-gen3-dma-2017-v2-rebased1 head: bcf4bf9f75e02e84971693bce04e5c3775b0f97e commit: 6e76773921ebc2c58d7878a8cb3cb26e57f5ed06 [3/4] mmc: renesas-sdhi: add support for R-Car Gen3 SDHI DMAC 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 git checkout 6e76773921ebc2c58d7878a8cb3cb26e57f5ed06 # save the attached .config to linux build tree make.cross ARCH=arm All errors (new ones prefixed by >>): drivers/mmc//host/renesas_sdhi_internal_dmac.c: In function 'renesas_sdhi_internal_dmac_dm_write': >> drivers/mmc//host/renesas_sdhi_internal_dmac.c:96:2: error: implicit >> declaration of function 'writeq' [-Werror=implicit-function-declaration] writeq(val, host->ctl + addr); ^~ cc1: some warnings being treated as errors vim +/writeq +96 drivers/mmc//host/renesas_sdhi_internal_dmac.c 80 /* Gen3 SDHI DMAC can handle 0x blk count, but seg = 1 */ 81 .max_blk_count = 0x, 82 .max_segs = 1, 83 }; 84 85 static const struct of_device_id renesas_sdhi_internal_dmac_of_match[] = { 86 { .compatible = "renesas,sdhi-r8a7795", .data = _rcar_gen3_compatible, }, 87 { .compatible = "renesas,sdhi-r8a7796", .data = _rcar_gen3_compatible, }, 88 {}, 89 }; 90 MODULE_DEVICE_TABLE(of, renesas_sdhi_internal_dmac_of_match); 91 92 static void 93 renesas_sdhi_internal_dmac_dm_write(struct tmio_mmc_host *host, 94 int addr, u64 val) 95 { > 96 writeq(val, host->ctl + addr); 97 } 98 99 static void 100 renesas_sdhi_internal_dmac_enable_dma(struct tmio_mmc_host *host, bool enable) 101 { 102 if (!host->chan_tx || !host->chan_rx) 103 return; 104 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip