RE: [PATCH] compress/mlx5: fix double close for context device

2021-11-25 Thread Matan Azrad
From: Michael Baum > The context of the device opens once in the common probe and closes with > its removal. > > If the probe of one of the drivers fails, it releases its resources and then > the > common closes the context. > But mistakenly in the compress probe, if ther isn't enough capabili

[PATCH] compress/mlx5: fix double close for context device

2021-11-24 Thread michaelba
From: Michael Baum The context of the device opens once in the common probe and closes with its removal. If the probe of one of the drivers fails, it releases its resources and then the common closes the context. But mistakenly in the compress probe, if ther isn't enough capabilities to support