Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3151684yba; Mon, 8 Apr 2019 12:17:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqxfgbaFfPh6wuaJVvjq7Ws2R+2e6c7Q35VsZxyGxZfuwvvX7ZfZHr+KyoAhRuLJU1C9Yl11 X-Received: by 2002:a65:6295:: with SMTP id f21mr27875264pgv.129.1554751040878; Mon, 08 Apr 2019 12:17:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554751040; cv=none; d=google.com; s=arc-20160816; b=GFsSoONFk8zxbWUCJuRGc86+yqv8m5IHkjsKZv26JdyN52fdxh0sStpK+tvt1wRIHf 0/FJMgO8Cibn3waU91h9wWSzZTxhnIbCqtYjTE8dPh/uH5VbyQ3KFZwDcTRjd5DgVQw1 Bzv6s1NuIWJYnh6LYLsChJmgmKcwavb1pmJjmvI4J1vfLIpAbudmGv2JqsZKwSekDTKq Qs473Fi50qBZDkUZd7cYH03jgB5+2JacblfWsiyNPh2ibKKmyG3urVafTCPFbHGlAdgc tRwh2UmkoKWwy27olQRix5Lu0+oXdkynaTUcT4ZcczcYMgfL8k1VQJER2hqWv064Nepz 17Zg== 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:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=yb2QTzhusxsvH9pJg14HyaDB+kuXzyas0sFtWi6B7b4=; b=aPryhoRe6Jew3DHZ2PBi+zNBNctgSH/ZK8zF/uHg5zjlSDfpvYYvVo7I0DCNCBCFcQ FlCGZCo/4gmVxQHORGFRqE3hh7/xqQ369zVh7VNG9OuHspa0KdV9fZwEpqyNAdXgu0lT CIka69Zl741nVbNw5LJMm63dkIo4ei5oMu+1lIIKAcpGw8vyvd8ssBfYhWKoN0yPkmwA 9L5GlRImJqtk1c9p6Xtb9Ov/dWCry4qlaega57f8yVKlhJlOQlcHXUbDMO0ETqaluQau bCmqtwhWfdrgAoisFnDPoKOiIH18ljRLTrwV/J/pOFGD5ycD6zjqGRSY+thR6EgOhjJP j7og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=W71iU6HP; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e29si22126550pgm.134.2019.04.08.12.17.05; Mon, 08 Apr 2019 12:17:20 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=W71iU6HP; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729042AbfDHTOz (ORCPT + 99 others); Mon, 8 Apr 2019 15:14:55 -0400 Received: from mail-lj1-f170.google.com ([209.85.208.170]:38111 "EHLO mail-lj1-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728879AbfDHTOx (ORCPT ); Mon, 8 Apr 2019 15:14:53 -0400 Received: by mail-lj1-f170.google.com with SMTP id p14so12292365ljg.5 for ; Mon, 08 Apr 2019 12:14:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=yb2QTzhusxsvH9pJg14HyaDB+kuXzyas0sFtWi6B7b4=; b=W71iU6HPsihXgv5L1860WJPgZsLYvVkA8bOcaSeW3LrJJzYR4EOy37JnlTthbJM+7r GLeY8h9O1d33qj4U+Xf2H5p5QfnsHOfgS+KI1O3zKKeoPKjKvpu20jmxzR8qqDZAjmvZ 0dfZmigx3CVIm+VDKrCrcgIlXck38eqjcZfPiqKmkXaJhbVeAqGsdsLMeq3+XriGQywv zQivVow0En7Z/WHG87A+zLeYP3TKfuRnkBGlENxnJ3GE5CGzv5UeyB3a6XPBmEnXYdDW pKROVmWG2fIRxDU8qnr1++VY5e7ob9ik18PUAh65SJlS1pDyNrd/gUPNRGnoV0abnoQo sDVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=yb2QTzhusxsvH9pJg14HyaDB+kuXzyas0sFtWi6B7b4=; b=kDH/Orgept8A3K91soV6C6dM9SRvrE+qrjeQSUEtdAsUGLt1CV8PyaJ22hmYhTukUQ lVkUDC8Yo3smTHEtUIimsHphg/rBvboJbRgvnyTcl47tDyBJS53GL++cqxiSj0dEIGt6 qX63xyI6oC4Jtde66PCdXPb833ufb7taQ7ZSG+YZpr2M3zXygc+pf2RTUXLdhXo4ZcO2 fgTgOvqLlVHecyLMzjIJTbU5IyJNK6hQ+93fuuYvkrh+vMYd+F6huXzqlQJQIpHbTeYX sk48iI9mtP+7F2PA06zD+3URAfx7POFkO6M9/fdkQT+cytnv+nZQjeo/zO6ObCXR5ZTL xVaQ== X-Gm-Message-State: APjAAAVkaKhV5gwYEIXszEUgsHLef4+wHduHnEbS/5bnei3jeePe0vK4 s7RgkYIaLH0Dz23iVutScq0= X-Received: by 2002:a2e:5d56:: with SMTP id r83mr17094652ljb.74.1554750891111; Mon, 08 Apr 2019 12:14:51 -0700 (PDT) Received: from localhost.localdomain (h-155-4-222-95.NA.cust.bahnhof.se. [155.4.222.95]) by smtp.gmail.com with ESMTPSA id r77sm6554494ljb.29.2019.04.08.12.14.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Apr 2019 12:14:50 -0700 (PDT) From: Rikard Falkeborn To: yamada.masahiro@socionext.com Cc: Julia.Lawall@lip6.fr, Gilles.Muller@lip6.fr, nicolas.palix@imag.fr, michal.lkml@markovi.net, cocci@systeme.lip6.fr, linux-kernel@vger.kernel.org, Rikard Falkeborn Subject: [PATCH] Coccinelle: kstrdup: Fix typo in warning messages Date: Mon, 8 Apr 2019 21:14:32 +0200 Message-Id: <20190408191432.1269-1-rikard.falkeborn@gmail.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Replace 'kstrdep' with 'kstrdup' in warning messages. Signed-off-by: Rikard Falkeborn --- scripts/coccinelle/api/kstrdup.cocci | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/coccinelle/api/kstrdup.cocci b/scripts/coccinelle/api/kstrdup.cocci index 09cba54ed0cf..6d13d54a6ee6 100644 --- a/scripts/coccinelle/api/kstrdup.cocci +++ b/scripts/coccinelle/api/kstrdup.cocci @@ -76,7 +76,7 @@ p1 << r1.p1; p2 << r1.p2; @@ -cocci.print_main("WARNING opportunity for kstrdep",p1) +cocci.print_main("WARNING opportunity for kstrdup",p1) cocci.print_secs("strcpy",p2) @script:python depends on org@ @@ -84,7 +84,7 @@ p1 << r2.p1; p2 << r2.p2; @@ -cocci.print_main("WARNING opportunity for kstrdep",p1) +cocci.print_main("WARNING opportunity for kstrdup",p1) cocci.print_secs("memcpy",p2) @script:python depends on report@ @@ -92,7 +92,7 @@ p1 << r1.p1; p2 << r1.p2; @@ -msg = "WARNING opportunity for kstrdep (strcpy on line %s)" % (p2[0].line) +msg = "WARNING opportunity for kstrdup (strcpy on line %s)" % (p2[0].line) coccilib.report.print_report(p1[0], msg) @script:python depends on report@ @@ -100,5 +100,5 @@ p1 << r2.p1; p2 << r2.p2; @@ -msg = "WARNING opportunity for kstrdep (memcpy on line %s)" % (p2[0].line) +msg = "WARNING opportunity for kstrdup (memcpy on line %s)" % (p2[0].line) coccilib.report.print_report(p1[0], msg) -- 2.21.0