Re: [PATCH] dmaengine: core: Revert back to pr_debug in __dma_request_channel()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 07, 2016 at 04:49:43PM +0300, Jarkko Nikula wrote:
> Commit ef859312c3a1 ("dmaengine: core: Use dev_ functions for debug and
> error prints") wasn't quite right in __dma_request_channel() by claiming
> that all pr_ prints have valid DMA channel pointer. Obviously it is not
> true as __dma_request_channel() is looking for a channel and returns NULL
> if it does not find it.
> 
> Prevent this potential NULL pointer dereference by reverting back to
> pr_debug().

Applied, thanks

-- 
~Vinod
--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux