On Fri, 2014-06-20 at 11:39 +0200, Michal Marek wrote: > Dne 19.6.2014 16:44, Kamal Mostafa napsal(a): > > Adds new macro KERNEL_EXTRAVERSION(a,b,c,d) and value > > LINUX_EXTRAVERSION_CODE to version.h, allowing ranged version checks of > > extended-stable versions that use a numeric EXTRAVERSION value. > > > > The new KERNEL_EXTRAVERSION(a,b,c,d) works like KERNEL_VERSION(a,b,c)... > > If EXTRAVERSION is set to ".{integer}" (the common extended-stable kernel > > version number scheme) then {integer} corresponds to KERNEL_EXTRAVERSION's > > fourth arg. If EXTRAVERSION is blank or a non-".{integer}" string like > > "-rc5", that corresponds to a fourth parameter of 0. > > Why don't you guys simply increment the third digit in the extended > stable tree and get support for KERNEL_VERSION() for free? You always > start after the respective stable branch has reached EOL, don't you? Yes, we only start after the stable branch has reached EOL. We don't increment the third integer for the extended-stable branches (we add a fourth integer instead) in order to avoid the possibility of a collision if Greg KH were to ever release a "special" post-EOL version of one of his branches. -Kamal -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html