Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp4681068img; Tue, 26 Mar 2019 14:33:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqzlIbj+cYexar3Zn5wfxOEaNKVW5Yge98znTONJLtyWRJYJBNeuXCO4rLoA8cBsPC/R9h+m X-Received: by 2002:a65:62d6:: with SMTP id m22mr31649274pgv.443.1553636009132; Tue, 26 Mar 2019 14:33:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553636009; cv=none; d=google.com; s=arc-20160816; b=u1KH5xnrUY8s53zmcnkR3rXunmegqs98dmCHhoPyWGNOGLPwkil4Q7PwPbx47Hos3o AFJLjTiWp6ckKrZOtosz0nKJtjkO8UM4R0gikyOGwhOPz/y2uGR1thTej3GCDXH3j/ML gFHY3yQkdaA9MXfHP5tenAbY5xdC0zv06zF2mPmzSa4KeTmKR5L7qX5G5r7zqy6xzbLW 7onoB8GXKTozd0BDklDfCfVWcFp5LQtEOxpmOsmWcHGgCoeTA3P1/FyFMgth+czZDA6B 2+BSUsItEiXeDGht4UWHrpj+aWcWgECMvWl5cN2UAuK+pMRc1+qZr0UY8URlSZRRAddQ zCEg== 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=0ZRxqceisP5vyxkv0xx3nw9W+Jh7Yg3v1ux0qf4wP7A=; b=cL3e/tAAQK8KthCzcnMQwpQG2xmZrEuO46ifjF6m81pbEBPKYHiy1VY6Ihwm7MosAw yVTCoDGsGhMubyEGJtV03WxlHKOPW5YgqMAqOFszyJbjeNNlkX7vDXoe7/Tb6tK/FNHH HhxGB4Nl3KgvLTjEuxUGdlfG6JFpcLlXjguaZuonx27XLKHGKn8VVtqPfqX8HSDldST/ ZUYf4Qot/Z5/SvNRP3cDkPDlcuixBN01T7G6gnGNPHSJPaG/IlaqWk216S7IQOhpTZiC cloNme0aalsJ+ySAtDiOKwseLorOFK47AQpf7caB3C8yTFn/uvrmA8LMBpad9SYzaOsF yPrg== 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 i38si18134363plb.194.2019.03.26.14.33.13; Tue, 26 Mar 2019 14:33:29 -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 S1732770AbfCZVbO (ORCPT + 99 others); Tue, 26 Mar 2019 17:31:14 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:7115 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731617AbfCZVbO (ORCPT ); Tue, 26 Mar 2019 17:31:14 -0400 X-IronPort-AV: E=Sophos;i="5.60,274,1549926000"; d="scan'208";a="300825014" Received: from abo-58-107-68.mrs.modulonet.fr (HELO hadrien) ([85.68.107.58]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Mar 2019 22:31:11 +0100 Date: Tue, 26 Mar 2019 22:31:11 +0100 (CET) From: Julia Lawall X-X-Sender: jll@hadrien To: Michael Stefaniuc cc: Masahiro Yamada , cocci@systeme.lip6.fr, linux-kernel@vger.kernel.org, Michal Marek Subject: Re: [PATCH] scripts: coccinelle: Fix description of badty.cocci In-Reply-To: <20190326212200.21168-1-mstefani@mykolab.com> Message-ID: References: <20190326212200.21168-1-mstefani@mykolab.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 26 Mar 2019, Michael Stefaniuc wrote: > Summary was copy and pasted from array_size.cocci. > > Signed-off-by: Michael Stefaniuc > --- > scripts/coccinelle/misc/badty.cocci | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/coccinelle/misc/badty.cocci b/scripts/coccinelle/misc/badty.cocci > index 481cf301ccfc..08470362199c 100644 > --- a/scripts/coccinelle/misc/badty.cocci > +++ b/scripts/coccinelle/misc/badty.cocci > @@ -1,4 +1,4 @@ > -/// Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element > +/// Correct the size argument to alloc functions Oops! Thanks. Acked-by: Julia Lawall > /// > //# This makes an effort to find cases where the argument to sizeof is wrong > //# in memory allocation functions by checking the type of the allocated memory > -- > 2.20.1 > >