mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Kedareswara rao Appana <appana.durga.rao@xilinx.com>
Cc: kbuild-all@01.org, robh+dt@kernel.org, pawel.moll@arm.com,
	mark.rutland@arm.com, ijc+devicetree@hellion.org.uk,
	galak@codeaurora.org, michal.simek@xilinx.com,
	soren.brinkmann@xilinx.com, vinod.koul@intel.com,
	dan.j.williams@intel.com, appanad@xilinx.com,
	moritz.fischer@ettus.com, laurent.pinchart@ideasonboard.com,
	luis@debethencourt.com, anirudh@xilinx.com, punnaia@xilinx.com,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org
Subject: Re: [PATCH v6 2/2] dmaengine: Add Xilinx zynqmp dma engine driver support
Date: Fri, 15 Apr 2016 21:13:44 +0800	[thread overview]
Message-ID: <201604152147.64N7fOV7%fengguang.wu@intel.com> (raw)
In-Reply-To: <1460710374-25077-2-git-send-email-appanad@xilinx.com>

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

Hi Kedareswara,

[auto build test WARNING on robh/for-next]
[also build test WARNING on v4.6-rc3 next-20160415]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Kedareswara-rao-Appana/Documentation-DT-dma-Add-Xilinx-zynqmp-dma-device-tree-binding-documentation/20160415-165623
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux for-next
config: sparc64-allmodconfig (attached as .config)
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 >>):

   drivers/dma/xilinx/zynqmp_dma.c: In function 'zynqmp_dma_config_sg_ll_desc':
>> drivers/dma/xilinx/zynqmp_dma.c:371:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
           ((dma_addr_t)sdesc - (dma_addr_t)chan->desc_pool_v);
            ^
   drivers/dma/xilinx/zynqmp_dma.c:371:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
           ((dma_addr_t)sdesc - (dma_addr_t)chan->desc_pool_v);
                                ^

vim +371 drivers/dma/xilinx/zynqmp_dma.c

   355					   struct zynqmp_dma_desc_ll *prev)
   356	{
   357		struct zynqmp_dma_desc_ll *ddesc = sdesc + 1;
   358	
   359		sdesc->size = ddesc->size = len;
   360		sdesc->addr = src;
   361		ddesc->addr = dst;
   362	
   363		sdesc->ctrl = ddesc->ctrl = ZYNQMP_DMA_DESC_CTRL_SIZE_256;
   364		if (chan->is_dmacoherent) {
   365			sdesc->ctrl |= ZYNQMP_DMA_DESC_CTRL_COHRNT;
   366			ddesc->ctrl |= ZYNQMP_DMA_DESC_CTRL_COHRNT;
   367		}
   368	
   369		if (prev) {
   370			dma_addr_t addr = chan->desc_pool_p +
 > 371				    ((dma_addr_t)sdesc - (dma_addr_t)chan->desc_pool_v);
   372			ddesc = prev + 1;
   373			prev->nxtdscraddr = addr;
   374			ddesc->nxtdscraddr = addr + ZYNQMP_DMA_DESC_SIZE(chan);
   375		}
   376	}
   377	
   378	/**
   379	 * zynqmp_dma_init - Initialize the channel

---
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: 45798 bytes --]

  reply	other threads:[~2016-04-15 13:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-15  8:52 [PATCH v6 1/2] Documentation: DT: dma: Add Xilinx zynqmp dma device tree binding documentation Kedareswara rao Appana
2016-04-15  8:52 ` [PATCH v6 2/2] dmaengine: Add Xilinx zynqmp dma engine driver support Kedareswara rao Appana
2016-04-15 13:13   ` kbuild test robot [this message]
2016-04-21 13:42 ` [PATCH v6 1/2] Documentation: DT: dma: Add Xilinx zynqmp dma device tree binding documentation Rob Herring
2016-04-22  5:36   ` Appana Durga Kedareswara Rao
2016-04-22 16:12     ` Rob Herring
2016-04-22 16:48       ` Appana Durga Kedareswara Rao

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=201604152147.64N7fOV7%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=anirudh@xilinx.com \
    --cc=appana.durga.rao@xilinx.com \
    --cc=appanad@xilinx.com \
    --cc=dan.j.williams@intel.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dmaengine@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=kbuild-all@01.org \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luis@debethencourt.com \
    --cc=mark.rutland@arm.com \
    --cc=michal.simek@xilinx.com \
    --cc=moritz.fischer@ettus.com \
    --cc=pawel.moll@arm.com \
    --cc=punnaia@xilinx.com \
    --cc=robh+dt@kernel.org \
    --cc=soren.brinkmann@xilinx.com \
    --cc=vinod.koul@intel.com \
    /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®