Re: [PATCH] atm: lanai: dont run lanai_dev_close if not open

2021-03-01 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Sat, 27 Feb 2021 22:55:50 -0500 you wrote: > lanai_dev_open() can fail. When it fail, lanai->base is unmapped and the > pci device is disabled. The caller, lanai_init_one(), then tries to run > atm_dev_deregister(). This

[PATCH] atm: lanai: dont run lanai_dev_close if not open

2021-02-27 Thread Tong Zhang
lanai_dev_open() can fail. When it fail, lanai->base is unmapped and the pci device is disabled. The caller, lanai_init_one(), then tries to run atm_dev_deregister(). This will subsequently call lanai_dev_close() and use the already released MMIO area. To fix this issue, set the lanai->base to