All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Amireddy Mallikarjuna reddy <mallikarjunax.reddy@linux.intel.com>,
	dmaengine@vger.kernel.org, vkoul@kernel.org,
	devicetree@vger.kernel.org, robh+dt@kernel.org
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	andriy.shevchenko@intel.com, chuanhua.lei@linux.intel.com,
	cheol.yong.kim@intel.com, qi-ming.wu@intel.com,
	malliamireddy009@gmail.com
Subject: Re: [PATCH 2/2] Add Intel LGM soc DMA support.
Date: Wed, 17 Jun 2020 10:20:11 +0800	[thread overview]
Message-ID: <202006171042.ldmfTIDB%lkp@intel.com> (raw)
In-Reply-To: <93e1f8627f31c8fa9a17b3fa0f26629c57a97ef9.1591790337.git.mallikarjunax.reddy@linux.intel.com>

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

Hi Amireddy,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on robh/for-next]
[also build test WARNING on linus/master v5.8-rc1 next-20200616]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Amireddy-Mallikarjuna-reddy/Add-Intel-LGM-soc-DMA-support/20200610-202116
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: nds32-randconfig-r034-20200617 (attached as .config)
compiler: nds32le-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nds32 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>, old ones prefixed by <<):

In file included from ./arch/nds32/include/generated/asm/bug.h:1,
from include/linux/bug.h:5,
from include/linux/debug_locks.h:7,
from include/linux/mutex.h:21,
from include/linux/notifier.h:14,
from include/linux/clk.h:14,
from drivers/dma/lgm/lgm-dma.c:9:
include/linux/dma-mapping.h: In function 'dma_map_resource':
arch/nds32/include/asm/memory.h:82:32: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
82 | #define pfn_valid(pfn)  ((pfn) >= PHYS_PFN_OFFSET && (pfn) < (PHYS_PFN_OFFSET + max_mapnr))
|                                ^~
include/asm-generic/bug.h:139:27: note: in definition of macro 'WARN_ON_ONCE'
139 |  int __ret_warn_once = !!(condition);            |                           ^~~~~~~~~
include/linux/dma-mapping.h:352:19: note: in expansion of macro 'pfn_valid'
352 |  if (WARN_ON_ONCE(pfn_valid(PHYS_PFN(phys_addr))))
|                   ^~~~~~~~~
drivers/dma/lgm/lgm-dma.c: At top level:
>> drivers/dma/lgm/lgm-dma.c:729:5: warning: no previous prototype for 'intel_dma_chan_desc_cfg' [-Wmissing-prototypes]
729 | int intel_dma_chan_desc_cfg(struct dma_chan *chan, dma_addr_t desc_base,
|     ^~~~~~~~~~~~~~~~~~~~~~~

vim +/intel_dma_chan_desc_cfg +729 drivers/dma/lgm/lgm-dma.c

   728	
 > 729	int intel_dma_chan_desc_cfg(struct dma_chan *chan, dma_addr_t desc_base,
   730				    int desc_num)
   731	{
   732		return ldma_chan_desc_cfg(to_ldma_chan(chan), desc_base, desc_num);
   733	}
   734	EXPORT_SYMBOL_GPL(intel_dma_chan_desc_cfg);
   735	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 22004 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH 2/2] Add Intel LGM soc DMA support.
Date: Wed, 17 Jun 2020 10:20:11 +0800	[thread overview]
Message-ID: <202006171042.ldmfTIDB%lkp@intel.com> (raw)
In-Reply-To: <93e1f8627f31c8fa9a17b3fa0f26629c57a97ef9.1591790337.git.mallikarjunax.reddy@linux.intel.com>

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

Hi Amireddy,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on robh/for-next]
[also build test WARNING on linus/master v5.8-rc1 next-20200616]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Amireddy-Mallikarjuna-reddy/Add-Intel-LGM-soc-DMA-support/20200610-202116
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: nds32-randconfig-r034-20200617 (attached as .config)
compiler: nds32le-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nds32 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>, old ones prefixed by <<):

In file included from ./arch/nds32/include/generated/asm/bug.h:1,
from include/linux/bug.h:5,
from include/linux/debug_locks.h:7,
from include/linux/mutex.h:21,
from include/linux/notifier.h:14,
from include/linux/clk.h:14,
from drivers/dma/lgm/lgm-dma.c:9:
include/linux/dma-mapping.h: In function 'dma_map_resource':
arch/nds32/include/asm/memory.h:82:32: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
82 | #define pfn_valid(pfn)  ((pfn) >= PHYS_PFN_OFFSET && (pfn) < (PHYS_PFN_OFFSET + max_mapnr))
|                                ^~
include/asm-generic/bug.h:139:27: note: in definition of macro 'WARN_ON_ONCE'
139 |  int __ret_warn_once = !!(condition);            |                           ^~~~~~~~~
include/linux/dma-mapping.h:352:19: note: in expansion of macro 'pfn_valid'
352 |  if (WARN_ON_ONCE(pfn_valid(PHYS_PFN(phys_addr))))
|                   ^~~~~~~~~
drivers/dma/lgm/lgm-dma.c: At top level:
>> drivers/dma/lgm/lgm-dma.c:729:5: warning: no previous prototype for 'intel_dma_chan_desc_cfg' [-Wmissing-prototypes]
729 | int intel_dma_chan_desc_cfg(struct dma_chan *chan, dma_addr_t desc_base,
|     ^~~~~~~~~~~~~~~~~~~~~~~

vim +/intel_dma_chan_desc_cfg +729 drivers/dma/lgm/lgm-dma.c

   728	
 > 729	int intel_dma_chan_desc_cfg(struct dma_chan *chan, dma_addr_t desc_base,
   730				    int desc_num)
   731	{
   732		return ldma_chan_desc_cfg(to_ldma_chan(chan), desc_base, desc_num);
   733	}
   734	EXPORT_SYMBOL_GPL(intel_dma_chan_desc_cfg);
   735	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 22004 bytes --]

  parent reply	other threads:[~2020-06-17  2:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-10 12:17 [PATCH 0/2] Add Intel LGM soc DMA support Amireddy Mallikarjuna reddy
2020-06-10 12:17 ` [PATCH 1/2] dt-bindings: dma: Add bindings for intel LGM SOC Amireddy Mallikarjuna reddy
2020-06-12 21:54   ` Rob Herring
2020-06-10 12:17 ` [PATCH 2/2] Add Intel LGM soc DMA support Amireddy Mallikarjuna reddy
2020-06-10 23:35   ` kernel test robot
2020-06-10 23:35     ` kernel test robot
2020-06-17  2:20   ` kernel test robot [this message]
2020-06-17  2:20     ` kernel test robot
2020-06-22 11:37   ` Dan Carpenter
2020-06-22 11:37     ` Dan Carpenter
2020-06-22 11:37     ` Dan Carpenter
  -- strict thread matches above, loose matches on Subject: below --
2020-06-20 21:09 kernel test robot

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=202006171042.ldmfTIDB%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=andriy.shevchenko@intel.com \
    --cc=cheol.yong.kim@intel.com \
    --cc=chuanhua.lei@linux.intel.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dmaengine@vger.kernel.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=malliamireddy009@gmail.com \
    --cc=mallikarjunax.reddy@linux.intel.com \
    --cc=qi-ming.wu@intel.com \
    --cc=robh+dt@kernel.org \
    --cc=vkoul@kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.