commit | 2ee0e4ed5ca24c0642a7b72d75b4fe6dfc0a8db8 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Jul 06 12:26:52 2017 +0300 |
committer | Sagi Grimberg <sagi@grimberg.me> | Mon Jul 10 09:09:58 2017 +0300 |
tree | 6b04e8d1d7ea90fb04bc2ac69488faa9ad3edcbf | |
parent | 4cb7ca8073e1f226487168155c9a887079d605e4 [diff] |
nvme-pci: compile warnings in nvme_alloc_host_mem() "i" should be signed or it could cause a forever loop on the cleanup path. "size" can be used uninitialized. Fixes: 87ad72a59a38 ("nvme-pci: implement host memory buffer support") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Sagi Grimberg <sagi@grimberg.me>