LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH][0/5] floppy.c: first round of cleanup patches - the simple stuff
@ 2007-02-05 23:28 Jesper Juhl
  2007-02-06  8:06 ` Andi Kleen
  2007-02-06 11:41 ` Alan
  0 siblings, 2 replies; 5+ messages in thread
From: Jesper Juhl @ 2007-02-05 23:28 UTC (permalink / raw)
  To: linux-kernel
  Cc: Andi Kleen, Trent Waddington, Bartlomiej Zolnierkiewicz,
	Alan Cox, Jesper Juhl

Greetings people,

Here is, as promised, the first round of cleanup patches for floppy.c
(more will follow later).

I opted to start with the simple stuff first, both to get it out of the way
and also to get something done resonably fast, so don't expect anything 
earth shattering in this first series.

There are 5 patches in this series. They are based on 2.6.20 and are
incremental.

These are the patches (they'll be posted to the same recipients as this initial mail) : 

	[PATCH][1/5] floppy.c: Initial (partial) CodingStyle cleanup
	[PATCH][2/5] floppy.c: Remove pointless register keywords
	[PATCH][3/5] floppy.c: Remove dead/commented out code
	[PATCH][4/5] floppy.c: Add explicit/better printk() levels
	[PATCH][5/5] floppy.c: Fix device_create_file() warning
	
The Cc list is composed of people who expressed interrest in this cleanup +  
people who look like original authors of the code (for whom I could locate 
email addresses).

Comments and (constructive) criticism is welcome.
And if someone feels like merging this upstream you are most welcome :-)


Kind regards,

  Jesper Juhl <jesper.juhl@gmail.com>



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH][0/5] floppy.c: first round of cleanup patches - the simple stuff
  2007-02-05 23:28 [PATCH][0/5] floppy.c: first round of cleanup patches - the simple stuff Jesper Juhl
@ 2007-02-06  8:06 ` Andi Kleen
  2007-02-06  9:15   ` Jesper Juhl
  2007-02-06 11:41 ` Alan
  1 sibling, 1 reply; 5+ messages in thread
From: Andi Kleen @ 2007-02-06  8:06 UTC (permalink / raw)
  To: Jesper Juhl
  Cc: linux-kernel, Trent Waddington, Bartlomiej Zolnierkiewicz, Alan Cox

On Tuesday 06 February 2007 00:28, Jesper Juhl wrote:
> Greetings people,
> 
> Here is, as promised, the first round of cleanup patches for floppy.c
> (more will follow later).

I think the real problem with floppy.c is the basic code logic,
not the coding style. While cleaning the later up is nice, I'm afraid 
it doesn't really help all that much because that code has to be
replaced anyways.

-Andi

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH][0/5] floppy.c: first round of cleanup patches - the simple stuff
  2007-02-06  8:06 ` Andi Kleen
@ 2007-02-06  9:15   ` Jesper Juhl
  0 siblings, 0 replies; 5+ messages in thread
From: Jesper Juhl @ 2007-02-06  9:15 UTC (permalink / raw)
  To: Andi Kleen
  Cc: linux-kernel, Trent Waddington, Bartlomiej Zolnierkiewicz, Alan Cox

On 06/02/07, Andi Kleen <ak@suse.de> wrote:
> On Tuesday 06 February 2007 00:28, Jesper Juhl wrote:
> > Greetings people,
> >
> > Here is, as promised, the first round of cleanup patches for floppy.c
> > (more will follow later).
>
> I think the real problem with floppy.c is the basic code logic,
> not the coding style. While cleaning the later up is nice, I'm afraid
> it doesn't really help all that much because that code has to be
> replaced anyways.
>

And I will get to the logic later, don't worry :-)   I just wanted to
get all the simple little things out of the way first.

Thank you for commenting.

-- 
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH][0/5] floppy.c: first round of cleanup patches - the simple stuff
  2007-02-05 23:28 [PATCH][0/5] floppy.c: first round of cleanup patches - the simple stuff Jesper Juhl
  2007-02-06  8:06 ` Andi Kleen
@ 2007-02-06 11:41 ` Alan
       [not found]   ` <58cb370e0702061458u41f0a108n1eeae03770433bbf@mail.gmail.com>
  1 sibling, 1 reply; 5+ messages in thread
From: Alan @ 2007-02-06 11:41 UTC (permalink / raw)
  To: Jesper Juhl
  Cc: linux-kernel, Andi Kleen, Trent Waddington,
	Bartlomiej Zolnierkiewicz, Jesper Juhl

On Tue, 6 Feb 2007 00:28:31 +0100
Jesper Juhl <jesper.juhl@gmail.com> wrote:

> Greetings people,
> 
> Here is, as promised, the first round of cleanup patches for floppy.c
> (more will follow later).
> 
> I opted to start with the simple stuff first, both to get it out of the way
> and also to get something done resonably fast, so don't expect anything 
> earth shattering in this first series.
> 
> There are 5 patches in this series. They are based on 2.6.20 and are
> incremental.
> 
> These are the patches (they'll be posted to the same recipients as this initial mail) : 
> 
> 	[PATCH][1/5] floppy.c: Initial (partial) CodingStyle cleanup
> 	[PATCH][2/5] floppy.c: Remove pointless register keywords
> 	[PATCH][3/5] floppy.c: Remove dead/commented out code
> 	[PATCH][4/5] floppy.c: Add explicit/better printk() levels
> 	[PATCH][5/5] floppy.c: Fix device_create_file() warning

Acked-by: Alan Cox <alan@redhat.com>

for the set of 5 patches. Its a beginning and removing the dead wood so
you can see what is actually there is a good a beginning as any other.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH][0/5] floppy.c: first round of cleanup patches - the simple stuff
       [not found]   ` <58cb370e0702061458u41f0a108n1eeae03770433bbf@mail.gmail.com>
@ 2007-02-06 23:15     ` Bartlomiej Zolnierkiewicz
  0 siblings, 0 replies; 5+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2007-02-06 23:15 UTC (permalink / raw)
  To: Jesper Juhl; +Cc: Alan, linux-kernel, Andi Kleen, Trent Waddington


Alan wrote:
> 
> On Tue, 6 Feb 2007 00:28:31 +0100
> Jesper Juhl <jesper.juhl@gmail.com> wrote:
> 
>> Greetings people,
>>
>> Here is, as promised, the first round of cleanup patches for floppy.c
>> (more will follow later).
>>
>> I opted to start with the simple stuff first, both to get it out of
>> the way
>> and also to get something done resonably fast, so don't expect anything
>> earth shattering in this first series.
>>
>> There are 5 patches in this series. They are based on 2.6.20 and are
>> incremental.
>>
>> These are the patches (they'll be posted to the same recipients as
>> this initial mail) :
>>
>>       [PATCH][1/5] floppy.c: Initial (partial) CodingStyle cleanup
>>       [PATCH][2/5] floppy.c: Remove pointless register keywords
>>       [PATCH][3/5] floppy.c: Remove dead/commented out code
>>       [PATCH][4/5] floppy.c: Add explicit/better printk() levels
>>       [PATCH][5/5] floppy.c: Fix device_create_file() warning
> 
> Acked-by: Alan Cox <alan@redhat.com>
> 
> for the set of 5 patches. Its a beginning and removing the dead wood so
> you can see what is actually there is a good a beginning as any other.

Seconded, looks like a good beginning.
You may also add my ACK for the whole set.

Thanks,
Bart


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-02-06 23:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-05 23:28 [PATCH][0/5] floppy.c: first round of cleanup patches - the simple stuff Jesper Juhl
2007-02-06  8:06 ` Andi Kleen
2007-02-06  9:15   ` Jesper Juhl
2007-02-06 11:41 ` Alan
     [not found]   ` <58cb370e0702061458u41f0a108n1eeae03770433bbf@mail.gmail.com>
2007-02-06 23:15     ` Bartlomiej Zolnierkiewicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).