[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2064917135.710926.1548260165940@email.ionos.de>
Date: Wed, 23 Jan 2019 17:16:05 +0100 (CET)
From: Stefan Wahren <stefan.wahren@...e.com>
To: YueHaibing <yuehaibing@...wei.com>, broonie@...nel.org,
eric@...olt.net, f.fainelli@...il.com, rjui@...adcom.com,
sbranden@...adcom.com, bcm-kernel-feedback-list@...adcom.com
Cc: linux-spi@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-rpi-kernel@...ts.infradead.org
Subject: Re: [PATCH -next] spi: bcm2835aux: remove unneeded NULL check of
devm_clk_get
> YueHaibing <yuehaibing@...wei.com> hat am 23. Januar 2019 um 08:05 geschrieben:
>
>
> Fix a static code checker warning:
> drivers/spi/spi-bcm2835aux.c:460
> bcm2835aux_spi_probe() warn: passing zero to 'PTR_ERR'
>
> In case of error, the function devm_clk_get() returns ERR_PTR()
> and not returns NULL.
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Acked-by: Stefan Wahren <stefan.wahren@...e.com>
Powered by blists - more mailing lists