Commit 3a267d3b authored by Joe Perches's avatar Joe Perches Committed by Greg Kroah-Hartman

i8k: 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 1f33c41c ("seq_file: Rename seq_overflow() to
     seq_has_overflowed() and make public")
Signed-off-by: default avatarJoe Perches <>
Acked-by: default avatarGuenter Roeck <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent 0a56c0e1
......@@ -510,13 +510,15 @@ static int i8k_proc_show(struct seq_file *seq, void *offset)
* 9) AC power
* 10) Fn Key status
return seq_printf(seq, "%s %s %s %d %d %d %d %d %d %d\n",
seq_printf(seq, "%s %s %s %d %d %d %d %d %d %d\n",
left_fan, right_fan, left_speed, right_speed,
ac_power, fn_key);
return 0;
static int i8k_open_fs(struct inode *inode, struct file *file)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment