From: Arjan van de Ven <arjan@infradead.org>
To: William D Waddington <william.waddington@beezmo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [RFCLUE3] flagging kernel interface changes
Date: Wed, 15 Nov 2006 23:25:33 +0100 [thread overview]
Message-ID: <1163629533.31358.168.camel@laptopd505.fenrus.org> (raw)
In-Reply-To: <455B9133.9030704@beezmo.com>
> I don't want to start an argument about "stable_api_nonsense" or the
> wisdom of out-of-tree drivers. Just curious about the - why - and
> whether it is indifference or antagonism toward drivers outside the
> fold. Or ???
Hi,
in general the best approach has been to make the driver support the NEW
interface, and then do some compat thing to fake the old one. The other
way around is going to be MUCH more painful long term.
So as general rule: always follow the latest API, and use a compat.h
hack for older kernels inside your driver, but keep the normal code
clean. It's not always easy, but keeping old API and faking it to the
new one is only going to be really really painful; things will deviate
more and more over time and at some point you'll have to jump anyway.
In addition quite a few api changes are done in a way that make this
less painful than the other way around..
however in general really there is pain to be out-of-tree; and to some degree that's an incentive to merge back :)
> -
> if you want to mail me at work (you don't), use arjan (at) linux.intel.com
> Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org
next prev parent reply other threads:[~2006-11-15 22:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-15 22:14 William D Waddington
2006-11-15 22:25 ` Arjan van de Ven [this message]
2006-11-15 22:37 ` William D Waddington
2006-11-16 1:05 ` Bryan O'Sullivan
2006-11-15 23:17 ` Jesper Juhl
2007-01-21 19:15 ` William D Waddington
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1163629533.31358.168.camel@laptopd505.fenrus.org \
--to=arjan@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=william.waddington@beezmo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®