Re: [PATCH] dmaengine: idxd: Fix missing error code in idxd_cdev_open()
From: Vinod Koul
Date: Thu Jun 03 2021 - 02:59:13 EST
On 02-06-21, 18:07, Jiapeng Chong wrote:
> The error code is missing in this code scenario, add the error code
> '-EINVAL' to the return value 'rc'.
>
> Eliminate the follow smatch warning:
>
> drivers/dma/idxd/cdev.c:113 idxd_cdev_open() warn: missing error code
> 'rc'.
Applied, thanks
--
~Vinod