From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A346C25B0AB for ; Sun, 23 Aug 2026 16:18:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787501916; cv=none; b=m55+mwdt2L4zZxyMUMsW/Pt8UwQWNmyRO8eBPdid59PGiLre5vmov6UVrZazgW8b6Unv6Ph+m/EdifCs2AXAvJqq5+9skLV8tTaVgiOPsT9T+p4vrvZcal/0MA1FglBeiHBqwBQbFFRRKhbuyb1bnfr+v0JKkq5LypDc0/bI1PQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787501916; c=relaxed/simple; bh=6Qnbx3LTOfQiD8CEQOqn/0FA3xR1BYiUEoCu8pfBex0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Sd1h6oFx9vSl+MxWsExn5tUv4r86rRr4fZKCsBpoNNYss1/AtzEm50q2hAMFssxb3Kuzck65h7gj/B9ip5/yMdbCcSyb4vyueP0U5ay3uomfYCWxfYCJZzA7SbAN9tMpjC2z5Z/M51/rD31KvCE3CBnkO7+2h8nNcbsj3cpiXIE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=couaWXlM; arc=none smtp.client-ip=209.85.210.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="couaWXlM" Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-84867f07d63so2732389b3a.2 for ; Sun, 23 Aug 2026 09:18:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787501915; x=1788106715; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=n1w9QX5xdwi74QKa5z7EDP4Mx2bk9XoiF8oMMpJexfM=; b=couaWXlMDYCXosKUtpnSfzqPqA+rgTO2jqcu1H725/4mkZss0mAhz5ASe6/jWbkHBu 2w+IFGcwVFazTMCnqetQrLpceClDTv1Y/fczeSsiLDzvtjngjG0AdtNKa73LAYfo/jxr JhaDU/Wsw7IHXJ+GkHMEw8So/riLK9Sm2ymUgZWx0IujB7a6lXGwoBrQBjLz2xqC82eN PmEQGdw+YGYwsqaopUK04IuOZHDd8ArJQoiCxcWgr1QoWTP7+OJ3EO/jRgrzQmRJVnFe d9HfudlgYDdl1/4kEi+5RY31KroDZtCTzljb3yJsm7dqr250dWOIVJ8duSqGQN/RQkJe vKRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787501915; x=1788106715; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=n1w9QX5xdwi74QKa5z7EDP4Mx2bk9XoiF8oMMpJexfM=; b=lo+fCBVXCWDUFTrwHqQP5d3tumtIsRmvdDWDgpyNEpu1wS0xzethhDALGLRsyZ4Uma ljKwCK8WR7GcgWPqGitYS95MvV3Zdvg0I1mK8zL41PAJTh3RompWRgtKtbvTakVz80RX ermxNyuqyyEZ9RF0GOuhBLolR8b8BKrmJPCxq4GywHx9xTYJ/4hRpwZ3rwwURYLQKYBC /LQ1VoV0Sf+ahJBKYR9s6RZW4yBFOUn/lqIGHL0ZBwHc4F1Gi1Rv0RkheHmnqCZX5to2 9e4mEPRUM+PHi19x98DKhjiTc8nPzGbSdlIH7pE8DkrEgW14jgSuj8VcuclXVY+gqVOC FELg== X-Forwarded-Encrypted: i=1; AHgh+Ro2pkiRhqHwvq3I5svz7n33ZwCVMw4oFYVvgkV61ABrmNUoh0lR5xH353cNhX+6BoaCzkQA0itjQPbHPwM=@vger.kernel.org X-Gm-Message-State: AFuF++nicb6xVxdi6T3+fY8MH4vhNs68av7ZrWzNRqpxWmYr5Ynx83ui Jw/G1fBtoqBH6SteF/ZEB64GvaziD6S2BEY9wUOF2vB79iebJPRZYFHp X-Gm-Gg: AR+sD117/o1vvLhwTxgL+Ttnh/fCMpoYHrudi/vgKcinrb/LbMCp5kVAqQhqirGRmym 2jvs1HsjMN1tqeySAW6wVrXwmA8sZV6rfio8Id2x1kqZ2TMCKshn0MjesciaGQjdMkTvBOhHh6F IES8uJIpU/xZRavZX1//Ozjd92ndSjUha0ON5vYl/7PgpccnxbAP98UA4L9mkZnfsLr5Zgi9yz8 WbEycLf5oPC2zxTDnQB+VceOeaVO5NBbKhxnpbIkMrPr+aeo5tw140e1hLZDjAXyr1qAUUkOo/7 0oketJAm4C4fZZLRerfEbUrfVLATSj61DLb05b4jIJnWunV2fHPAPartzWSLdAItw+3X3bvtfon et7BCCHYXhc2fJoy+HBKxvSzmDYSrqzvvBo2VAnxaavioRta//Z8Tl/vYXUYlfcUVnY7DH1ZIS5 BtsUNCuTa6WN1PfJ11qrwrzCZzzeRs7Dhs1xhtiUxgbX2uVuIeEVykDck= X-Received: by 2002:a05:6a00:2e0f:b0:842:7296:dba with SMTP id d2e1a72fcca58-8520b983fdbmr18504990b3a.7.1787501914865; Sun, 23 Aug 2026 09:18:34 -0700 (PDT) Received: from ubuntu.. ([110.9.142.4]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-cc199dafa1fsm350181a12.3.2026.08.23.09.18.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Aug 2026 09:18:34 -0700 (PDT) From: Sang-Heon Jeon To: Julia Lawall , Nicolas Palix Cc: cocci@inria.fr, linux-kernel@vger.kernel.org Subject: [PATCH 0/7] coccinelle: fix rules that match outdated function names Date: Mon, 24 Aug 2026 01:18:12 +0900 Message-ID: <20260823161826.3805598-1-ekffu200098@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Several scripts still list functions that no longer exist in the tree, so those rules can never match. Patches 1-6 remove those functions from the scripts. Patch 7 replaces dev_put_track() and dev_hold_track() with netdev_put() and netdev_hold(). I will send separate patches for the two new reports. Sang-Heon Jeon (7): coccinelle: remove obsolete pci_free_consistent.cocci coccinelle: alloc_cast: drop removed allocators coccinelle: zalloc-simple: drop the kmem_alloc rules coccinelle: pool_zalloc-simple: drop the pci_pool_alloc rules coccinelle: kfree_mismatch: drop vmalloc_exec coccinelle: atomic_as_refcounter: drop atomic_long_dec_and_lock coccinelle: ifnulldev_put: update outdated helper names scripts/coccinelle/api/alloc/alloc_cast.cocci | 20 +++---- .../api/alloc/pool_zalloc-simple.cocci | 17 ++---- .../coccinelle/api/alloc/zalloc-simple.cocci | 41 +------------- .../coccinelle/api/atomic_as_refcounter.cocci | 4 -- scripts/coccinelle/api/kfree_mismatch.cocci | 12 ++--- scripts/coccinelle/free/ifnulldev_put.cocci | 8 +-- .../coccinelle/free/pci_free_consistent.cocci | 53 ------------------- 7 files changed, 22 insertions(+), 133 deletions(-) delete mode 100644 scripts/coccinelle/free/pci_free_consistent.cocci -- 2.43.0