lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201802032244.xa6YmxOG%fengguang.wu@intel.com>
Date:   Sat, 3 Feb 2018 22:21:35 +0800
From:   kbuild test robot <lkp@...el.com>
To:     sean.wang@...iatek.com
Cc:     kbuild-all@...org, vinod.koul@...el.com, dan.j.williams@...el.com,
        robh+dt@...nel.org, mark.rutland@....com,
        dmaengine@...r.kernel.org, devicetree@...r.kernel.org,
        linux-mediatek@...ts.infradead.org,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
        Sean Wang <sean.wang@...iatek.com>
Subject: Re: [PATCH v3 2/3] dmaengine: mediatek: Add MediaTek High-Speed DMA
 controller for MT7622 and MT7623 SoC

Hi Sean,

I love your patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v4.15 next-20180202]
[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/sean-wang-mediatek-com/dt-bindings-dmaengine-Add-MediaTek-High-Speed-DMA-controller-bindings/20180203-203814
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gnu-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
        # save the attached .config to linux build tree
        make.cross ARCH=sh 

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

   In file included from drivers/dma/mediatek/mtk-hsdma.c:19:0:
>> drivers/dma/mediatek/mtk-hsdma.c:880:25: error: 'mtk_dma_match' undeclared here (not in a function); did you mean 'mtk_hsdma_match'?
    MODULE_DEVICE_TABLE(of, mtk_dma_match);
                            ^
   include/linux/module.h:213:15: note: in definition of macro 'MODULE_DEVICE_TABLE'
    extern typeof(name) __mod_##type##__##name##_device_table  \
                  ^~~~
>> include/linux/module.h:213:21: error: '__mod_of__mtk_dma_match_device_table' aliased to undefined symbol 'mtk_dma_match'
    extern typeof(name) __mod_##type##__##name##_device_table  \
                        ^
>> drivers/dma/mediatek/mtk-hsdma.c:880:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
    MODULE_DEVICE_TABLE(of, mtk_dma_match);
    ^~~~~~~~~~~~~~~~~~~
--
   In file included from drivers/dma//mediatek/mtk-hsdma.c:19:0:
   drivers/dma//mediatek/mtk-hsdma.c:880:25: error: 'mtk_dma_match' undeclared here (not in a function); did you mean 'mtk_hsdma_match'?
    MODULE_DEVICE_TABLE(of, mtk_dma_match);
                            ^
   include/linux/module.h:213:15: note: in definition of macro 'MODULE_DEVICE_TABLE'
    extern typeof(name) __mod_##type##__##name##_device_table  \
                  ^~~~
>> include/linux/module.h:213:21: error: '__mod_of__mtk_dma_match_device_table' aliased to undefined symbol 'mtk_dma_match'
    extern typeof(name) __mod_##type##__##name##_device_table  \
                        ^
   drivers/dma//mediatek/mtk-hsdma.c:880:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
    MODULE_DEVICE_TABLE(of, mtk_dma_match);
    ^~~~~~~~~~~~~~~~~~~

vim +880 drivers/dma/mediatek/mtk-hsdma.c

   874	
   875	static const struct of_device_id mtk_hsdma_match[] = {
   876		{ .compatible = "mediatek,mt7623-hsdma", .data = &mt7623_soc},
   877		{ .compatible = "mediatek,mt7622-hsdma", .data = &mt7622_soc},
   878		{ /* sentinel */ }
   879	};
 > 880	MODULE_DEVICE_TABLE(of, mtk_dma_match);
   881	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (47952 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ