From: kernel test robot <lkp@intel.com>
To: Sanjay R Mehta <Sanju.Mehta@amd.com>, vkoul@kernel.org
Cc: kbuild-all@lists.01.org, gregkh@linuxfoundation.org,
dan.j.williams@intel.com, Thomas.Lendacky@amd.com,
Shyam-sundar.S-k@amd.com, Nehal-bakulchandra.Shah@amd.com,
robh@kernel.org, mchehab+samsung@kernel.org, davem@davemloft.net,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v6 2/3] dmaengine: ptdma: register PTDMA controller as a DMA resource
Date: Tue, 13 Oct 2020 00:19:07 +0800 [thread overview]
Message-ID: <202010130045.NVoO7OM6-lkp@intel.com> (raw)
In-Reply-To: <1602501559-67927-3-git-send-email-Sanju.Mehta@amd.com>
[-- Attachment #1: Type: text/plain, Size: 2448 bytes --]
Hi Sanjay,
I love your patch! Perhaps something to improve:
[auto build test WARNING on vkoul-dmaengine/next]
[also build test WARNING on linus/master sparc-next/master v5.9]
[cannot apply to next-20201012]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Sanjay-R-Mehta/Add-support-for-AMD-PTDMA-controller-driver/20201012-192126
base: https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git next
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/e3ffc3c5008e1a3bdce62cd71ecbf0cd5ca8de21
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Sanjay-R-Mehta/Add-support-for-AMD-PTDMA-controller-driver/20201012-192126
git checkout e3ffc3c5008e1a3bdce62cd71ecbf0cd5ca8de21
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
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 >>):
drivers/dma/ptdma/ptdma-dmaengine.c: In function 'pt_do_cleanup':
>> drivers/dma/ptdma/ptdma-dmaengine.c:62:22: warning: variable 'chan' set but not used [-Wunused-but-set-variable]
62 | struct pt_dma_chan *chan;
| ^~~~
drivers/dma/ptdma/ptdma-dmaengine.c: In function 'pt_dmaengine_register':
>> drivers/dma/ptdma/ptdma-dmaengine.c:470:19: warning: variable 'dma_chan' set but not used [-Wunused-but-set-variable]
470 | struct dma_chan *dma_chan;
| ^~~~~~~~
vim +/chan +62 drivers/dma/ptdma/ptdma-dmaengine.c
56
57 static void pt_do_cleanup(struct virt_dma_desc *vd)
58 {
59 struct pt_dma_desc *desc = to_pt_desc(vd);
60 struct pt_device *pt = desc->pt;
61 struct dma_chan *dma_chan;
> 62 struct pt_dma_chan *chan;
63
64 dma_chan = desc->vd.tx.chan;
65 chan = to_pt_chan(dma_chan);
66
67 pt_free_cmd_resources(pt, &desc->cmdlist);
68 kmem_cache_free(pt->dma_desc_cache, desc);
69 }
70
---
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: 75731 bytes --]
next prev parent reply other threads:[~2020-10-12 16:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-12 11:19 [PATCH v6 0/3] Add support for AMD PTDMA controller driver Sanjay R Mehta
2020-10-12 11:19 ` [PATCH v6 1/3] dmaengine: ptdma: Initial driver for the AMD PTDMA Sanjay R Mehta
2020-10-12 11:19 ` [PATCH v6 2/3] dmaengine: ptdma: register PTDMA controller as a DMA resource Sanjay R Mehta
2020-10-12 16:19 ` kernel test robot [this message]
2020-10-12 11:19 ` [PATCH v6 3/3] dmaengine: ptdma: Add debugfs entries for PTDMA information Sanjay R Mehta
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=202010130045.NVoO7OM6-lkp@intel.com \
--to=lkp@intel.com \
--cc=Nehal-bakulchandra.Shah@amd.com \
--cc=Sanju.Mehta@amd.com \
--cc=Shyam-sundar.S-k@amd.com \
--cc=Thomas.Lendacky@amd.com \
--cc=dan.j.williams@intel.com \
--cc=davem@davemloft.net \
--cc=gregkh@linuxfoundation.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mchehab+samsung@kernel.org \
--cc=robh@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 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®