[PATCH] nvme-pci: compile warnings in nvme_alloc_host_mem()

Christoph Hellwig hch at lst.de
Thu Jul 6 08:28:34 PDT 2017


On Thu, Jul 06, 2017 at 12:26:52PM +0300, Dan Carpenter wrote:
> "i" should be signed or it could cause a forever loop on the cleanup
> path. "size" can be used uninitialized.

Looks good,

Reviewed-by: Christoph Hellwig <hch at lst.de>



More information about the Linux-nvme mailing list