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=-6.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED 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 4FBDAC43381 for ; Tue, 26 Mar 2019 21:23:04 +0000 (UTC) Received: from isis.lip6.fr (isis.lip6.fr [132.227.60.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 98EE1206C0 for ; Tue, 26 Mar 2019 21:23:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (4096-bit key) header.d=mykolab.com header.i=@mykolab.com header.b="KKuKBEov" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 98EE1206C0 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=mykolab.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=cocci-bounces@systeme.lip6.fr Received: from systeme.lip6.fr (systeme.lip6.fr [132.227.104.7]) by isis.lip6.fr (8.15.2/lip6) with ESMTP id x2QLMlct008160 ; Tue, 26 Mar 2019 22:22:47 +0100 (CET) Received: from systeme.lip6.fr (systeme.lip6.fr [127.0.0.1]) by systeme.lip6.fr (Postfix) with ESMTP id 7AC507725; Tue, 26 Mar 2019 22:22:47 +0100 (CET) Received: from isis.lip6.fr (isis.lip6.fr [132.227.60.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by systeme.lip6.fr (Postfix) with ESMTPS id 9698C7711 for ; Tue, 26 Mar 2019 22:22:45 +0100 (CET) Received: from mx.kolabnow.com (mx.kolabnow.com [95.128.36.42]) by isis.lip6.fr (8.15.2/lip6) with ESMTP id x2QLMi84022716 for ; Tue, 26 Mar 2019 22:22:44 +0100 (CET) X-pt: isis.lip6.fr Received: from localhost (unknown [127.0.0.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTP id A8C8941297; Tue, 26 Mar 2019 22:22:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mykolab.com; h= content-transfer-encoding:mime-version:message-id:date:date :subject:subject:from:from:received:received:received; s= dkim20160331; t=1553635363; x=1555449764; bh=gSqUx19cRTa3ayxvz3T WeMmZhf0qOI4s+zH+WFepwJs=; b=KKuKBEov5f/NZXnzrqinpzjsHzl816cZnsZ uzjvCjGSnu0uoSaAFDsCVnVaFAIbwLoDuNizmrEfukr7+hEzkU+03GL5nOKib62T 1mFKEP8GXeWI0aG2J7KQvD1aScaQV/5kZs4rFCqsW2d8fOB6i3/qMR/z27QAmrsN NWwL6KPdkotSvs4zUKx3TC1oGm6c2nB4f3SjnRztbrlD2HAkYhC/B/MWq17LVlWP Rft6SVPWWsdr0+mTa9K4wbAYYasPU/FbpWcyxfRLSeavZkJ2wC3bEM+bToJ3rZKi EVPZFDleriJPGhLG0/OS3hrlXKB6i7aeqTid1NSdeCAbCrg80AonKqX6QX9PwEuH hOVBYv0y6VnV6dhF+pd+5CwZEWkDdgYtbbT8z5sUPzEoPelwFJMPedDSYobIerE0 mrrpgTZ3CI/oOfIZBX9Avo9D3UgOnOzsf6RkCFcq4kXmELne6dEJhRwLZnrxHH9e wewgEvxB4dlifq0b0vwQuQmo15D6N4hK4zgtU+owGPD4OqkLyk5H4Su64CPH6qjb T/qiawW1iIVs81gN5CMC7ufecsGG/8nMs/XLRMzJfWLhYfs1ZXYWJazBykH4UNpb kZXXsloholIGm5anxjjhXfqSRODaoSCQ8DJkGrMVQScZ+vAvyU5aF6e9u2enHt6w 7NAzkIDo= X-Virus-Scanned: amavisd-new at mykolab.com Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out003.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id igd8Aw2GjbU7; Tue, 26 Mar 2019 22:22:43 +0100 (CET) Received: from int-mx003.mykolab.com (unknown [10.9.13.3]) by ext-mx-out003.mykolab.com (Postfix) with ESMTPS id 0D4C74125E; Tue, 26 Mar 2019 22:22:43 +0100 (CET) Received: from ext-subm001.mykolab.com (unknown [10.9.6.1]) by int-mx003.mykolab.com (Postfix) with ESMTPS id D85D92702; Tue, 26 Mar 2019 22:22:42 +0100 (CET) From: Michael Stefaniuc To: Masahiro Yamada Date: Tue, 26 Mar 2019 22:22:00 +0100 Message-Id: <20190326212200.21168-1-mstefani@mykolab.com> MIME-Version: 1.0 X-Greylist: Sender IP whitelisted, Sender e-mail whitelisted, not delayed by milter-greylist-4.4.3 (isis.lip6.fr [132.227.60.2]); Tue, 26 Mar 2019 22:22:48 +0100 (CET) X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.4.3 (isis.lip6.fr [132.227.60.2]); Tue, 26 Mar 2019 22:22:44 +0100 (CET) X-Scanned-By: MIMEDefang 2.78 on 132.227.60.2 X-Scanned-By: MIMEDefang 2.78 on 132.227.60.2 Cc: Michal Marek , cocci@systeme.lip6.fr, linux-kernel@vger.kernel.org Subject: [Cocci] [PATCH] scripts: coccinelle: Fix description of badty.cocci X-BeenThere: cocci@systeme.lip6.fr X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: cocci-bounces@systeme.lip6.fr Errors-To: cocci-bounces@systeme.lip6.fr 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 /// //# 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 _______________________________________________ Cocci mailing list Cocci@systeme.lip6.fr https://systeme.lip6.fr/mailman/listinfo/cocci