Linux backports project
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: "Grumbach, Emmanuel" <emmanuel.grumbach@intel.com>,
	"johannes@sipsolutions.net" <johannes@sipsolutions.net>
Cc: "backports@vger.kernel.org" <backports@vger.kernel.org>
Subject: Re: [PATCH] backport: allow compilation with Ubuntu's 3.13
Date: Wed, 20 May 2015 10:30:31 -0500	[thread overview]
Message-ID: <555CA897.4010606@lwfinger.net> (raw)
In-Reply-To: <1432111194.8314.1.camel@intel.com>

On 05/20/2015 03:39 AM, Grumbach, Emmanuel wrote:
> On Wed, 2015-05-20 at 10:34 +0200, Johannes Berg wrote:
>> On Wed, 2015-05-20 at 08:31 +0000, Grumbach, Emmanuel wrote:
>>> On Wed, 2015-05-20 at 10:27 +0200, Johannes Berg wrote:
>>>> On Tue, 2015-05-19 at 16:42 +0300, Emmanuel Grumbach wrote:
>>>>
>>>>> +#if (LINUX_VERSION_CODE == KERNEL_VERSION(3,13,11) && UTS_UBUNTU_RELEASE_ABI < 24)
>>>>
>>>> Now that I look at this again, I'm confused - shouldn't this whole thing
>>>> have a ! in front?
>>>>
>>>
>>> why?
>>> I need this definition only for Ubuntu releases that are below 24.
>>> Canonical ported that starting 24.
>>> What am I missing?
>>
>> But every mainline kernel, say 3.10, also needs it. Also Ubuntu with
>> 3.10, for example.
>>
>
> You are right obviously.

What happens if the user is not running a Ubuntu kernel and 
UTS_UBUNTU_RELEASE_ABI is undefined?

I am really pissed off about Ubuntu's backporting API changes so that testing 
LINUX_VERSION_CODE is no longer sufficient. In fact when someone complains the 
one of the out-of-kernel drivers that I maintain does not build with kernel X.Y, 
I check that version out in mainline, build the driver to make sure the problem 
is not mine, and then tell them to complain to their vendor. I no longer fix 
those problems. I think RHEL is also doing the same kind of thing - at least I 
did get one complaint about a build problem that seemed to be due to an API 
backport. Where do we stop?

Larry





  reply	other threads:[~2015-05-20 15:30 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-19 13:42 [PATCH] backport: allow compilation with Ubuntu's 3.13 Emmanuel Grumbach
2015-05-20  8:27 ` Johannes Berg
2015-05-20  8:31   ` Grumbach, Emmanuel
2015-05-20  8:34     ` Johannes Berg
2015-05-20  8:39       ` Grumbach, Emmanuel
2015-05-20 15:30         ` Larry Finger [this message]
2015-05-20 16:42           ` Grumbach, Emmanuel
2015-05-20 16:53             ` Larry Finger
2015-05-20 16:55               ` Grumbach, Emmanuel
2015-05-20 16:59               ` Johannes Berg
2015-06-08 18:58           ` Luis R. Rodriguez
2015-06-08 19:00             ` Luis R. Rodriguez
2015-05-20  8:36     ` Luca Coelho
2015-05-25 21:52 ` Hauke Mehrtens
2015-06-08  8:17   ` Luca Coelho
2015-06-08  8:25     ` Coelho, Luciano

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=555CA897.4010606@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=backports@vger.kernel.org \
    --cc=emmanuel.grumbach@intel.com \
    --cc=johannes@sipsolutions.net \
    /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