Re: [PATCH V1 net 2/5] net: ena: fix warning in rmmod caused by double iounmap

2018-10-08 Thread David Miller
From: Date: Mon, 8 Oct 2018 15:28:41 +0300 > From: Arthur Kiyanovski > > Memory mapped with devm_ioremap is automatically freed when the driver > is disconnected from the device. Therefore there is no need to > explicitly call devm_iounmap. > > Signed-off-by: Arthur Kiyanovski > --- > driver

[PATCH V1 net 2/5] net: ena: fix warning in rmmod caused by double iounmap

2018-10-08 Thread akiyano
From: Arthur Kiyanovski Memory mapped with devm_ioremap is automatically freed when the driver is disconnected from the device. Therefore there is no need to explicitly call devm_iounmap. Signed-off-by: Arthur Kiyanovski --- drivers/net/ethernet/amazon/ena/ena_netdev.c | 10 +- 1 file