diff mbox series

[ovs-dev,01/23] acinclude: Enable builds up to Linux 5.9

Message ID 1597963790-12362-2-git-send-email-gvrose8192@gmail.com
State Superseded
Headers show
Series Add support for Linux kernels up to 5.9.x | expand

Commit Message

Gregory Rose Aug. 20, 2020, 10:49 p.m. UTC
Allow building openvswitch against Linux kernels up to and including
version 5.9.

Signed-off-by: Greg Rose <gvrose8192@gmail.com>

squash
---
 acinclude.m4 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Ilya Maximets Sept. 3, 2020, 9:09 p.m. UTC | #1
On 8/21/20 12:49 AM, Greg Rose wrote:
> Allow building openvswitch against Linux kernels up to and including
> version 5.9.
> 
> Signed-off-by: Greg Rose <gvrose8192@gmail.com>
> 
> squash

This looks like some rebase artifact.

Also, this patch, I think, should go at the end of the series before
the documentation update.

Best regards, Ilya Maximets.

> ---
>  acinclude.m4 | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/acinclude.m4 b/acinclude.m4
> index 84f344d..263c9f4 100644
> --- a/acinclude.m4
> +++ b/acinclude.m4
> @@ -167,10 +167,10 @@ AC_DEFUN([OVS_CHECK_LINUX], [
>      AC_MSG_RESULT([$kversion])
>  
>      if test "$version" -ge 5; then
> -       if test "$version" = 5 && test "$patchlevel" -le 5; then
> +       if test "$version" = 5 && test "$patchlevel" -le 9; then
>            : # Linux 5.x
>         else
> -          AC_ERROR([Linux kernel in $KBUILD is version $kversion, but version newer than 5.5.x is not supported (please refer to the FAQ for advice)])
> +          AC_ERROR([Linux kernel in $KBUILD is version $kversion, but version newer than 5.9.x is not supported (please refer to the FAQ for advice)])
>         fi
>      elif test "$version" = 4; then
>         : # Linux 4.x
>
diff mbox series

Patch

diff --git a/acinclude.m4 b/acinclude.m4
index 84f344d..263c9f4 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -167,10 +167,10 @@  AC_DEFUN([OVS_CHECK_LINUX], [
     AC_MSG_RESULT([$kversion])
 
     if test "$version" -ge 5; then
-       if test "$version" = 5 && test "$patchlevel" -le 5; then
+       if test "$version" = 5 && test "$patchlevel" -le 9; then
           : # Linux 5.x
        else
-          AC_ERROR([Linux kernel in $KBUILD is version $kversion, but version newer than 5.5.x is not supported (please refer to the FAQ for advice)])
+          AC_ERROR([Linux kernel in $KBUILD is version $kversion, but version newer than 5.9.x is not supported (please refer to the FAQ for advice)])
        fi
     elif test "$version" = 4; then
        : # Linux 4.x