Re: [PATCH] nvme: Fix missing error code in nvme_configure_directives()
From: Chaitanya Kulkarni <hidden>
Date: 2021-09-09 16:21:18
From: Chaitanya Kulkarni <hidden>
Date: 2021-09-09 16:21:18
On 9/9/21 2:50 AM, Jiapeng Chong wrote:
From: chongjiapeng <redacted>
The error code is missing in this code scenario, add the error code
'-EINVAL' to the return value 'ret'.
Eliminate the follow smatch warning:
drivers/nvme/host/core.c:786 nvme_configure_directives() warn: missing
error code 'ret'.
Reported-by: Abaci Robot <redacted>
Fixes: f5d118406247 ("nvme: add support for streams and directives")
Signed-off-by: chongjiapeng <redacted>
---Looks good. Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> _______________________________________________ Linux-nvme mailing list Linux-nvme@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-nvme