diff options
| author | Bean Huo <[email protected]> | 2021-01-05 12:34:41 +0100 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-01-07 22:29:10 -0500 |
| commit | c7c730ac6a88abbbc961f8838d28da85662389d0 (patch) | |
| tree | 781e5985c294d5f3cde9dc90017463f18f1076ec /tools/perf/scripts/python | |
| parent | a967ddb22d94eb476ccef983b5f2730fa4d184d0 (diff) | |
scsi: ufs: Remove stringize operator '#' restriction
Current EM macro definition, we use stringize operator '#', which turns the
argument it precedes into a quoted string. Thus requires the symbol of
__print_symbolic() should be the string corresponding to the name of the
enum.
However, we have other cases, the symbol and enum name are not the same, we
can redefine EM/EMe, but there will introduce some redundant codes. This
patch is to remove this restriction, let others reuse the current EM/EMe
definition.
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Steven Rostedt (VMware) <[email protected]>
Signed-off-by: Bean Huo <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions