From dbc89e28565b3930e24286d464d582e7de3c3109 Mon Sep 17 00:00:00 2001 From: Alexander Viro Date: Wed, 25 Aug 2004 18:12:33 -0700 Subject: [PATCH] [PATCH] mpoa warning fix Forgot to switch return type from ssize_t to int when switching to seq_file Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- net/atm/mpoa_proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/atm/mpoa_proc.c b/net/atm/mpoa_proc.c index 4f1849f9ab29a..60834b5a14d60 100644 --- a/net/atm/mpoa_proc.c +++ b/net/atm/mpoa_proc.c @@ -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. */ -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; unsigned char *temp; -- 2.53.0