public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] SUNRPC: Fixup gss_status tracepoint error output
@ 2024-07-11 15:24 Benjamin Coddington
  2024-07-11 15:28 ` Chuck Lever
  2024-07-12 11:35 ` Jeff Layton
  0 siblings, 2 replies; 8+ messages in thread
From: Benjamin Coddington @ 2024-07-11 15:24 UTC (permalink / raw)
  To: Trond Myklebust, Anna Schumaker, Chuck Lever; +Cc: linux-nfs

The GSS routine errors are values, not flags.

Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
---
 include/trace/events/rpcgss.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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" },		\
-- 
2.44.0


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-07-12 11:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-11 15:24 [PATCH] SUNRPC: Fixup gss_status tracepoint error output Benjamin Coddington
2024-07-11 15:28 ` Chuck Lever
2024-07-11 15:43   ` Chuck Lever III
2024-07-11 15:48   ` Benjamin Coddington
2024-07-11 15:52     ` Chuck Lever III
2024-07-11 16:00       ` Benjamin Coddington
2024-07-11 17:14         ` Chuck Lever III
2024-07-12 11:35 ` Jeff Layton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox