diff options
author | Vadim Pasternak <vadimp@nvidia.com> | 2022-07-19 18:35:40 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2022-07-28 21:38:08 +0300 |
commit | b4b830a34d8046633231b7fe87f6f2cb6240dc9f (patch) | |
tree | 9e66b829fe8e92c3fd7cf7627318ba61da814f03 /block/bfq-iosched.h | |
parent | c9d959fc32a5f9312282817052d8986614f2dc08 (diff) | |
download | linux-b4b830a34d8046633231b7fe87f6f2cb6240dc9f.tar.xz |
platform/mellanox: mlxreg-lc: Fix error flow and extend verbosity
Fix error flow:
- Clean-up client object in case of probing failure.
- Prevent running remove routine in case of probing failure.
Probing and removing are invoked by hotplug events raised upon line
card insertion and removing. If probing procedure failed all data is
cleared and there is nothing to do in remove routine.
Fixes: 62f9529b8d5c ("platform/mellanox: mlxreg-lc: Add initial support for Nvidia line card devices")
Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Link: https://lore.kernel.org/r/20220719153540.61304-1-vadimp@nvidia.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'block/bfq-iosched.h')
0 files changed, 0 insertions, 0 deletions