[lkml]   [2001]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Etiquette of getting a driver into the kernel
On Fri, Nov 23, 2001 at 10:28:28AM +0000, John P. Looney wrote:

> Basically, I've a patch for it against 2.4.15, and I'm wondering how I
> should go about getting it into the kernel, so others can debug it for me :)

It is both a social and a technical ritual, like a raindance. First you
start by removing the obviously ugly parts of your patch, and then continue
to polish it 'till it shines. Then you send a loving message to the relevant
subsystem maintainer, asking for his/her advice.

'How would you like to see this driver' is the question to ask. Mostly you
will then hear that you did everything wrong, that your tabstyle sucks, that
this would not survive 10 seconds on my 64G quad xeon and that it would be
far easier to modify driver x-y-z to support your hardware too, where x-y-z
is not in the least related to your problem.

This is the time to persist. What you are seeing is part of a necessary
ritual. Challenge the subsystem maintainer and show your respect by
following the saner parts of his message. Clean up your coding style, use
kernel infrastructure as suggested, heed arcane hints about locks that need
or to need to be held.

Resubmit and argue. Lobby. Document. Resubmit and argue. Keep sending patches.

And in due time if everything is right, the subsystem maintainer will accept
your patch and feed it to Marcelo or Linus.

Some maintainers are more stubborn then others, by the way. But always keep
in mind that code is king and that it may take a while to bang it into


bert hubert

-- Versatile DNS Software & Services
Trilab The Technology People
Netherlabs BV / - Nerd Available -
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:13    [W:0.047 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site