lkml.org 
[lkml]   [2016]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 7/7] Kconfig: Allow k3dma driver to be selected for more then HISI3xx platforms
Hi,

[auto build test WARNING on stable/master]
[also build test WARNING on v4.7-rc7]
[cannot apply to next-20160721]
[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/John-Stultz/K3DMA-fixes-for-HiKey-HDMI-audio/20160722-042725
base: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git master
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sparc64

All warnings (new ones prefixed by >>):

In file included from include/linux/printk.h:289:0,
from include/linux/kernel.h:13,
from include/linux/sched.h:17,
from drivers/dma/k3dma.c:9:
drivers/dma/k3dma.c: In function 'k3_dma_prep_dma_cyclic':
>> drivers/dma/k3dma.c:589:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
__func__, (void *)buf_addr, (void *)to_k3_chan(chan)->dev_addr,
^
include/linux/dynamic_debug.h:87:9: note: in definition of macro 'dynamic_dev_dbg'
##__VA_ARGS__); \
^
>> drivers/dma/k3dma.c:588:2: note: in expansion of macro 'dev_dbg'
dev_dbg(chan->device->dev, "%s: buf %p, dst %p, buf len %d, period_len = %d, dir %d\n",
^
drivers/dma/k3dma.c:589:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
__func__, (void *)buf_addr, (void *)to_k3_chan(chan)->dev_addr,
^
include/linux/dynamic_debug.h:87:9: note: in definition of macro 'dynamic_dev_dbg'
##__VA_ARGS__); \
^
>> drivers/dma/k3dma.c:588:2: note: in expansion of macro 'dev_dbg'
dev_dbg(chan->device->dev, "%s: buf %p, dst %p, buf len %d, period_len = %d, dir %d\n",
^

vim +589 drivers/dma/k3dma.c

286eb549 Andy Green 2016-07-20 582 size_t len, avail, total = 0;
286eb549 Andy Green 2016-07-20 583 dma_addr_t addr, src = 0, dst = 0;
286eb549 Andy Green 2016-07-20 584 int num = 1, since = 0;
286eb549 Andy Green 2016-07-20 585 size_t modulo = DMA_CYCLIC_MAX_PERIOD;
286eb549 Andy Green 2016-07-20 586 u32 en_tc2 = 0;
286eb549 Andy Green 2016-07-20 587
286eb549 Andy Green 2016-07-20 @588 dev_dbg(chan->device->dev, "%s: buf %p, dst %p, buf len %d, period_len = %d, dir %d\n",
286eb549 Andy Green 2016-07-20 @589 __func__, (void *)buf_addr, (void *)to_k3_chan(chan)->dev_addr,
286eb549 Andy Green 2016-07-20 590 (int)buf_len, (int)period_len, (int)dir);
286eb549 Andy Green 2016-07-20 591
286eb549 Andy Green 2016-07-20 592 avail = buf_len;

:::::: The code at line 589 was first introduced by commit
:::::: 286eb549d997ae9e214f367d2a1269c9f42ab515 k3dma: Add cyclic mode for audio

:::::: TO: Andy Green <andy.green@linaro.org>
:::::: CC: 0day robot <fengguang.wu@intel.com>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2016-07-22 09:41    [W:0.655 / U:0.560 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site