From patchwork Mon Jun 22 15:58:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Tu X-Patchwork-Id: 1314590 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=XoZwLVSd; 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 49rDcJ5GJ9z9sPF for ; Tue, 23 Jun 2020 01:59:12 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 1A84A87315; Mon, 22 Jun 2020 15:59:11 +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 2T9c41Jq1hQn; Mon, 22 Jun 2020 15:59:09 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by fraxinus.osuosl.org (Postfix) with ESMTP id DA1B0870E3; Mon, 22 Jun 2020 15:59:09 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id CD97EC0891; Mon, 22 Jun 2020 15:59:09 +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 C0B8CC0891 for ; Mon, 22 Jun 2020 15:59:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id AE79226150 for ; Mon, 22 Jun 2020 15:59:08 +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 oPdAmqP0jY1d for ; Mon, 22 Jun 2020 15:59:08 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by silver.osuosl.org (Postfix) with ESMTPS id 589382612E for ; Mon, 22 Jun 2020 15:59:08 +0000 (UTC) Received: by mail-pg1-f193.google.com with SMTP id r18so8313995pgk.11 for ; Mon, 22 Jun 2020 08:59:08 -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=ZMeI/74DYhuiBTnJxIsrx73HwGvhiVp5tC2i6VLNVSQ=; b=XoZwLVSdcZRrjF5qkiB76dljG2IvKJDuipLsqVB8lkHKQdEKENDNzpevrhTJxRVMkj yQRY5poVGKYRRYwH876z4EGKoMttV4IsQJnwHcV6M0UqzBjrELeMRXidrbr70IM3esEg z/c3cfDmJJvQZPzZ2PZwA0pmmuweNst6iEtIio6dIrCKxFj335YpX0t+nIPP5zcsohCQ QSueAAp/8BTNOd1y0guBSZA8/tIAXf/BefZxslslG8M+C2ywAO4nYO+P+JQmu9S7iZAC TqJPvtZqm6UDePf5mJNqimK3nzzEUw6WDxyym/hYzW+AS1s0EyRJd9LHY5avZWJoctNp NiMQ== 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=ZMeI/74DYhuiBTnJxIsrx73HwGvhiVp5tC2i6VLNVSQ=; b=GWZKXTqm7cYmVHZl899rymOePrNfbOv0cHb5Ax5ZNVllj+g39j2ZeCibJcK7mlaaAO HPIJZnHpMtzFvG9pL6a/um8AgzSeJLFnAT5cum+PfMdWaeonYQw7glW2fp+W/zExw+o2 3pV2deWpapE/sKObMv2c+ReuXGicZmHw0VhkS+Vibb9PIobWZ68+wbAx2A2Y+KFHPFly y3FmUBmuboLYn8Zwn2YjusMm3IoMPh4SR4ASEc+y2Pdz4zpShRgid74bjdAc9UWxAL3p 3hJ3QK7cC3DvS2D9As5jJh5BBeYjcy4kUGTYvcqwsUyXmcwoEfcnpSLA3teAVAmHbmhE ArUA== X-Gm-Message-State: AOAM530Kd36SSBX19yU3r6U+45QO/4N6BXNMjnMGlOH8IBxZ2ZX/Q+/d LvUp2CHON4+O0t46UEZ6VaVJ9p5Y8Fs= X-Google-Smtp-Source: ABdhPJxcpnODBIQyNJAOEOCL9WT48jkwmEfqan3/8py55oWmf1hqBbwpPou58HuKdlmyDV5q6J7WOg== X-Received: by 2002:a63:6dc7:: with SMTP id i190mr13303965pgc.304.1592841547696; Mon, 22 Jun 2020 08:59:07 -0700 (PDT) Received: from sc9-mailhost3.vmware.com (c-76-21-95-192.hsd1.ca.comcast.net. [76.21.95.192]) by smtp.gmail.com with ESMTPSA id s11sm14047504pfh.204.2020.06.22.08.59.06 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Jun 2020 08:59:07 -0700 (PDT) From: William Tu To: dev@openvswitch.org Date: Mon, 22 Jun 2020 08:58:42 -0700 Message-Id: <1592841522-13556-1-git-send-email-u9012063@gmail.com> X-Mailer: git-send-email 2.7.4 Subject: [ovs-dev] [PATCH] rhel: Fix syntax error when matching version. 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" Remove the extra 'fi' in the script. VMware-BZ: #2582834 Fixed: fecb28051b35 ("rhel: Support RHEL 7.8 kernel module rpm build.") Reported-by: Abhijeet Malawade Signed-off-by: William Tu Acked-by: Greg Rose --- rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh b/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh index 93d487101253..c70e135cd5ef 100644 --- a/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh +++ b/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh @@ -113,7 +113,6 @@ if [ "$mainline_major" = "3" ] && [ "$mainline_minor" = "10" ]; then comp_ver=10 ver_offset=4 installed_ver="$minor_rev" - fi elif [ "$major_rev" = "1127" ]; then # echo "rhel78" comp_ver=10