summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/iommu.c
diff options
context:
space:
mode:
authorJoe Perches2014-09-30 01:08:26 +0200
committerSteven Rostedt2014-11-05 20:13:38 +0100
commit9761536e1d9e9e1f325fb04d4ad46b15a39eb94a (patch)
treea640a6fb114ddecc4e1b87c1731ac9d2bb683797 /drivers/iommu/iommu.c
parentfs: Convert show_fdinfo functions to void (diff)
downloadkernel-qcow2-linux-9761536e1d9e9e1f325fb04d4ad46b15a39eb94a.tar.gz
kernel-qcow2-linux-9761536e1d9e9e1f325fb04d4ad46b15a39eb94a.tar.xz
kernel-qcow2-linux-9761536e1d9e9e1f325fb04d4ad46b15a39eb94a.zip
debugfs: Have debugfs_print_regs32() return void
The seq_printf() will soon just return void, and seq_has_overflowed() should be used instead to see if the seq can no longer accept input. As the return value of debugfs_print_regs32() has no users and the seq_file descriptor should be checked with seq_has_overflowed() instead of return values of functions, it is better to just have debugfs_print_regs32() also return void. Link: http://lkml.kernel.org/p/2634b19eb1c04a9d31148c1fe6f1f3819be95349.1412031505.git.joe@perches.com Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Joe Perches <joe@perches.com> [ original change only updated seq_printf() return, added return of void to debugfs_print_regs32() as well ] Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'drivers/iommu/iommu.c')
0 files changed, 0 insertions, 0 deletions