linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Cc: kbuild-all@01.org, linux-media@vger.kernel.org,
	linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
	daniel.vetter@ffwll.ch, robdclark@gmail.com, treding@nvidia.com,
	sumit.semwal@linaro.org, tom.cooksey@arm.com,
	daniel.stone@collabora.com,
	linux-security-module@vger.kernel.org,
	xiaoquan.li@vivantecorp.com, tom.gall@linaro.org,
	linaro-mm-sig@lists.linaro.org,
	Benjamin Gaignard <benjamin.gaignard@linaro.org>
Subject: Re: [PATCH v4 2/2] SMAF: add CMA allocator
Date: Mon, 5 Oct 2015 19:50:55 +0800	[thread overview]
Message-ID: <201510051903.B0uZLhVF%fengguang.wu@intel.com> (raw)
In-Reply-To: <1444039898-7927-3-git-send-email-benjamin.gaignard@linaro.org>

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

Hi Benjamin,

[auto build test WARNING on v4.3-rc4 -- if it's inappropriate base, please ignore]

config: sparc-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=sparc 

All warnings (new ones prefixed by >>):

   drivers/smaf/smaf-cma.c: In function 'smaf_kmap_atomic':
>> drivers/smaf/smaf-cma.c:118:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     return (void *)info->paddr + offset;
            ^

vim +118 drivers/smaf/smaf-cma.c

   102				     info->size, &attrs);
   103	
   104		return ret;
   105	}
   106	
   107	static void *smaf_cma_vmap(struct dma_buf *dmabuf)
   108	{
   109		struct smaf_cma_buffer_info *info = dmabuf->priv;
   110	
   111		return info->vaddr;
   112	}
   113	
   114	static void *smaf_kmap_atomic(struct dma_buf *dmabuf, unsigned long offset)
   115	{
   116		struct smaf_cma_buffer_info *info = dmabuf->priv;
   117	
 > 118		return (void *)info->paddr + offset;
   119	}
   120	
   121	static struct dma_buf_ops smaf_cma_ops = {
   122		.map_dma_buf = smaf_cma_map,
   123		.unmap_dma_buf = smaf_cma_unmap,
   124		.mmap = smaf_cma_mmap,
   125		.release = smaf_cma_release,
   126		.kmap_atomic = smaf_kmap_atomic,

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

  parent reply	other threads:[~2015-10-05 11:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-05 10:11 [PATCH v4 0/2] RFC: Secure Memory Allocation Framework Benjamin Gaignard
2015-10-05 10:11 ` [PATCH v4 1/2] create SMAF module Benjamin Gaignard
2015-10-05 22:02   ` kbuild test robot
2015-10-06  1:58   ` Laura Abbott
2015-10-06  8:56     ` Benjamin Gaignard
2015-10-05 10:11 ` [PATCH v4 2/2] SMAF: add CMA allocator Benjamin Gaignard
2015-10-05 10:50   ` kbuild test robot
2015-10-05 10:50   ` [RFC PATCH] SMAF: smaf_cma can be static kbuild test robot
2015-10-05 11:50   ` kbuild test robot [this message]
2015-10-06  2:07 ` [PATCH v4 0/2] RFC: Secure Memory Allocation Framework Laura Abbott
2015-10-06  7:03   ` Benjamin Gaignard

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=201510051903.B0uZLhVF%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=benjamin.gaignard@linaro.org \
    --cc=daniel.stone@collabora.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=kbuild-all@01.org \
    --cc=linaro-mm-sig@lists.linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-security-module@vger.kernel.org \
    --cc=robdclark@gmail.com \
    --cc=sumit.semwal@linaro.org \
    --cc=tom.cooksey@arm.com \
    --cc=tom.gall@linaro.org \
    --cc=treding@nvidia.com \
    --cc=xiaoquan.li@vivantecorp.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;
as well as URLs for NNTP newsgroup(s).