Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp3289541imc; Wed, 13 Mar 2019 13:53:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqyLE9IXoChOQNIUVLdnsh+GF32UJ8DKs93zVtgjwXJ1P9CmAIjb0cDs3aQDRvntVTTp48c2 X-Received: by 2002:a63:d256:: with SMTP id t22mr7016730pgi.108.1552510430930; Wed, 13 Mar 2019 13:53:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552510430; cv=none; d=google.com; s=arc-20160816; b=P45zs1dlUJSJPx0zTnzb9BECQ7KY0r+vUzSTuIhnlGgW9p1gxWUZfLEyI3uDwi6PgR gmQLrl32UtXuua9VdzvCoGQH+EFlhHdvs2vNfTSNm/wAVQ0vw1TDhWWy6DWf5NUgrWbE 0IzfF/kNs64HhnOYQAcz8SCsKzaONqJFzxXIzZvaSvnrjK/si+erNWvXrnIwe7Rvxa+d dAx4NOCNAQwMk20QwOHKbPalxFVtgY5OxtINy8EkIZGteqjtIXSg5Dem70bJFccdIGFQ H6tL+FGQ9N9lsLsHN6RvdiRmk4vX2QEl1t5vA59TjHSg+ONoSIb9je2C3NFRPFL+9hWU jHOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=4xCRVpdWMpogBgj+dLIYh+kwDQutwY3HJvb5mriq3eg=; b=xnnOGu9LH/YZh7HnY1dKUGuBtM8Z9D/C4IH7jBWgfE2wJhg07FpPNLomnuYW1kcoUq Dv4shk4q7UpvHVnIxJTAsqQYxCA2RajG44e7QwB0jNroE27BLI2TkUXzV4r35rReDrKu a4vCkoadWaToX1FGHhxnapoHa3SnGh7IgnYh8bRBya0ubmImaqJ6UFkG/smwrdELW1Y3 m/zkA4CjIvhBAAl8zYn6DYBsrKWpO2C7lDXEtPvG0ZoB1bKnIkf6DAyI+v2SC0vJJ0E5 kOFIwop6iwk5G1vYdHs4664gpjtMkgyVAAyDr/A3WRRn3/+VX3rAz2+vAwTu8Y071U+j OdiA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v31si12063305plg.2.2019.03.13.13.53.35; Wed, 13 Mar 2019 13:53:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727336AbfCMUwy (ORCPT + 99 others); Wed, 13 Mar 2019 16:52:54 -0400 Received: from mail-oi1-f194.google.com ([209.85.167.194]:37228 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726686AbfCMUwx (ORCPT ); Wed, 13 Mar 2019 16:52:53 -0400 Received: by mail-oi1-f194.google.com with SMTP id n7so2455576oic.4 for ; Wed, 13 Mar 2019 13:52:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4xCRVpdWMpogBgj+dLIYh+kwDQutwY3HJvb5mriq3eg=; b=qwk1nO57pNzgnvuTKnNX7TDNEdllHnrIPYNhb+BKk7+N6mhLXnPnznWf0ar1l5k0qX M7mFZ2pPgSjQGhJOLeFhe2pJffj2DslOYRK9krSawzZGwM9e9WaIK1H0qXkSu+Ftgpok lbGFUO88qTnyNn/AeYS6JEha+YwGAvGOLHblsze3xayDXJglXabgR8h4h1md2XROY/C/ E3ljwobtkRqldrE9XwzXsB62lql7wEJhVZWbnN396ZK4wj2qG3p5ppOsspUfajRaaCMG 5gVox+lo5zxBwNQop0lmv6IcFKWxHTSEdkWutLgqx/bRCFoJR9vzE77fumOY0tUr2Z30 zYng== X-Gm-Message-State: APjAAAXxH/teuUwVaHdg0D0AxqEkGNaj86abQgeNXMDRgch7WcFwFPeD ZcHd8AHemNJzIecuVUKbT2fanU2z5ixv3YWdWH8= X-Received: by 2002:aca:3e8a:: with SMTP id l132mr65000oia.107.1552510372442; Wed, 13 Mar 2019 13:52:52 -0700 (PDT) MIME-Version: 1.0 References: <20190114201911.13725-1-malat@debian.org> <20190313202429.20797-1-malat@debian.org> In-Reply-To: From: Mathieu Malaterre Date: Wed, 13 Mar 2019 21:52:41 +0100 Message-ID: Subject: Re: [PATCH v2] lib/siphash.c: annotate implicit fall throughs To: "Jason A. Donenfeld" Cc: "Gustavo A. R. Silva" , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 13, 2019 at 9:34 PM Jason A. Donenfeld wrote: > > Conceptually this seems pretty reasonable. Though, style-wise, perhaps > you might want to put those breaks on the next line too, i.e. s/; > break;/;\n\t\tbreak;/? Good point. This needs some more love since checkpatch complains now with: ERROR: trailing statements should be on next line #42: FILE: lib/siphash.c:77: + case 4: b |= le32_to_cpup(data); Let me merge all that and send a v2. Thanks