mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: John Stultz <john.stultz@linaro.org>
Cc: kbuild-all@01.org, lkml <linux-kernel@vger.kernel.org>,
	John Stultz <john.stultz@linaro.org>,
	Zhangfei Gao <zhangfei.gao@linaro.org>,
	Jingoo Han <jg1.han@samsung.com>,
	Krzysztof Kozlowski <k.kozlowski@samsung.com>,
	Maxime Ripard <maxime.ripard@free-electrons.com>,
	Vinod Koul <vinod.koul@intel.com>,
	Dan Williams <dan.j.williams@intel.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>,
	Takashi Iwai <tiwai@suse.com>, Wei Xu <xuwei5@hisilicon.com>,
	Rob Herring <robh+dt@kernel.org>, Andy Green <andy@warmcat.com>
Subject: Re: [PATCH 7/7] Kconfig: Allow k3dma driver to be selected for more then HISI3xx platforms
Date: Fri, 22 Jul 2016 14:56:43 +0800	[thread overview]
Message-ID: <201607221449.yda0UnAr%fengguang.wu@intel.com> (raw)
In-Reply-To: <1469073189-9167-8-git-send-email-john.stultz@linaro.org>

[-- Attachment #1: Type: text/plain, Size: 3340 bytes --]

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 46358 bytes --]

      reply	other threads:[~2016-07-22  6:57 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-21  3:53 [PATCH 0/7 v3] K3DMA fixes for HiKey HDMI audio John Stultz
2016-07-21  3:53 ` [PATCH 1/7] k3dma: Fix hisi burst clipping John Stultz
2016-07-24  7:25   ` Vinod Koul
2016-07-29 22:40     ` John Stultz
2016-08-04 13:08       ` Vinod Koul
2016-08-04 17:36         ` John Stultz
2016-08-05  3:36           ` Vinod Koul
2016-07-21  3:53 ` [PATCH 2/7] k3dma: Fix dma err offsets John Stultz
2016-07-21  3:53 ` [PATCH 3/7] k3dma: Fix "nobody cared" message seen on any error John Stultz
2016-07-21  3:53 ` [PATCH 4/7] k3dma: Add cyclic mode for audio John Stultz
2016-07-24  7:31   ` Vinod Koul
2016-07-29 22:38     ` John Stultz
2016-07-21  3:53 ` [PATCH 5/7] k3dma: Fix memory handling with cyclic mode John Stultz
2016-07-21  3:53 ` [PATCH 6/7] k3dma: Fix occasional DMA ERR issue by using proper dma api John Stultz
2016-07-21  4:26   ` zhangfei
2016-07-21  5:22     ` John Stultz
2016-07-21  6:27       ` Andy Green
2016-07-21 10:40         ` Mark Brown
2016-07-21 13:12           ` Andy Green
2016-07-21 16:18         ` John Stultz
2016-07-21 19:57           ` Andy Green
2016-07-21 16:08       ` zhangfei
2016-07-21  3:53 ` [PATCH 7/7] Kconfig: Allow k3dma driver to be selected for more then HISI3xx platforms John Stultz
2016-07-22  6:56   ` kbuild test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201607221449.yda0UnAr%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=andy@warmcat.com \
    --cc=broonie@kernel.org \
    --cc=dan.j.williams@intel.com \
    --cc=jg1.han@samsung.com \
    --cc=john.stultz@linaro.org \
    --cc=k.kozlowski@samsung.com \
    --cc=kbuild-all@01.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maxime.ripard@free-electrons.com \
    --cc=perex@perex.cz \
    --cc=robh+dt@kernel.org \
    --cc=tiwai@suse.com \
    --cc=vinod.koul@intel.com \
    --cc=xuwei5@hisilicon.com \
    --cc=zhangfei.gao@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®