summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Coddington <bcodding@redhat.com>2024-07-11 13:21:00 -0400
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2024-07-18 10:49:15 -0400
commitb9fae9f06d84ffab0f3f9118f3a96bbcdc528bf6 (patch)
tree5f9b0d1fc1307f29492c16efce0fc445fda1eb85
parented0172af5d6fc07d1b40ca82f5ca3979300369f7 (diff)
downloadlwn-b9fae9f06d84ffab0f3f9118f3a96bbcdc528bf6.tar.gz
lwn-b9fae9f06d84ffab0f3f9118f3a96bbcdc528bf6.zip
SUNRPC: Fixup gss_status tracepoint error output
The GSS routine errors are values, not flags. Fixes: 0c77668ddb4e ("SUNRPC: Introduce trace points in rpc_auth_gss.ko") Signed-off-by: Benjamin Coddington <bcodding@redhat.com> Reviewed-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
-rw-r--r--include/trace/events/rpcgss.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/trace/events/rpcgss.h b/include/trace/events/rpcgss.h
index 7f0c1ceae726..b0b6300a0cab 100644
--- a/include/trace/events/rpcgss.h
+++ b/include/trace/events/rpcgss.h
@@ -54,7 +54,7 @@ TRACE_DEFINE_ENUM(GSS_S_UNSEQ_TOKEN);
TRACE_DEFINE_ENUM(GSS_S_GAP_TOKEN);
#define show_gss_status(x) \
- __print_flags(x, "|", \
+ __print_symbolic(x, \
{ GSS_S_BAD_MECH, "GSS_S_BAD_MECH" }, \
{ GSS_S_BAD_NAME, "GSS_S_BAD_NAME" }, \
{ GSS_S_BAD_NAMETYPE, "GSS_S_BAD_NAMETYPE" }, \