lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201512142130.g8eZzCT6%fengguang.wu@intel.com>
Date:	Mon, 14 Dec 2015 21:04:09 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Peter Ujfalusi <peter.ujfalusi@...com>
Cc:	kbuild-all@...org, vinod.koul@...el.com, arnd@...db.de,
	andy.shevchenko@...il.com, linux-kernel@...r.kernel.org,
	dmaengine@...r.kernel.org, linux-omap@...r.kernel.org,
	linux-arm-kernel@...ts.infradead.org, nsekhar@...com,
	tony@...mide.com
Subject: Re: [PATCH V02 3/5] dmaengine: core: Introduce new, universal API to
 request a channel

Hi Peter,

[auto build test WARNING on slave-dma/next]
[also build test WARNING on v4.4-rc5 next-20151214]

url:    https://github.com/0day-ci/linux/commits/Peter-Ujfalusi/dmaengine-core-Skip-mask-matching-when-it-is-not-provided-to-private_candidate/20151214-192521
base:   https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/slave-dma.git next


coccinelle warnings: (new ones prefixed by >>)

>> drivers/dma/dmaengine.c:715:23-30: ERROR: PTR_ERR applied after initialization to constant on line 703

vim +715 drivers/dma/dmaengine.c

   697	 *
   698	 * Returns pointer to appropriate DMA channel on success or an error pointer.
   699	 */
   700	struct dma_chan *dma_request_chan(struct device *dev, const char *name)
   701	{
   702		struct dma_device *d, *_d;
 > 703		struct dma_chan *chan = NULL;
   704	
   705		/* If device-tree is present get slave info from here */
   706		if (dev->of_node)
   707			chan = of_dma_request_slave_channel(dev->of_node, name);
   708	
   709		/* If device was enumerated by ACPI get slave info from here */
   710		if (has_acpi_companion(dev) && !chan)
   711			chan = acpi_dma_request_slave_chan_by_name(dev, name);
   712	
   713		if (chan) {
   714			/* Valid channel found or requester need to be deferred */
 > 715			if (!IS_ERR(chan) || PTR_ERR(chan) == -EPROBE_DEFER)
   716				return chan;
   717		}
   718	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ