Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp3134351ybx; Sun, 3 Nov 2019 11:31:24 -0800 (PST) X-Google-Smtp-Source: APXvYqyecT/+ZXP7FmT9chkNjfzW2JSxCVPTpbc6bE9pk1T7nzYFPs2UFYvtbNDil2S2EAvaJw3/ X-Received: by 2002:a17:907:40f4:: with SMTP id no4mr20125425ejb.55.1572809484246; Sun, 03 Nov 2019 11:31:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572809484; cv=none; d=google.com; s=arc-20160816; b=Aco3FfLDHgiJ/POgl9zeBVA0Cus9FRxv/NAAwkhuLuCFuMRtIq3DoA43p+S6cVEKxJ W8u5FwkGTk33xXXvAFKSfeQlxAbJINkYZr4PVSXHMBCQRVUzsAg5vXrpVgWxm6BJ1leu XqzRM8xIO30v7Z0HnshkMZtbSTYrUySfroTva01o7hujJ+xRjvS5QHjjbPCsD/tvfpHz 4DC2rMp/+3IFhOw0EtGAQzNleQEcqNZS4WYzXkiZNINOGs6+MBvLK2IuChB8TGl5JyKI Ni2wgactjbBiUSFll3mUi9nZPqawL8/UpfE6rLBcEVBIrx+5zOnD6+GfTPeCYbZokJ8q nmeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id:cc :autocrypt:subject:from:to:dkim-signature; bh=fCg71Jw0JLyRmngFVi0xaqtGriXzHs+bukRNJqFQUTI=; b=CKFuBvHVGYMSaG84pfWgOHba4M/SCWQwvcyMLRn/XwnSg16gwX+HPm6LM0URO6IUFa AE9oZ9uQ/E87989QDUj5Y0HQOFhZ9N8HKySKwE1pqby9wiqK0m3C+DDxfraPNGSos06h y6wJqiCCUSgNCu997gMQfZO6qj7mfQ+WxMCb6AgVcMnn7U0lR1znJzlQOdAdqgB3+C+z ynIq76HzKuPbvHJwBK6bpEVN+aaqrLeveLNQ5ekP7mwcmNIpXh1Zwb+AiR8F5f206gls IDvP4XcyQUMrFy2Lo9dvo+V8YgMIWmL760yjkF0RoQVkszuYALEqqoPtVtjvN3kdw9sL glVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@web.de header.s=dbaedf251592 header.b=U0Wl20M9; 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 h6si1917686edr.188.2019.11.03.11.30.59; Sun, 03 Nov 2019 11:31:24 -0800 (PST) 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; dkim=pass header.i=@web.de header.s=dbaedf251592 header.b=U0Wl20M9; 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 S1728076AbfKCTac (ORCPT + 99 others); Sun, 3 Nov 2019 14:30:32 -0500 Received: from mout.web.de ([217.72.192.78]:55033 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727913AbfKCTab (ORCPT ); Sun, 3 Nov 2019 14:30:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1572809410; bh=VRMNp6FcxWTOLyexVDAlmVMT6DC2B/lpC9KicmUfw7o=; h=X-UI-Sender-Class:To:From:Subject:Cc:Date; b=U0Wl20M963zG+qRj3e43MA42Ql3tM443knYRivpEM2DOR/CJkfYvQR0y1a6Bm70V0 Xf+TwcpdQF1yPq40gAmRXhxVNYY76iY0lygiRXUrSN7FqbA1n8Hu5ClG4kTArclh0k AP1PR0Z/NBh+YYx+mvE0vDWDJbt5zaLOgtX409tQ= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from [192.168.1.2] ([2.243.72.216]) by smtp.web.de (mrweb102 [213.165.67.124]) with ESMTPSA (Nemesis) id 0M89z3-1i5IUF2qTB-00vf8h; Sun, 03 Nov 2019 20:30:10 +0100 To: cocci@systeme.lip6.fr, kernel-janitors@vger.kernel.org, Christoph Hellwig , Enrico Weigelt , Gilles Muller , Greg Kroah-Hartman , Julia Lawall , Kate Stewart , Luis Chamberlain , Masahiro Yamada , Michal Marek , Nicolas Palix , Thomas Gleixner From: Markus Elfring Subject: [PATCH] Coccinelle: zalloc-simple: Adjust a message construction Autocrypt: addr=Markus.Elfring@web.de; prefer-encrypt=mutual; keydata= mQINBFg2+xABEADBJW2hoUoFXVFWTeKbqqif8VjszdMkriilx90WB5c0ddWQX14h6w5bT/A8 +v43YoGpDNyhgA0w9CEhuwfZrE91GocMtjLO67TAc2i2nxMc/FJRDI0OemO4VJ9RwID6ltwt mpVJgXGKkNJ1ey+QOXouzlErVvE2fRh+KXXN1Q7fSmTJlAW9XJYHS3BDHb0uRpymRSX3O+E2 lA87C7R8qAigPDZi6Z7UmwIA83ZMKXQ5stA0lhPyYgQcM7fh7V4ZYhnR0I5/qkUoxKpqaYLp YHBczVP+Zx/zHOM0KQphOMbU7X3c1pmMruoe6ti9uZzqZSLsF+NKXFEPBS665tQr66HJvZvY GMDlntZFAZ6xQvCC1r3MGoxEC1tuEa24vPCC9RZ9wk2sY5Csbva0WwYv3WKRZZBv8eIhGMxs rcpeGShRFyZ/0BYO53wZAPV1pEhGLLxd8eLN/nEWjJE0ejakPC1H/mt5F+yQBJAzz9JzbToU 5jKLu0SugNI18MspJut8AiA1M44CIWrNHXvWsQ+nnBKHDHHYZu7MoXlOmB32ndsfPthR3GSv jN7YD4Ad724H8fhRijmC1+RpuSce7w2JLj5cYj4MlccmNb8YUxsE8brY2WkXQYS8Ivse39MX BE66MQN0r5DQ6oqgoJ4gHIVBUv/ZwgcmU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5yTpvp+Orcz5KixHQmc5tbkLWf x0n1QFc1xxJhbzN+r9djSGGN/5IBDfUqSANC8cWzHpWaHmSuU3JSAMB/N+yQjIad2ztTckZY pwT6oxng29LzZspTYUEzMz3wK2jQHw+U66qBFk8whA7B2uAU1QdGyPgahLYSOa4XAEGb6wbI FEE= Cc: LKML Message-ID: <042136cf-4e58-02bd-4d49-5d5055f22c65@web.de> Date: Sun, 3 Nov 2019 20:30:08 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:je4RSahO16yzLyydkp/2fMZQUZGxJJcj9rmzwYrhoLI40i32n+r X0VPB03AjbBqnUXGnG5UuZ1fKOC4oe2TjyFT/WVbehx3KaYwSKUeR26cbxWpMGTumQyIrO2 M7R+hou3/v6CcX+F+g95VvRJ14HEMoO5+QhTKdpB7xoDDro2eMlL53xBO57M5kDmDGYYDkX JBIpRh+UviLMK2NWVTvgA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:z1uZZJKFNos=:D9DpBBG/wy2pNK+7+J/qNc GL/HARIuXvz3Iaiu9anoIQA/P8M56RNYcmFVvFksYUT2qDKTbeTwEmRCKlx1FKnjBcYy+0zAK uDXTW8yunbbv2bMt+2ZBmVO8WUZuWQ6eMeQDltI41hYIL+xQ4jdwcrIgwVCQExYFgldC3xQe2 gmaIDq2yREpQtYEFNMsP5P/QSy3p9VM86psQQKqJ7M9PUwjSq+cv0Exr8u95bLD55FemkLPW/ QSO1AXvFJ9JOp7Z+NzPveVCXcpIkt6+ttj5FzPh/A/lKiGx0tWhI31gDZLuTUP7qH8+foFMfp JEWwzTDu/fa7hgN7/YbN/ASiHM2dh52h0+enPZ5atTia+FlNbbFt/N3Ao+B7D0uoTG+Jq6nLE OW5huBNkRB9zYI7AKrgsl0pNpCMh9HqxVYue4li6XE2T25A2q2HAu9dXK0e3jFhkpI17AbiiW KNsWohBqlnSZUO0AtCD9PCPQeweHpcYTpksPSXifPvd1Hb0ZjsNkeiDKgzl85O/oxjNfGionF SQkHB3RIQWJ32S40QUNmvLBksQCzIcY8itd6EpJigNsp2I/QY+gUl420aD9SiaWBXM2LBoNTt J+wQt/hREf8Rxjcfi2QMYki+ZpBkYy8ukBon2Kr8Eo6Fpp9UTbqSKl0tBPXbfS3DThLkaV5Np XuuaQVbjzMnhuHmCx41A7o+mxkhQkjsoIh9YqP0WEY4nxLgOzCN0/6GGiJv7wivXqImqSCvYo 2qPFjz+ToT3SaKmE8hPLYKLGRnEukREr3nofDZnhQ6Yi0hwGNFAsUw+lK9UiIp9UC5a2ncUjt cXZTW1E6WnUC9T7PoFVVaxNsIJKwCqmI+v0kPtQX1a+W0xuwQA6Ngt1L6c0hq7HmAfogPNdbK tqJoV+XKc/s5qLfhuFScNOl13hpzi2a8mGpX6VEJW5QGvTH7rIH/816EO8hQT5SaFdgHJdEiC kvWfUZl8H7bmYW7SWxdkVU75nudi5cRRbTbqUJjOY7wGTs+hwuJ4tY2QJX8XdqHeSHJpkU9NS kfu5Lj4YcdSTCZsQ6g7Y1pCcwpmaqupCTZ6SdzeHnvB1sBtKe/o9E2ymXsPB+JIkuNYYWqW/P jUAV/UhS2qKPBxtOoad8FgAcBjfZ2r1Pv9ybCBE69MXE5inTTQqaT0X/tgD2EKyYCjwvTWR62 2pjeDXbsrQMMSjjaTvpnIbk5Tg/EM2XqF3wGFdpiF8GO52EJcCaoN1B2nfbHB8Ie3aLJdIvo0 UrI/sP+Sgt86x2BjnnZ5hsh6C19ACEx0aS3IewsnB0wLnrNy77B3R4JwIrpI= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Markus Elfring Date: Sun, 3 Nov 2019 20:00:30 +0100 * Simplify a message construction in a Python script rule for the semantic patch language. * Delete also a duplicate space character then. Fixes: dfd32cad146e3624970eee9329e99d2c6ef751b3 ("dma-mapping: remove dma_= zalloc_coherent()") Signed-off-by: Markus Elfring =2D-- scripts/coccinelle/api/alloc/zalloc-simple.cocci | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/coccinelle/api/alloc/zalloc-simple.cocci b/scripts/co= ccinelle/api/alloc/zalloc-simple.cocci index 26cda3f48f01..c14eae1f3010 100644 =2D-- a/scripts/coccinelle/api/alloc/zalloc-simple.cocci +++ b/scripts/coccinelle/api/alloc/zalloc-simple.cocci @@ -217,8 +217,10 @@ p << r2.p; x << r2.x; @@ -msg=3D"WARNING: dma_alloc_coherent use in %s already zeroes out memory, = so memset is not needed" % (x) -coccilib.report.print_report(p[0], msg) +coccilib.report.print_report(p[0], + "WARNING: dma_alloc_coherent use in " + + x + + " already zeroes out memory. Thus memset i= s not needed.") //----------------------------------------------------------------- @r3 depends on org || report@ =2D- 2.23.0