Re: [PATCH] dmaengine: idxd: Fix missing error code in idxd_cdev_open()
From: Vinod Koul <vkoul@kernel.org>
Date: 2021-06-03 06:59:13
Also in:
lkml
From: Vinod Koul <vkoul@kernel.org>
Date: 2021-06-03 06:59:13
Also in:
lkml
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