Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp208418yba; Tue, 14 May 2019 23:14:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqziB8VV4wMEJAInw2M9vWkn7CXpekWo7gJqFzrLeiHmDPSODF3kfyEePvKopHTuY+Bug9QX X-Received: by 2002:a17:902:8a83:: with SMTP id p3mr42398949plo.88.1557900853128; Tue, 14 May 2019 23:14:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557900853; cv=none; d=google.com; s=arc-20160816; b=ZOJb6FHS2Ex+Hv5AtTssOW/Iv3enevQ5ROFPMr6Dlzq2+UyC+AIU3DG6WpK0D16hAA 8OWv/UEWAFckEZU8Pjb7dKxFPTiHvKIvAhtce/Ib6bVtGk//9bGrUPdfQkfgsv44LgOj 44TgAUxAr0c+fJWfbVHuhrIQ9REPgXLaQXenfYL/VSCRbquK76M+ox3+rG8M+owa6YOu 0WGgnYcTMKkkru3wZpw5CuNQ0wzDKQofIkXFHp+zitQs8WHB7IunUJwLAUg7cFgLlXp4 vy/K44LvWUKK0pE9oE6EOwDqTc56VRbQ1nEeikNo6GOKqHLkfTSELT9JCsINjUlfVL9M FYGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=WEHrqsbtjjgRlcUuxAounctKB/VGABA2D5V89hyBKaU=; b=N/zWDNHVAXr79EJHdoUN5oi0ZGwYymzwjuO5imoagTOq76L+M6jUKw6Qut17Ad0uu5 Vu32yQJsLitEGoTauQdJUXwwGCtaT73ls999T7DPy/OglIZMOlw67+Y2RY3teN2PEjXr C4PufM9v+iDXq5HIYDXoAO+dV2EOs1Y8iqB8wEbuSpuER6chAvWqmis/1GsvEJ6aOSPn vlPGzq5g/QNjpfIFkk10J3U29zp3TvzCp22/DC4m+zKa/g3y4BwAGG2x/KWvMH4aZ3aA vkW76LrhgixWozKyge4B9+s/q52zDBNPFg5n33T4RVECSHoMI4D+fcWinLqub1oEvpxr hN3A== 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 i97si984925plb.173.2019.05.14.23.13.58; Tue, 14 May 2019 23:14:13 -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 S1726381AbfEOGLW (ORCPT + 99 others); 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--