On Wed, May 31, 2023 at 05:22:48PM +0200, Ahmad Fatoum wrote:
> device_find_block_device returns 0 on success, so the way the else if
> clause is now, only if there is a block device, the code falls through.
> If there is none, a 0 is returned, but devpath is not populated breaking
> the contract of the function. Just drop the branch for now and add back
> it later in a way that works.

s/add back it/add it back/

Otherwise:

Reviewed-by: Uwe Kleine-König <u.kleine-koe...@pengutronix.de>

Thanks
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

Attachment: signature.asc
Description: PGP signature

Reply via email to