[lkml]   [2000]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Re: Move of input drivers, some word needed from you
>>>>> "Linus" == Linus Torvalds <> writes:

Linus> It is NOT true that "shared code means less bugs". People, wake
Linus> up!

Linus> It's true that "simple and tested code means less bugs". And
Linus> quite often, code sharing will imply that the code gets (a)
Linus> more complex and (b) has cases that people who make changes
Linus> will never be able to test.

Linus> No, I'm not saying that sharing is bad. Sharing is good. But
Linus> anybody who makes a blanket statement like "sharing reduces
Linus> bugs" is full of crap.

I agree with you that we should not try to share code at any price.
However, we have seen many many times that someone copies a driver,
changes a couple of lines of code such as the device detection code
and possibly the register access macros and adds him/her-self as the
author and voila we have a `new' driver.

This type of programming is bad since bug fixes to the original driver
rarely propagate to the new one. A bit of extra work to generalize the
register access macros often pays off very well in the long run.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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