From patchwork Sun Oct 9 13:31:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eugene Syromyatnikov X-Patchwork-Id: 9369117 X-Patchwork-Delegate: snitzer@redhat.com 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 B208560865 for ; Mon, 10 Oct 2016 08:33:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A5AD329325 for ; Mon, 10 Oct 2016 08:33:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9ABA92933B; Mon, 10 Oct 2016 08:33:05 +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=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mx5-phx2.redhat.com (mx5-phx2.redhat.com [209.132.183.37]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5A9472932F for ; Mon, 10 Oct 2016 08:33:05 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx5-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u9A8Ui1g036848; Mon, 10 Oct 2016 04:30:44 -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 u99DVEeH016997 for ; Sun, 9 Oct 2016 09:31:14 -0400 Received: from mx1.redhat.com (ext-mx09.extmail.prod.ext.phx2.redhat.com [10.5.110.38]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u99DVEKw003759 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 9 Oct 2016 09:31:14 -0400 Received: from mail-lf0-f68.google.com (mail-lf0-f68.google.com [209.85.215.68]) (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 4B1D64E4C1; Sun, 9 Oct 2016 13:31:13 +0000 (UTC) Received: by mail-lf0-f68.google.com with SMTP id p80so5475615lfp.1; Sun, 09 Oct 2016 06:31:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=4TuYKB2mmznPWWyAs/JLkVf1i0GQNaiJo6rMKggOpbY=; b=s9yqFY8z90v8GeEzy3bxLDqbXAvUHfdwad/aYWzuP49QuKDiJ4KkuDIO0n1vR0Z9/5 lmFrQHc3UdOkZc3W0bWZlXkT6b751FQJtDF5MAbXLaHA396AYjx3YkCTFQMw6E8aGMb0 s6l1ZUk/IYYfcgAklMtpHf6ZcCbacnAvJZW7AqaqIAVcYX6/nS9mvkUiyJqbYUSm7Eqr aIHTH4zycB0JrJP3zxjLDKnViwG+Oap9nJBfHd7C+CtwsPDZgr4Li2Ulr7C6uyKCNDYi Ky0vYrwQn24EZNvck0gQksm+oHY1FQQwDYBoF7NbCB7ZRKak4urB569Bb3MVUEBLzZ5s 3/EQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=4TuYKB2mmznPWWyAs/JLkVf1i0GQNaiJo6rMKggOpbY=; b=m+G99QbQbGiRWyJD+V4YXethZgJAcP24f3rsTbwms/wiV89Ccopam7M6XX0Rniq4Kp MoxmciaqG6akiepuQ8+Sw0EMATENc+w3Wc8zi2u7egu966R7FcR89jtCfsm+aeW2lMPV /Qvq5Ylm9E/DG6721RWA/qJj1AmX1fZ4HXzMaYN3PDU8bUF20RUjREhzjFWZJV3B5Z2i f6/b6fKP7OVq10/3hyxks710O/3DlLQfgoC1kTDAkL3SonUSG5RSX/uwb1TruAc3AOI6 o54JVWJi5eRtNdl852hCYqvyndqSE9yW8qE6lNs3jbqnGQVtHOyxAuBS5+PGQ6ObZqfG 3jcA== X-Gm-Message-State: AA6/9Rk1RdIjopK4rSEPkMwIn45nONkzC1nkAL1hnoaZk/bSQ6iQ0CoL5qTPzKfOeh0yjw== X-Received: by 10.25.157.67 with SMTP id g64mr186224lfe.92.1476019871648; Sun, 09 Oct 2016 06:31:11 -0700 (PDT) Received: from obsidian (broadband-46-188-15-144.2com.net. [46.188.15.144]) by smtp.gmail.com with ESMTPSA id 198sm4064627ljf.17.2016.10.09.06.31.10 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Sun, 09 Oct 2016 06:31:11 -0700 (PDT) Date: Sun, 9 Oct 2016 16:31:09 +0300 From: Eugene Syromyatnikov To: strace-devel@lists.sourceforge.net Message-ID: <20161009133109.GA4177@obsidian> References: <20161005.192828.566127461630656590.yamato@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20161005.192828.566127461630656590.yamato@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Sun, 09 Oct 2016 13:31:13 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Sun, 09 Oct 2016 13:31:13 +0000 (UTC) for IP:'209.85.215.68' DOMAIN:'mail-lf0-f68.google.com' HELO:'mail-lf0-f68.google.com' FROM:'evgsyr@gmail.com' RCPT:'' X-RedHat-Spam-Score: 0.68 (BAYES_50, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS) 209.85.215.68 mail-lf0-f68.google.com 209.85.215.68 mail-lf0-f68.google.com X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.38 X-loop: dm-devel@redhat.com X-Mailman-Approved-At: Mon, 10 Oct 2016 04:29:54 -0400 Cc: dm-devel@redhat.com, mpatocka@redhat.com, yamato@redhat.com Subject: [dm-devel] [PATCH 16/21] dm: Add comment regarding intended fall-through in switch statement 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: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Virus-Scanned: ClamAV using ClamSMTP --- dm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dm.c b/dm.c index 289bc0d..5c908c9 100644 --- a/dm.c +++ b/dm.c @@ -60,6 +60,7 @@ dm_decode_values(struct tcb *tcp, const unsigned int code, case DM_DEV_SUSPEND: if (ioc->flags & DM_SUSPEND_FLAG) break; + /* Fall through */ case DM_DEV_RENAME: case DM_DEV_REMOVE: case DM_DEV_WAIT: