[PATCH] nvme: explicitly set non-error for directives
Chaitanya Kulkarni
chaitanyak at nvidia.com
Tue Feb 15 09:04:19 PST 2022
On 2/15/22 07:03, Keith Busch wrote:
> Stream directives is an optional feature. It is not an error if a
> controller doesn't support as many as the kernel can optionally use.
> Explicitly set the non-error return value on this condition with a
> comment explaining why.
>
> Note, the return value was already 0 in this condition, so the setting
> is redundant. This patch should just silence bots that falsely believe
> the condition contains an error omission.
>
> Cc: Jiapeng Chong <jiapeng.chong at linux.alibaba.com>
> Signed-off-by: Keith Busch <kbusch at kernel.org>
> ---
Looks good.
Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>
More information about the Linux-nvme
mailing list