[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'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 0xffffffff blk count, but seg = 1 */
    81		.max_blk_count	= 0xffffffff,
    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 = &of_rcar_gen3_compatible, },
    87		{ .compatible = "renesas,sdhi-r8a7796", .data = &of_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 infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux