[ulf.hansson-mmc:next 35/43] drivers/mmc/host/mmci.c:965:1: error: expected ',' or ';' before 'void'

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

 



tree:   git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git next
head:   b97f38895d35f304e354fcc99a920c1f3332c758
commit: 066524f83ab8f23bcb115d3416ee7cff3845da01 [35/43] mmc: mmci: define get_dctrl_cfg for legacy variant
config: arm-vexpress_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 066524f83ab8f23bcb115d3416ee7cff3845da01
        # save the attached .config to linux build tree
        GCC_VERSION=7.2.0 make.cross ARCH=arm 

All error/warnings (new ones prefixed by >>):

>> drivers/mmc/host/mmci.c:965:1: error: expected ',' or ';' before 'void'
    void mmci_variant_init(struct mmci_host *host)
    ^~~~
>> drivers/mmc/host/mmci.c:49:13: warning: 'mmci_variant_init' used but never defined
    static void mmci_variant_init(struct mmci_host *host);
                ^~~~~~~~~~~~~~~~~

vim +965 drivers/mmc/host/mmci.c

c3647fdc Ludovic Barre 2018-10-08  964  
c3647fdc Ludovic Barre 2018-10-08 @965  void mmci_variant_init(struct mmci_host *host)
c3647fdc Ludovic Barre 2018-10-08  966  {
c3647fdc Ludovic Barre 2018-10-08  967  	host->ops = &mmci_variant_ops;
c3647fdc Ludovic Barre 2018-10-08  968  }
066524f8 Ludovic Barre 2019-03-27  969  

:::::: The code at line 965 was first introduced by commit
:::::: c3647fdc6a5a48699a1248a7f3d9a0429369e939 mmc: mmci: create common mmci_dma_setup/release

:::::: TO: Ludovic Barre <ludovic.barre@xxxxxx>
:::::: CC: Ulf Hansson <ulf.hansson@xxxxxxxxxx>

---
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 Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux