diff options
author | Shannon Nelson <shannon.nelson@amd.com> | 2023-08-24 19:17:53 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-08-26 05:05:58 +0300 |
commit | 969cfd4c8ca50c32901342cdd3d677c3ffe61371 (patch) | |
tree | 20bef559a1ff86076d34e2badbb28d42fa6bf204 /scripts/gdb/linux/vmalloc.py | |
parent | 95e383226d6fcda6c217912f11edf8d74de9cc85 (diff) | |
download | linux-969cfd4c8ca50c32901342cdd3d677c3ffe61371.tar.xz |
pds_core: check for work queue before use
Add a check that the wq exists before queuing up work for a
failed devcmd, as the PF is responsible for health and the VF
doesn't have a wq.
Fixes: c2dbb0904310 ("pds_core: health timer and workqueue")
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Reviewed-by: Brett Creeley <brett.creeley@amd.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20230824161754.34264-5-shannon.nelson@amd.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions