Re: LOCALVERSION_AUTO considered harmful

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: rdunlap
Date: Sunday, April 11, 2010 - 7:56 pm

On Sun, April 11, 2010 3:24 pm, Thomas Gleixner wrote:

Pavel's original example (afaik) was on April 5:
Subject: 2.6.34-rc3: Can't insmod after make, because versions now differ?!

Apr  5 07:33:16 amd kernel: udlfb: version magic
'2.6.34-rc3-00345-ge8240f9-dirty SMP mod_unload CORE2 ' should be
'2.6.34-rc3-00344-g548fc0a-dirty SMP mod_unload CORE2 '


So what do you suggest?  If the "magic" strings contain "-dirty ",
then ignore that and the 2 preceding hyphen-separated fields?

That could be dangerous if some kernel internal structures have changed.
I.e., user/developer beware.

Maybe ignore those strings iff some override has been set somewhere?

---
~Randy

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
LOCALVERSION_AUTO considered harmful, Pavel Machek, (Sun Apr 11, 9:47 am)
Re: LOCALVERSION_AUTO considered harmful, Geert Uytterhoeven, (Sun Apr 11, 11:58 am)
Re: LOCALVERSION_AUTO considered harmful, Pavel Machek, (Sun Apr 11, 1:14 pm)
Re: LOCALVERSION_AUTO considered harmful, Thomas Gleixner, (Sun Apr 11, 3:24 pm)
Re: LOCALVERSION_AUTO considered harmful, rdunlap, (Sun Apr 11, 6:20 pm)
Re: LOCALVERSION_AUTO considered harmful, rdunlap, (Sun Apr 11, 7:56 pm)
Re: LOCALVERSION_AUTO considered harmful, Randy Dunlap, (Sun Apr 11, 8:49 pm)
Re: LOCALVERSION_AUTO considered harmful, Theodore Tso, (Mon Apr 12, 5:48 am)
Re: LOCALVERSION_AUTO considered harmful, Pavel Machek, (Mon Apr 12, 6:14 am)
Re: LOCALVERSION_AUTO considered harmful, Linus Torvalds, (Mon Apr 12, 10:03 am)
Re: LOCALVERSION_AUTO considered harmful, Alexey Dobriyan, (Mon Apr 12, 11:51 am)