lkml.org 
[lkml]   [2019]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] debugfs: Remove casts in debugfs_create_*() callers
Date
	Hi all,

Casting parameters in debugfs_create_*() calls prevents the compiler
from performing some checks.

Hence this patch series removes superfluous casts, or reworks code to no
longer need the casts.

All patches can be applied independently, there are no dependencies.
Thanks for your comments!

Geert Uytterhoeven (5):
crypto: nx - Improve debugfs_create_u{32,64}() handling for atomics
cxgb4/cxgb4vf: Remove superfluous void * cast in debugfs_create_file()
call
drm/amdgpu: Remove superfluous void * cast in debugfs_create_file()
call
power: avs: smartreflex: Remove superfluous cast in
debugfs_create_file() call
ionic: Use debugfs_create_bool() to export bool

drivers/crypto/nx/nx_debugfs.c | 18 +++++++++---------
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 4 ++--
.../ethernet/chelsio/cxgb4vf/cxgb4vf_main.c | 2 +-
.../ethernet/pensando/ionic/ionic_debugfs.c | 3 +--
drivers/power/avs/smartreflex.c | 2 +-
5 files changed, 14 insertions(+), 15 deletions(-)

--
2.17.1

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: 2019-10-21 16:52    [W:0.082 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site