Skip to contentSkip to conversation

kasan-drop-addr-check-from-describe_object_addr.patch removed from -mm tree

merged Andrew Morton 1 participant 1 message Mar 25, 2022

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The patch titled
Subject: kasan: drop addr check from describe_object_addr
has been removed from the -mm tree. Its filename was
kasan-drop-addr-check-from-describe_object_addr.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Andrey Konovalov <[email protected]>
Subject: kasan: drop addr check from describe_object_addr

Patch series "kasan: report clean-ups and improvements".

A number of clean-up patches for KASAN reporting code. Most are non-functional and only improve readability.

This patch (of 22):

describe_object_addr() used to be called with NULL addr in the early days of KASAN. This no longer happens, so drop the check.

---

 mm/kasan/report.c |    3 ---
 1 file changed, 3 deletions(-)
mm/kasan/report.c renamed from mm/kasan/report.c~kasan-drop-addr-check-from-describe_object_addr +0 -3
@@ -162,9 +162,6 @@ static void describe_object_addr(struct
 	       " which belongs to the cache %s of size %d\n",
 		object, cache->name, cache->object_size);
 
-	if (!addr)
-		return;
-
 	if (access_addr < object_addr) {
 		rel_type = "to the left";
 		rel_bytes = object_addr - access_addr;

_

Patches currently in -mm which might be from [email protected] are

stacktrace-add-interface-based-on-shadow-call-stack.patch arm64-scs-save-scs_sp-values-per-cpu-when-switching-stacks.patch arm64-implement-stack_trace_save_shadow.patch kasan-use-stack_trace_save_shadow.patch