]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Fix trace string
authorDavid Howells <dhowells@redhat.com>
Wed, 17 Jun 2020 21:50:33 +0000 (22:50 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 17 Jun 2020 21:51:01 +0000 (22:51 +0100)
commit2760f6cd075595dc36924f9c0a298085ae6db59e
tree092f072b27b6858ebb0b54a322928901b536a313
parent912a2746651632c2096e4124621b5e7fdfe7eb07
rxrpc: Fix trace string

The trace symbol printer (__print_symbolic()) ignores symbols that map to
an empty string and prints the hex value instead.

Fix the symbol for rxrpc_cong_no_change to " -" instead of "" to avoid
this.

Fixes: b79df250e581 ("rxrpc: Fix handling of enums-to-string translation in tracing")
Signed-off-by: David Howells <dhowells@redhat.com>
include/trace/events/rxrpc.h