]> Gentwo Git Trees - linux/.git/commit
vdpa/pds: use %pe for ERR_PTR() in event handler registration
authorAlok Tiwari <alok.a.tiwari@oracle.com>
Sat, 18 Oct 2025 17:46:46 +0000 (10:46 -0700)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 27 Nov 2025 07:03:07 +0000 (02:03 -0500)
commit731ca4a4cc52fd5c5ae309edcfd2d7e54ece3321
treeb1f265bc61592840e0d998cc16e26eda36acb5d3
parentf3f64c2eaffbc3169bbe1e5d1e897e6dacc839d1
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>
drivers/vdpa/pds/vdpa_dev.c