From patchwork Wed Aug 10 16:20:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xose Vazquez Perez X-Patchwork-Id: 9273201 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 098AB600CA for ; Wed, 10 Aug 2016 16:24:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E3D072656B for ; Wed, 10 Aug 2016 16:24:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D84592841A; Wed, 10 Aug 2016 16:24:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 681512656B for ; Wed, 10 Aug 2016 16:24:27 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u7AGLES0008751; Wed, 10 Aug 2016 12:21:14 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u7AGKwH6010809 for ; Wed, 10 Aug 2016 12:20:58 -0400 Received: from mx1.redhat.com (ext-mx02.extmail.prod.ext.phx2.redhat.com [10.5.110.26]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u7AGKwVC025807 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 10 Aug 2016 12:20:58 -0400 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9643D7DD01 for ; Wed, 10 Aug 2016 16:20:54 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id i138so10506978wmf.3 for ; Wed, 10 Aug 2016 09:20:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=TVd1P6XljA4NUYo+jAkhKgDxC9JM3FwZ0klP9WHMqJU=; b=fRYYxM379EphM/4LewfCRXuy1ilWw5HoaigvnVIq+A3piqqTZkhPkm0tiNWn3y0zSp Yk/mcwViCgFIr88V892IwihKzNBpaxVKYx2KR4eAqiUtStAqnjmdMG/UGukHy9CCSyQp kei+H3I72/XxjcTnwYW8fA1UAjhBfo2Jf5w5DFMS99aa9UJ46DWULgtFgM5/j8XDjAEP bzUOpDp8EItlM7T4CQDX/69A/vcqMZreumYGc+CaJsNnPIBMrGx3Uv5EvqQ7EuoCYgGP vFwYbi3ryC2m0DVtAHqVZKCPhmN/ANkMTVZmtVdQghJAhM2/VOq2MaJl6Lo8Gl4nLPXw TukA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=TVd1P6XljA4NUYo+jAkhKgDxC9JM3FwZ0klP9WHMqJU=; b=Ne+EEx7NIrPX9dbBZz8hZCkT2QdJNx3fmge+Y0XbAbly8L9PMo4U4LqZrAWGiduYWr /urnTRr2AeZzFU0X4OIeTy0dCusG8gXEUMW1maRQUBUsLN9v7JO/nLHhTfjbfKLy+dU/ p3SnGWGsnJ8Tx6Pi0fCM1V6bPHXAkOR13skYpBDYLwZOO+knwyt3NJ9WdroOJ/Ux4Cat C6bk9d2D1iQI4tiLuuvx69GYqGbRhShMVggi4pWIou6jCpdxbvkLYEYBX8VjnA3c+5dH WM9xh/R6/9D6PmmX/jnz1YQ/q/W1XcOPSo60AVcT9OyMIjcgde6/tj1loNp1zb/U45+o DL2Q== X-Gm-Message-State: AEkooutx/8UenC12O7hPmrJwy82ezRR0IbJFx4MwwdMWjAdxYM+lu8O0vN1bRQ3xYN4fzA== X-Received: by 10.194.175.38 with SMTP id bx6mr5553862wjc.47.1470846053137; Wed, 10 Aug 2016 09:20:53 -0700 (PDT) Received: from localhost ([46.222.153.25]) by smtp.gmail.com with ESMTPSA id n2sm43821185wjd.1.2016.08.10.09.20.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Aug 2016 09:20:52 -0700 (PDT) From: Xose Vazquez Perez To: Date: Wed, 10 Aug 2016 18:20:26 +0200 Message-Id: <1470846038-6590-3-git-send-email-xose.vazquez@gmail.com> In-Reply-To: <1470846038-6590-1-git-send-email-xose.vazquez@gmail.com> References: <1470846038-6590-1-git-send-email-xose.vazquez@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Wed, 10 Aug 2016 16:20:54 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Wed, 10 Aug 2016 16:20:54 +0000 (UTC) for IP:'74.125.82.66' DOMAIN:'mail-wm0-f66.google.com' HELO:'mail-wm0-f66.google.com' FROM:'xose.vazquez@gmail.com' RCPT:'' X-RedHat-Spam-Score: -0.02 (BAYES_50, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS) 74.125.82.66 mail-wm0-f66.google.com 74.125.82.66 mail-wm0-f66.google.com X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.26 X-loop: dm-devel@redhat.com Cc: device-mapper development , Xose Vazquez Perez Subject: [dm-devel] [PATCH 03/15] multipath-tools: replace (|) with [] when there is one element X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Virus-Scanned: ClamAV using ClamSMTP Cc: Hannes Reinecke Cc: Christophe Varoqui Cc: device-mapper development Signed-off-by: Xose Vazquez Perez --- libmultipath/hwtable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c index 90c9b5b..ba87ed2 100644 --- a/libmultipath/hwtable.c +++ b/libmultipath/hwtable.c @@ -122,7 +122,7 @@ static struct hwentry default_hw[] = { { /* MSA 1040/2040 family */ .vendor = "HP", - .product = "MSA (1|2)040 SA(N|S)", + .product = "MSA [12]040 SA[NS]", .pgpolicy = GROUP_BY_PRIO, .pgfailback = -FAILBACK_IMMEDIATE, .no_path_retry = 18,