mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-03 05:40:48 -05:00
staging: rtl8192x: Remove use of seq_printf return value
The seq_printf return value, because it's frequently misused,
will eventually be converted to void.
See: commit 1f33c41c03 ("seq_file: Rename seq_overflow() to
seq_has_overflowed() and make public")
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
5877ecc3f7
commit
d08c028c75
@@ -207,7 +207,9 @@ static struct proc_dir_entry *rtllib_proc;
|
||||
|
||||
static int show_debug_level(struct seq_file *m, void *v)
|
||||
{
|
||||
return seq_printf(m, "0x%08X\n", rtllib_debug_level);
|
||||
seq_printf(m, "0x%08X\n", rtllib_debug_level);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static ssize_t write_debug_level(struct file *file, const char __user *buffer,
|
||||
|
||||
@@ -245,7 +245,9 @@ static struct proc_dir_entry *ieee80211_proc;
|
||||
|
||||
static int show_debug_level(struct seq_file *m, void *v)
|
||||
{
|
||||
return seq_printf(m, "0x%08X\n", ieee80211_debug_level);
|
||||
seq_printf(m, "0x%08X\n", ieee80211_debug_level);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static ssize_t write_debug_level(struct file *file, const char __user *buffer,
|
||||
|
||||
Reference in New Issue
Block a user