From patchwork Thu Aug 20 21:56:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory Rose X-Patchwork-Id: 1348634 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=ZuH7pkyg; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BXdlv4M98z9sPB for ; Fri, 21 Aug 2020 07:56:59 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 92A8A86AC6; Thu, 20 Aug 2020 21:56:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4YtXqsn-0XkR; Thu, 20 Aug 2020 21:56:55 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8B2FF86AB7; Thu, 20 Aug 2020 21:56:55 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 7875FC07FF; Thu, 20 Aug 2020 21:56:55 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id A3BA1C0051 for ; Thu, 20 Aug 2020 21:56:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 902412286C for ; Thu, 20 Aug 2020 21:56:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FOplwPS-GCHP for ; Thu, 20 Aug 2020 21:56:54 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by silver.osuosl.org (Postfix) with ESMTPS id 0C863221F8 for ; Thu, 20 Aug 2020 21:56:54 +0000 (UTC) Received: by mail-pg1-f196.google.com with SMTP id 189so1765004pgg.13 for ; Thu, 20 Aug 2020 14:56:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=J6l/qMj5+GwdQJ95RWZJcjib7ytPm2T0OJrgUGTLiEA=; b=ZuH7pkyg1iV8pmXJFwOLsHhnZWzMoDDmg2LnU1zgUvdd54eYelabFebuLLn05iQy77 Sy02OI9+8/eAf2FyCkeBZrEdDW7zsn00ykGFfupvEC/44mJl3f45VF+Tc4KRNDIB5vq9 EzcwbIXY1ILQ9rVi/r23tDYh+iRt4os6qOneV0TpdDojqIwR6dntsWuHjY0hee91mQ3z 5s1d8OnMhwlLduWZpIJmDWJL5522iQ7C/LBOn7qp7Vs7lBNPx11ywuUlQDn8RdEP2s71 4nNIhBzR7rlrznUWBx4LNijWijVxijTzzyWacumPDc2EA9eRWP9+une3xxopcJGjTEL5 Oxig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=J6l/qMj5+GwdQJ95RWZJcjib7ytPm2T0OJrgUGTLiEA=; b=nzSSg1UjlXwyOoTgqaDj7ClxUsOPSfCPQLpkrlIop9C6HjLkIBYiOyI9+uD/gIBhhX 2L+l4sve8KJujCQLMgDKAJxrVc/JWuVdn14NC0pd4NaS6zIcFr+bGanWaJ8h89zeY6cK UrNk85BIOrOSv6fO5mow+NrwVqBsvgOYG5qnVKQpAnJFqunNGukvu8hHNT73HSw9i7Sn SKQwQgWdYTFJfPf0o3sf2X0OVqqwoiioBZYePDCwMPuNlkK/glEwuk26MU+rqgAZYDiu WRtvb5926gYru+065nUmgsftFhnCF3hO2rfXgQlzWh5M1iwcd2erRTkwyDHSOA8q7St1 Ogwg== X-Gm-Message-State: AOAM531gZEOGTH8+ycgNyd7YHvJuAUtLR9Ez1oMVF4/zmrJL4YHPBvfy X5kaT9R5kzroBV5bencVuTyjaFNarj8lhg== X-Google-Smtp-Source: ABdhPJzPzxyHFahugwW2IWof+sBaoigRJ3xxjFaoAv5w+bXJmgrCz1OGFynnAG8ibfgzgANpOTYbBg== X-Received: by 2002:a63:5552:: with SMTP id f18mr85002pgm.298.1597960613075; Thu, 20 Aug 2020 14:56:53 -0700 (PDT) Received: from gizo.domain (97-115-99-106.ptld.qwest.net. [97.115.99.106]) by smtp.gmail.com with ESMTPSA id t14sm5265pgb.51.2020.08.20.14.56.51 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Aug 2020 14:56:52 -0700 (PDT) From: Greg Rose To: dev@openvswitch.org Date: Thu, 20 Aug 2020 14:56:41 -0700 Message-Id: <1597960601-10306-1-git-send-email-gvrose8192@gmail.com> X-Mailer: git-send-email 1.8.3.1 Subject: [ovs-dev] [PATCH V2] rhel: ovs-kmod-manage.sh: Disable unneeded warning X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" The script itself says which versions the script is needed for but it is run on RHEL 8.x as well where it is not needed. Disable the warning and change the exit code to zero since it may unnecessarily alarm users and is really only for debugging anyway. Signed-off-by: Greg Rose Acked-by: Yi-Hung Wei --- V2 - As per Yi-Hung's suggestion change exit code to zero. --- rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh b/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh index c70e135..bb0d909 100644 --- a/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh +++ b/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh @@ -136,8 +136,8 @@ elif [ "$mainline_major" = "4" ] && [ "$mainline_minor" = "12" ]; then fi if [ X"$ver_offset" = X ]; then - echo "This script is not intended to run on kernel $(uname -r)" - exit 1 +# echo "This script is not intended to run on kernel $(uname -r)" + exit 0 fi #IFS='.\|-' read -r -a version_nums <<<"${current_kernel}"