[ovs-dev,1/9] acinclude: Enable Linux kernel 5.5
diff mbox series

Message ID 1582584158-16348-1-git-send-email-gvrose8192@gmail.com
State Superseded
Headers show
Series
  • [ovs-dev,1/9] acinclude: Enable Linux kernel 5.5
Related show

Commit Message

Greg Rose Feb. 24, 2020, 10:42 p.m. UTC
Signed-off-by: Greg Rose <gvrose8192@gmail.com>
---
 acinclude.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Greg Rose Feb. 26, 2020, 3:15 p.m. UTC | #1
On 2/24/2020 2:42 PM, Greg Rose wrote:
> Signed-off-by: Greg Rose <gvrose8192@gmail.com>
> ---
>   acinclude.m4 | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/acinclude.m4 b/acinclude.m4
> index 1212a46..db64267 100644
> --- a/acinclude.m4
> +++ b/acinclude.m4
> @@ -151,7 +151,7 @@ AC_DEFUN([OVS_CHECK_LINUX], [
>       AC_MSG_RESULT([$kversion])
>   
>       if test "$version" -ge 5; then
> -       if test "$version" = 5 && test "$patchlevel" -le 0; then
> +       if test "$version" = 5 && test "$patchlevel" -le 5; then
>             : # Linux 5.x
>          else
>             AC_ERROR([Linux kernel in $KBUILD is version $kversion, but version newer than 5.0.x is not supported (please refer to the FAQ for advice)])

V2 of patch series with updates to FAQ and NEWS upcoming.

- Greg
William Tu Feb. 26, 2020, 5:42 p.m. UTC | #2
On Mon, Feb 24, 2020 at 02:42:30PM -0800, Greg Rose wrote:
> Signed-off-by: Greg Rose <gvrose8192@gmail.com>
> ---
>  acinclude.m4 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/acinclude.m4 b/acinclude.m4
> index 1212a46..db64267 100644
> --- a/acinclude.m4
> +++ b/acinclude.m4
> @@ -151,7 +151,7 @@ AC_DEFUN([OVS_CHECK_LINUX], [
>      AC_MSG_RESULT([$kversion])
>  
>      if test "$version" -ge 5; then
> -       if test "$version" = 5 && test "$patchlevel" -le 0; then
> +       if test "$version" = 5 && test "$patchlevel" -le 5; then
>            : # Linux 5.x
>         else
>            AC_ERROR([Linux kernel in $KBUILD is version $kversion, but version newer than 5.0.x is not supported (please refer to the FAQ for advice)])
> -- 

Thanks for the patch.

I tested this series on 5.5.0 kernel and work without any issue.
Let's wait a couple more days to see if there are more comments.

William
Greg Rose Feb. 26, 2020, 5:43 p.m. UTC | #3
On 2/26/2020 9:42 AM, William Tu wrote:
> On Mon, Feb 24, 2020 at 02:42:30PM -0800, Greg Rose wrote:
>> Signed-off-by: Greg Rose <gvrose8192@gmail.com>
>> ---
>>   acinclude.m4 | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/acinclude.m4 b/acinclude.m4
>> index 1212a46..db64267 100644
>> --- a/acinclude.m4
>> +++ b/acinclude.m4
>> @@ -151,7 +151,7 @@ AC_DEFUN([OVS_CHECK_LINUX], [
>>       AC_MSG_RESULT([$kversion])
>>   
>>       if test "$version" -ge 5; then
>> -       if test "$version" = 5 && test "$patchlevel" -le 0; then
>> +       if test "$version" = 5 && test "$patchlevel" -le 5; then
>>             : # Linux 5.x
>>          else
>>             AC_ERROR([Linux kernel in $KBUILD is version $kversion, but version newer than 5.0.x is not supported (please refer to the FAQ for advice)])
>> -- 
> Thanks for the patch.
>
> I tested this series on 5.5.0 kernel and work without any issue.
> Let's wait a couple more days to see if there are more comments.
>
> William

Thanks!  Sounds good to me, I also posted V2 with updates to NEWS and FAQ.

- Greg

Patch
diff mbox series

diff --git a/acinclude.m4 b/acinclude.m4
index 1212a46..db64267 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -151,7 +151,7 @@  AC_DEFUN([OVS_CHECK_LINUX], [
     AC_MSG_RESULT([$kversion])
 
     if test "$version" -ge 5; then
-       if test "$version" = 5 && test "$patchlevel" -le 0; then
+       if test "$version" = 5 && test "$patchlevel" -le 5; then
           : # Linux 5.x
        else
           AC_ERROR([Linux kernel in $KBUILD is version $kversion, but version newer than 5.0.x is not supported (please refer to the FAQ for advice)])