[PATCHv2] nvme: quiet user passthrough command errors

Kanchan Joshi joshi.k at samsung.com
Thu Oct 27 22:23:18 PDT 2022


On Thu, Oct 27, 2022 at 08:04:17AM -0700, Keith Busch wrote:
>From: Keith Busch <kbusch at kernel.org>
>
>The driver is spamming the kernel logs for entirely harmless errors from
>user space submitting unsupported commands. Just silence the errors.
>The application has direct access to command status, so there's no need
>to log these.
>
>And since every passthrough command wants the quiet flag, move the
>setting to every user's common initializer.
>
>Cc: Daniel Wagner <dwagner at suse.de>
>Cc: Alan Adamson <alan.adamson at oracle.com>
>Signed-off-by: Keith Busch <kbusch at kernel.org>
>---
>v1->v2:
>
>  Set the quiet flag in the common initializer instead of open coding
>  the flag for each path.

now open coding can be removed in pci.c too. That is still being done at
two places.

With those changes in - 
Reviewed-by: Kanchan Joshi <joshi.k at samsung.com>



More information about the Linux-nvme mailing list