Re: [PATCH-2.4.26] ATM cleanup

From: Willy TARREAU
Date: Sun Mar 28 2004 - 08:09:14 EST


On Sun, Mar 28, 2004 at 05:03:17AM -0800, Chris Wedgwood wrote:
> On Sun, Mar 28, 2004 at 02:58:52PM +0200, Willy TARREAU wrote:
>
> > +++ ./net/atm/mpoa_proc.c Sun Mar 28 14:52:34 2004
> > @@ -102,7 +102,7 @@
> > size_t count, loff_t *pos){
> > unsigned long page = 0;
> > unsigned char *temp;
> > - ssize_t length = 0;
> > + int length = 0;
> > int i = 0;
> > struct mpoa_client *mpc = mpcs;
> > in_cache_entry *in_entry;
>
> no tabs?

Good catch, it seems there are many lines without tabs in this file,
but I don't want to re-indent all the file. At least, the following
patch fixes makes it better for the concerned function.

Cheers,
Willy


--- ./net/atm/mpoa_proc.c.orig Sun Mar 28 15:04:17 2004
+++ ./net/atm/mpoa_proc.c Sun Mar 28 15:06:25 2004
@@ -100,9 +100,9 @@
*/
static ssize_t proc_mpc_read(struct file *file, char *buff,
size_t count, loff_t *pos){
- unsigned long page = 0;
+ unsigned long page = 0;
unsigned char *temp;
- ssize_t length = 0;
+ int length = 0;
int i = 0;
struct mpoa_client *mpc = mpcs;
in_cache_entry *in_entry;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/