[PATCH v2 0/4] clk: Fix debugfs_create_*() usage

From: Geert Uytterhoeven
Date: Wed Jan 03 2018 - 06:07:17 EST


Hi Mike, Stephen,

When exposing data access through debugfs, the correct
debugfs_create_*() functions must be used, matching the data types.

This patch series remove all casts from data pointers passed to
debugfs_create_*() functions, as such casts prevent the compiler from flagging
bugs, and fixes wrong usage exposed by that.

Please refer to the individual patches for a changelog.

Thanks!

Geert Uytterhoeven (4):
clk: Improve flags doc for of_clk_detect_critical()
clk: Use octal instead of symbolic permissions
clk: Show symbolic clock flags in debugfs
clk: Fix debugfs_create_*() usage

drivers/clk/clk.c | 92 +++++++++++++++++++++++++++++++++-----------
include/linux/clk-provider.h | 2 +
2 files changed, 72 insertions(+), 22 deletions(-)

--
2.7.4

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds