diff options
| author | Alok Tiwari <alok.a.tiwari@oracle.com> | 2025-10-18 10:46:46 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-12-18 14:03:24 +0100 |
| commit | ce46f6a8d62449c6cd0710756717c0c233014b13 (patch) | |
| tree | 741ab39a4c72f19257823a3915921ad34f86e8a3 /include/linux/virtio_features.h | |
| parent | 09853ba0977f678561d93286d40e1ad62c80447b (diff) | |
vdpa/pds: use %pe for ERR_PTR() in event handler registration
[ Upstream commit 731ca4a4cc52fd5c5ae309edcfd2d7e54ece3321 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/virtio_features.h')
0 files changed, 0 insertions, 0 deletions
