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: <201608231227.zQFPDMBz%fengguang.wu@intel.com>
Date:   Tue, 23 Aug 2016 12:23:05 +0800
From:   kbuild test robot <lkp@...el.com>
To:     John Stultz <john.stultz@...aro.org>
Cc:     kbuild-all@...org, lkml <linux-kernel@...r.kernel.org>,
        John Stultz <john.stultz@...aro.org>,
        Zhangfei Gao <zhangfei.gao@...aro.org>,
        Krzysztof Kozlowski <k.kozlowski@...sung.com>,
        Maxime Ripard <maxime.ripard@...e-electrons.com>,
        Vinod Koul <vinod.koul@...el.com>,
        Dan Williams <dan.j.williams@...el.com>,
        Mark Brown <broonie@...nel.org>, Andy Green <andy@...mcat.com>
Subject: Re: [RESEND][PATCH 1/7 v4] Kconfig: Allow k3dma driver to be
 selected for more then HISI3xx platforms

Hi John,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.8-rc3 next-20160822]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:    https://github.com/0day-ci/linux/commits/John-Stultz/K3DMA-fixes-for-HiKey-HDMI-audio/20160823-070749
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

Note: the linux-review/John-Stultz/K3DMA-fixes-for-HiKey-HDMI-audio/20160823-070749 HEAD 1f1a623a69af65b192d7f6e2949d4a2dcf75d137 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   drivers/dma/k3dma.c: In function 'k3_dma_prep_memcpy':
>> drivers/dma/k3dma.c:432:20: error: implicit declaration of function '__virt_to_phys' [-Werror=implicit-function-declaration]
     ds->desc_hw_lli = __virt_to_phys((unsigned long)&ds->desc_hw[0]);
                       ^~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/__virt_to_phys +432 drivers/dma/k3dma.c

8e6152bc Zhangfei Gao  2013-08-27  416  	struct dma_chan *chan,	dma_addr_t dst, dma_addr_t src,
8e6152bc Zhangfei Gao  2013-08-27  417  	size_t len, unsigned long flags)
8e6152bc Zhangfei Gao  2013-08-27  418  {
8e6152bc Zhangfei Gao  2013-08-27  419  	struct k3_dma_chan *c = to_k3_chan(chan);
8e6152bc Zhangfei Gao  2013-08-27  420  	struct k3_dma_desc_sw *ds;
8e6152bc Zhangfei Gao  2013-08-27  421  	size_t copy = 0;
8e6152bc Zhangfei Gao  2013-08-27  422  	int num = 0;
8e6152bc Zhangfei Gao  2013-08-27  423  
8e6152bc Zhangfei Gao  2013-08-27  424  	if (!len)
8e6152bc Zhangfei Gao  2013-08-27  425  		return NULL;
8e6152bc Zhangfei Gao  2013-08-27  426  
8e6152bc Zhangfei Gao  2013-08-27  427  	num = DIV_ROUND_UP(len, DMA_MAX_SIZE);
8e6152bc Zhangfei Gao  2013-08-27  428  	ds = kzalloc(sizeof(*ds) + num * sizeof(ds->desc_hw[0]), GFP_ATOMIC);
aef94fea Peter Griffin 2016-06-07  429  	if (!ds)
8e6152bc Zhangfei Gao  2013-08-27  430  		return NULL;
aef94fea Peter Griffin 2016-06-07  431  
8e6152bc Zhangfei Gao  2013-08-27 @432  	ds->desc_hw_lli = __virt_to_phys((unsigned long)&ds->desc_hw[0]);
8e6152bc Zhangfei Gao  2013-08-27  433  	ds->size = len;
8e6152bc Zhangfei Gao  2013-08-27  434  	ds->desc_num = num;
8e6152bc Zhangfei Gao  2013-08-27  435  	num = 0;
8e6152bc Zhangfei Gao  2013-08-27  436  
8e6152bc Zhangfei Gao  2013-08-27  437  	if (!c->ccfg) {
db08425e Maxime Ripard 2014-11-17  438  		/* default is memtomem, without calling device_config */
8e6152bc Zhangfei Gao  2013-08-27  439  		c->ccfg = CX_CFG_SRCINCR | CX_CFG_DSTINCR | CX_CFG_EN;
8e6152bc Zhangfei Gao  2013-08-27  440  		c->ccfg |= (0xf << 20) | (0xf << 24);	/* burst = 16 */

:::::: The code at line 432 was first introduced by commit
:::::: 8e6152bc660e69f526c6bf163ff0ebfdab90f6cf dmaengine: Add hisilicon k3 DMA engine driver

:::::: TO: Zhangfei Gao <zhangfei.gao@...aro.org>
:::::: CC: Vinod Koul <vinod.koul@...el.com>

---
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/octet-stream" (55882 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ