lkml.org 
[lkml]   [2018]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/4] clk: Fix debugfs_create_*() usage
Date
	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@linux-m68k.org

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

\
 
 \ /
  Last update: 2018-01-03 12:07    [W:0.117 / U:0.896 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site