[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHA+R7NFRKU_XDpJT1ZFdx0Rp67qpnwcHw5asAxT_oG8wQTM6A@mail.gmail.com>
Date: Thu, 6 Feb 2014 13:51:16 -0800
From: Cong Wang <cwang@...pensource.com>
To: "Carlos O'Donell" <carlos@...hat.com>
Cc: Jan Moskyto Matejka <mq@...e.cz>,
"David S. Miller" <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] inet: defines IPPROTO_* needed for module alias generation
On Thu, Feb 6, 2014 at 1:33 PM, Carlos O'Donell <carlos@...hat.com> wrote:
> On 02/06/2014 06:10 AM, Jan Moskyto Matejka wrote:
>> Reverting this change back to define's to fix the aliases.
>>
>> modinfo mip6 (before this change)
>> alias: xfrm-type-10-IPPROTO_DSTOPTS
>> alias: xfrm-type-10-IPPROTO_ROUTING
>>
>> modinfo mip6 (after this change)
>> alias: xfrm-type-10-43
>> alias: xfrm-type-10-60
>
> Instead of reverting these changes I suggest someone fix
> whatever is processing that information.
It is stringfy by c preprocessor. enum should be processed
after preprocessing, therefore fails to be converted to it
real value at preprocessing stage.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists