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

2021-11-25 Thread Akhil Goyal
> 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 there isn't enough capabil

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

2021-11-25 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 there isn't enough capabilities to support