Messages in this thread | | | Date | Mon, 21 Aug 2017 21:51:40 +0530 | From | Vinod Koul <> | Subject | Re: [PATCH] dmaengine: qcom_hidma: avoid freeing an uninitialized pointer |
| |
On Thu, Aug 10, 2017 at 06:54:25PM +0300, Anton Vasilyev wrote: > If device_node np doesn't contain child or first child doesn't have > property "reg" then hidma_mgmt_of_populate_channels() perfoms > deallocation on uninitialized local variable res. > > The patch adds res initialization by NULL. > > Found by Linux Driver Verification project (linuxtesting.org).
Applied, thanks
-- ~Vinod
| |