diff options
author | Shannon Nelson <shannon.nelson@amd.com> | 2023-11-11 01:18:01 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-12-01 17:55:01 +0300 |
commit | dd3b8de16e90c5594eddd29aeeb99e97c6f863be (patch) | |
tree | 46c154ec44425f429f80f86f3bacbe0d356cf97f /scripts/gdb/linux/tasks.py | |
parent | 4f317d6529d7fc3ab7769ef89645d43fc7eec61b (diff) | |
download | linux-dd3b8de16e90c5594eddd29aeeb99e97c6f863be.tar.xz |
pds_vdpa: clear config callback when status goes to 0
If the client driver is setting status to 0, something is
getting shutdown and possibly removed. Make sure we clear
the config_cb so that it doesn't end up crashing when
trying to call a bogus callback.
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Message-Id: <20231110221802.46841-3-shannon.nelson@amd.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions