[PATCHv2] nvme/pci: Print invalid SGL only once

Martin K. Petersen martin.petersen at oracle.com
Fri Sep 15 18:02:56 PDT 2017


Keith,

> The WARN_ONCE macro returns true if the condition is true, not if the
> warn was raised, so we're printing the scatter list every time it's
> invalid. This is excessive and makes debugging harder, so this patch
> prints it just once.



-- 
Martin K. Petersen	Oracle Linux Engineering



More information about the Linux-nvme mailing list