Skip to content

Commit b9fae9f

Browse files
bcodding-rhamschuma-ntap
authored andcommitted
SUNRPC: Fixup gss_status tracepoint error output
The GSS routine errors are values, not flags. Fixes: 0c77668 ("SUNRPC: Introduce trace points in rpc_auth_gss.ko") Signed-off-by: Benjamin Coddington <[email protected]> Reviewed-by: Chuck Lever <[email protected]> Signed-off-by: Anna Schumaker <[email protected]>
1 parent ed0172a commit b9fae9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/trace/events/rpcgss.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ TRACE_DEFINE_ENUM(GSS_S_UNSEQ_TOKEN);
5454
TRACE_DEFINE_ENUM(GSS_S_GAP_TOKEN);
5555

5656
#define show_gss_status(x) \
57-
__print_flags(x, "|", \
57+
__print_symbolic(x, \
5858
{ GSS_S_BAD_MECH, "GSS_S_BAD_MECH" }, \
5959
{ GSS_S_BAD_NAME, "GSS_S_BAD_NAME" }, \
6060
{ GSS_S_BAD_NAMETYPE, "GSS_S_BAD_NAMETYPE" }, \

0 commit comments

Comments
 (0)