From patchwork Sat Mar 12 15:45:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: andrey.konovalov@linux.dev X-Patchwork-Id: 12778896 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 55558C433EF for ; Sat, 12 Mar 2022 15:45:49 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A66538D0002; Sat, 12 Mar 2022 10:45:48 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id A14D68D0001; Sat, 12 Mar 2022 10:45:48 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8DD408D0002; Sat, 12 Mar 2022 10:45:48 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.26]) by kanga.kvack.org (Postfix) with ESMTP id 7F7D08D0001 for ; Sat, 12 Mar 2022 10:45:48 -0500 (EST) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay13.hostedemail.com (Postfix) with ESMTP id 323BC6157F for ; Sat, 12 Mar 2022 15:45:48 +0000 (UTC) X-FDA: 79236159576.02.9A133CF Received: from out0.migadu.com (out0.migadu.com [94.23.1.103]) by imf24.hostedemail.com (Postfix) with ESMTP id 70EB4180026 for ; Sat, 12 Mar 2022 15:45:47 +0000 (UTC) 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=1647099945; 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=YtbCAnJ5abXcprPbTV1RAyWaH18oFJblxeHW3cll9LQ=; b=migH5osFGokxS38pvhVLSH9oA/YZ2x8l6qmAVMGbWSrmceR+ZNN4o/hxvUnxoZxwmdmdem znjfG8dNuU+P7vYMHFwa9s293NZhg/XJtEwCFXaa4Cirl/gPR8MwUmqkgAfoDqYcXCWm7l DnQqxhiBgJ34bQFh3Iq86tq5H++vDII= 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] fix for "kasan: print basic stack frame info for SW_TAGS" Date: Sat, 12 Mar 2022 16:45:43 +0100 Message-Id: MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: linux.dev X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 70EB4180026 X-Stat-Signature: hxtj1i5z55xj73bjo6fgkxjh8rzfnnbf X-Rspam-User: Authentication-Results: imf24.hostedemail.com; dkim=pass header.d=linux.dev header.s=key1 header.b=migH5osF; spf=pass (imf24.hostedemail.com: domain of andrey.konovalov@linux.dev designates 94.23.1.103 as permitted sender) smtp.mailfrom=andrey.konovalov@linux.dev; dmarc=pass (policy=none) header.from=linux.dev X-HE-Tag: 1647099947-633066 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: From: Andrey Konovalov Using object_is_on_stack() requires linux/sched/task_stack.h. Signed-off-by: Andrey Konovalov --- mm/kasan/report_sw_tags.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/kasan/report_sw_tags.c b/mm/kasan/report_sw_tags.c index 68724ba3d814..7a26397297ed 100644 --- a/mm/kasan/report_sw_tags.c +++ b/mm/kasan/report_sw_tags.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include