diff options
| author | Alok Tiwari <alok.a.tiwari@oracle.com> | 2025-10-18 10:46:46 -0700 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2025-11-27 02:03:07 -0500 |
| commit | 731ca4a4cc52fd5c5ae309edcfd2d7e54ece3321 (patch) | |
| tree | b1f265bc61592840e0d998cc16e26eda36acb5d3 /tools/lib/python/abi/helpers.py | |
| parent | f3f64c2eaffbc3169bbe1e5d1e897e6dacc839d1 (diff) | |
vdpa/pds: use %pe for ERR_PTR() in event handler registration
Use %pe instead of %ps when printing ERR_PTR() values. %ps is intended
for string pointers, while %pe correctly prints symbolic error names
for error pointers returned via ERR_PTR().
This shows the returned error value more clearly.
Fixes: 67f27b8b3a34 ("pds_vdpa: subscribe to the pds_core events")
Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Reviewed-by: Brett Creeley <brett.creeley@amd.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20251018174705.1511982-1-alok.a.tiwari@oracle.com>
Diffstat (limited to 'tools/lib/python/abi/helpers.py')
0 files changed, 0 insertions, 0 deletions
