2012-10-15 21:43:31

by Larry Finger

[permalink] [raw]
Subject: [PATCH] include/version.h: Update for kernel 3.7

The value for LINUX_VERSION_CODE was not updated for kernel 3.7-rc1.

Signed-off-by: Larry Finger <[email protected]>
---
version.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---

Index: linux-2.6/include/linux/version.h
===================================================================
--- linux-2.6.orig/include/linux/version.h
+++ linux-2.6/include/linux/version.h
@@ -1,2 +1,2 @@
-#define LINUX_VERSION_CODE 198144
+#define LINUX_VERSION_CODE 198400
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))


2012-10-15 21:54:16

by Borislav Petkov

[permalink] [raw]
Subject: Re: [PATCH] include/version.h: Update for kernel 3.7

On Mon, Oct 15, 2012 at 04:43:27PM -0500, Larry Finger wrote:
> The value for LINUX_VERSION_CODE was not updated for kernel 3.7-rc1.

That's probably fallout from the whole UAPI thing.

>
> Signed-off-by: Larry Finger <[email protected]>
> ---
> version.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> ---
>
> Index: linux-2.6/include/linux/version.h
> ===================================================================
> --- linux-2.6.orig/include/linux/version.h
> +++ linux-2.6/include/linux/version.h
> @@ -1,2 +1,2 @@

There are two version.h files on my box:

> -#define LINUX_VERSION_CODE 198144

This is in <include/linux/version.h>

> +#define LINUX_VERSION_CODE 198400

This is in <include/generated/uapi/linux/version.h>

I'd guess that everything should include this new version.h file now
since the Makefile generates this now and not the one above.

But I could very well be wrong.

--
Regards/Gruss,
Boris.

2012-10-16 02:43:18

by Larry Finger

[permalink] [raw]
Subject: Re: [PATCH] include/version.h: Update for kernel 3.7

On 10/15/2012 04:54 PM, Borislav Petkov wrote:
> On Mon, Oct 15, 2012 at 04:43:27PM -0500, Larry Finger wrote:
>> The value for LINUX_VERSION_CODE was not updated for kernel 3.7-rc1.
>
> That's probably fallout from the whole UAPI thing.
>
>>
>> Signed-off-by: Larry Finger <[email protected]>
>> ---
>> version.h | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>> ---
>>
>> Index: linux-2.6/include/linux/version.h
>> ===================================================================
>> --- linux-2.6.orig/include/linux/version.h
>> +++ linux-2.6/include/linux/version.h
>> @@ -1,2 +1,2 @@
>
> There are two version.h files on my box:
>
>> -#define LINUX_VERSION_CODE 198144
>
> This is in <include/linux/version.h>
>
>> +#define LINUX_VERSION_CODE 198400
>
> This is in <include/generated/uapi/linux/version.h>
>
> I'd guess that everything should include this new version.h file now
> since the Makefile generates this now and not the one above.
>
> But I could very well be wrong.

It seems to be fixed now.

Thanks,

Larry

2012-10-16 02:53:55

by Theodore Ts'o

[permalink] [raw]
Subject: Re: [PATCH] include/version.h: Update for kernel 3.7

On Mon, Oct 15, 2012 at 04:43:27PM -0500, Larry Finger wrote:
> The value for LINUX_VERSION_CODE was not updated for kernel 3.7-rc1.
>
> Signed-off-by: Larry Finger <[email protected]>
> ---
> version.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> ---
>
> Index: linux-2.6/include/linux/version.h
> ===================================================================
> --- linux-2.6.orig/include/linux/version.h
> +++ linux-2.6/include/linux/version.h
> @@ -1,2 +1,2 @@
> -#define LINUX_VERSION_CODE 198144
> +#define LINUX_VERSION_CODE 198400
> #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))

This isn't in the Linux git sources; it's a generated file.

- Ted