lkml.org 
[lkml]   [2004]   [Mar]   [28]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateSun, 28 Mar 2004 15:08:11 +0200
FromWilly TARREAU <>
SubjectRe: [PATCH-2.4.26] ATM cleanup
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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:02    [from the cache]
©2003-2008