]> git.baikalelectronics.ru Git - kernel.git/commit
NVMe: Only release requested regions
authorJohannes Thumshirn <jthumshirn@suse.de>
Tue, 10 May 2016 13:14:28 +0000 (15:14 +0200)
committerJens Axboe <axboe@fb.com>
Thu, 9 Jun 2016 20:28:28 +0000 (14:28 -0600)
commit3117d61456ba4ee14ed61577b65e870edb6ce8af
treeb35cad3dc3b2dc6d5fb41cc99fe3bd180ab8e4e6
parent932e0e1ce625872f785aa4c77760b0da09c4253e
NVMe: Only release requested regions

The NVMe driver only requests the PCIe device's memory regions but releases
all possible regions (including eventual I/O regions). This leads to a stale
warning entry in dmesg about freeing non existent resources.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/pci.c