diff options
| author | Geert Uytterhoeven <[email protected]> | 2018-01-03 11:06:16 +0000 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2018-01-10 21:13:22 +0000 |
| commit | a6059ab98130fb561157682d320c51c5ccd4b647 (patch) | |
| tree | e990364caee2d7c1eac84fe200a490201c04cb3c /fs/jbd2/commit.c | |
| parent | clk: Improve flags doc for of_clk_detect_critical() (diff) | |
| download | kernel-a6059ab98130fb561157682d320c51c5ccd4b647.tar.gz kernel-a6059ab98130fb561157682d320c51c5ccd4b647.zip | |
clk: Show symbolic clock flags in debugfs
Currently the virtual "clk_flags" file in debugfs shows the numeric
value of the top-level framework flags for the specified clock.
Hence the user must manually interpret these values.
Moreover, on big-endian 64-bit systems, the wrong half of the value is
shown, due to the cast from "unsigned long *" to "u32 *".
Fix both issues by showing the symbolic flag names instead.
Any non-standard flags are shown as a hex number.
Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
