Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp324513rdb; Thu, 21 Dec 2023 10:06:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IGVFUDGMftitJ0dYrJOx37F2JcaaSHK9FX1MrELQcgFgHJtatRruH8c1yk7W6urWegSYrZH X-Received: by 2002:a05:6122:d07:b0:4b6:bf49:ea3b with SMTP id az7-20020a0561220d0700b004b6bf49ea3bmr25709vkb.26.1703182011675; Thu, 21 Dec 2023 10:06:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703182011; cv=none; d=google.com; s=arc-20160816; b=hwoH3+NbSSgZC/GHXRjVd8uJWyXZ6GFcjIdBqBU92A35EQePeogfz+aLNvFl+jDZb3 8t6e9m5hDBlrZra5yLwxM7fFgcY26S4+qhJVoKd6BXYTv4D0HD2BlJ28QyQrPp6bUdfl cviXLsS7pWSvPoP0M3ce6+UBKeXlNXtMyn9GE7JF8WbtEY5mVYceh6JYLfpryehE7Wxp j5uOu6wSdXKGYZBatuVhJMMttIUfpIQiZko6jdHjFvEdgS5kX7WBLo2+m/JafgeZ4Mlb DUWEAgYJEsX80sw3r8wYq9qEorbRKfD1Tv6zHsF7WHwV0nJ2KDe9tslRUkgVTAlMd6jz kwjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=i0GLSbu+FVh1lkI5GuUWSCHjI1Tbl3xktQLpxtmlTZ0=; fh=YdJe40n1bQZ8Zp3iZn6I1d2ZUtlNbbOfpFd8CFgERIY=; b=SY6ftCe83qBKhdOQbiAUTMEtwbjq8y1dXBNkgktV6RlCfGGr1hWKhe5nRt19L3ZFgg XCVsmITza+fKqlI9vU8FigPZ7XeuRx0VEk3io4r2o/6ANLfKZxHD6SYzIxwV/Vu9ryDj gQIhle+zTdXGGgN7uW7jPk7+3iksYMo5jmmAJ/7j9Pq0NykiYD9jbSMWZfiMgUlKK5Lh 5W5k311jCia148AoKpVAPB3XlFrunuh8IVhKhrboUpg6hYGbZ8h6n+u1lEwE58Sf5C4+ 7F3ZNHGHYBCWczLB+fmwOITVcV9IZ2vip4qSWYjpHadyzdwGJbJibZyjji6fmUd/sStT cd/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=de36pMIh; spf=pass (google.com: domain of linux-kernel+bounces-8901-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8901-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d4-20020a1f4f04000000b004b6ad882f34si584160vkb.175.2023.12.21.10.06.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 10:06:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8901-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=de36pMIh; spf=pass (google.com: domain of linux-kernel+bounces-8901-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8901-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 6C0741C21A63 for ; Thu, 21 Dec 2023 18:06:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 98008634FD; Thu, 21 Dec 2023 18:06:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="de36pMIh" X-Original-To: linux-kernel@vger.kernel.org Received: from out-170.mta1.migadu.com (out-170.mta1.migadu.com [95.215.58.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F3D32627E2 for ; Thu, 21 Dec 2023 18:06:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1703181999; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=i0GLSbu+FVh1lkI5GuUWSCHjI1Tbl3xktQLpxtmlTZ0=; b=de36pMIhG8dcEtDj1hZGl0phPdkCusN9KYUxUjLrW6Qo7MOPk83R1yaVV2uQEqBzQ9Yi+I YrcwyKMDU4VHAw2fGeiuG8vGwQh9gvchz92Kt9bLVQkBDV56hk2bCBHS9o+9voTcf8YRmx 25kNS+cuLp7JEOirxbMf5QL/HnObxa0= From: andrey.konovalov@linux.dev To: Andrew Morton Cc: Andrey Konovalov , Marco Elver , Alexander Potapenko , Dmitry Vyukov , Andrey Ryabinin , kasan-dev@googlegroups.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrey Konovalov Subject: [PATCH mm] kasan: fix for "kasan: rename and document kasan_(un)poison_object_data" Date: Thu, 21 Dec 2023 19:06:37 +0100 Message-Id: <20231221180637.105098-1-andrey.konovalov@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT From: Andrey Konovalov Update references to renamed functions in comments. Fixes: ac6b240e1ede ("kasan: rename and document kasan_(un)poison_object_data") Signed-off-by: Andrey Konovalov --- mm/kasan/shadow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/kasan/shadow.c b/mm/kasan/shadow.c index d687f09a7ae3..0154d200be40 100644 --- a/mm/kasan/shadow.c +++ b/mm/kasan/shadow.c @@ -130,7 +130,7 @@ void kasan_poison(const void *addr, size_t size, u8 value, bool init) /* * Perform shadow offset calculation based on untagged address, as - * some of the callers (e.g. kasan_poison_object_data) pass tagged + * some of the callers (e.g. kasan_poison_new_object) pass tagged * addresses to this function. */ addr = kasan_reset_tag(addr); @@ -170,7 +170,7 @@ void kasan_unpoison(const void *addr, size_t size, bool init) /* * Perform shadow offset calculation based on untagged address, as - * some of the callers (e.g. kasan_unpoison_object_data) pass tagged + * some of the callers (e.g. kasan_unpoison_new_object) pass tagged * addresses to this function. */ addr = kasan_reset_tag(addr); -- 2.25.1