[PATCHv2] nvme/pci: Print invalid SGL only once
Martin K. Petersen
martin.petersen at oracle.com
Fri Sep 15 18:05:28 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.
Reviewed-by: Martin K. Petersen <martin.petersen at oracle.com>
--
Martin K. Petersen Oracle Linux Engineering
More information about the Linux-nvme
mailing list