From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 32D30C04AA7 for ; Wed, 15 May 2019 06:11:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 030DA2089E for ; Wed, 15 May 2019 06:11:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726412AbfEOGLW (ORCPT ); Wed, 15 May 2019 02:11:22 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:49741 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725857AbfEOGLW (ORCPT ); Wed, 15 May 2019 02:11:22 -0400 X-IronPort-AV: E=Sophos;i="5.60,471,1549926000"; d="scan'208";a="383210706" Received: from abo-218-110-68.mrs.modulonet.fr (HELO hadrien) ([85.68.110.218]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 May 2019 08:11:20 +0200 Date: Wed, 15 May 2019 08:11:19 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Markus Elfring cc: Gilles Muller , Masahiro Yamada , Michal Marek , Nicolas Palix , Wen Yang , Coccinelle , LKML , Yi Wang Subject: Re: [2/3] Coccinelle: pci_free_consistent: Reduce a bit of duplicate SmPL code In-Reply-To: <20b242a6-23a8-9b48-5cfe-c99df809dd24@web.de> Message-ID: References: <112fa697-3073-1a95-eb5b-fa62ad9607fb@web.de> <20b242a6-23a8-9b48-5cfe-c99df809dd24@web.de> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-192762635-1557900680=:2591" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-192762635-1557900680=:2591 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT On Wed, 15 May 2019, Markus Elfring wrote: > >> A return statement was specified with a known value for three branches > >> of a SmPL disjunction. > >> Reduce duplicate SmPL code there by using another disjunction for > >> these return values. > … > > NACK. The goak is not to squeeze the most information into the fewest > > number of characters. > > Can you accept any other formatting for the adjusted SmPL code? No. It's fine as is. > > > > The rule was fine as it was. > > Can different run time characteristics become relevant here? No. julia --8323329-192762635-1557900680=:2591--