Commit dbc89e28 authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[PATCH] mpoa warning fix

Forgot to switch return type from ssize_t to int when switching to seq_file
Signed-off-by: default avatarAl Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent e2d70991
...@@ -121,7 +121,7 @@ static void mpc_stop(struct seq_file *m, void *v) ...@@ -121,7 +121,7 @@ static void mpc_stop(struct seq_file *m, void *v)
/* /*
* READING function - called when the /proc/atm/mpoa file is read from. * READING function - called when the /proc/atm/mpoa file is read from.
*/ */
static ssize_t mpc_show(struct seq_file *m, void *v) static int mpc_show(struct seq_file *m, void *v)
{ {
struct mpoa_client *mpc = v; struct mpoa_client *mpc = v;
unsigned char *temp; unsigned char *temp;
......
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