[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200110074605.GD2818@vkoul-mobl>
Date: Fri, 10 Jan 2020 13:16:05 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Colin King <colin.king@...onical.com>
Cc: Dan Williams <dan.j.williams@...el.com>,
Peter Ujfalusi <peter.ujfalusi@...com>,
Tony Lindgren <tony@...mide.com>, dmaengine@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next][V2] dmaengine: ti: omap-dma: don't allow a null
od->plat pointer to be dereferenced
On 09-01-20, 13:19, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> Currently when the call to dev_get_platdata returns null the driver issues
> a warning and then later dereferences the null pointer. Avoid this issue
> by returning -ENODEV errror rather when the platform data is null and
s/errror/error :) never thought would correct Colin on spelling :)
With the typo fixes:
Acked-by: Vinod Koul <vkoul@...nel.org>
--
~Vinod
Powered by blists - more mailing lists