Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp159035ybz; Tue, 21 Apr 2020 06:41:51 -0700 (PDT) X-Google-Smtp-Source: APiQypLxh5hbw/NyplOlHI9cNi3XZp2L3VI9WfBJ+PvD45NAx2LYIhh14wTUsRE3En0TrVQ/Ru3+ X-Received: by 2002:a05:6402:22a6:: with SMTP id cx6mr14774108edb.277.1587476511173; Tue, 21 Apr 2020 06:41:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587476511; cv=none; d=google.com; s=arc-20160816; b=h0gMYBg/QWon8wCpM55PlNIjQhdHlKib0s5jsyaNJPYgOeefo8+52htm594WmOwt11 gC+KuczT8ITi25Xe4YcVNdHjUfWsC5msY7g6ShN7pbB1esBdf4WTBRWZmDaN66y0NLeW CFh130ZcXrqDSjAsw9soKleZks31XsAd6c8whGjJ+SWTwNQyGwd7xk8WeNmTwlm3Qrzb C+8FDxuKFCD78fAkXLtXgx6fA+hfzWQRPP/FeQpHRD2eQaNOhpawx7Wv6g/Y0nqGPBKW emynJygYxAbq1zBGt49yQcneG5klWLf75fVHHWM592p031gY5sEJOXrypjHRlWJy3IWF 1AQA== 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 :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=JX00X8S2zWSDA5/Zsgs0O/ncM6aJvIG88Eh4mjiOiX4=; b=kbs76i8zRHp8l9OdCOqlclzdxbW1gDJaGPDUV3i25dWsyuWHlH3osfMUI2hd+m0NuA WWWZ8PSDLxhneBX2gd1IilhPbr7TluhC/VChTqOzhugWVOf1HgKm8rgEQMcQmKQf6nsg 1rsQnE1VYy1fPnH7Was9ex32HCxtQSZw/l4CYu8tRIOngu0iR6JFfpXBhfLpFq2Tz4GE n8DvI8cjJdp7e9+TYtM5uEXlWf9uq7QCYHPFPLY4UYv2jGA5Qb4LNmD6ROkJXqWbOehD QLMol/7MgIYOyAG8QzGEi31VsUFCDick7KX6sBO79C18eOxxf/V1jbXaCPVD8sJfBzZV Zkug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=khjr1WSm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m29si1589492eda.592.2020.04.21.06.41.27; Tue, 21 Apr 2020 06:41:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=khjr1WSm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728923AbgDUNiH (ORCPT + 99 others); Tue, 21 Apr 2020 09:38:07 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:34839 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728519AbgDUNiG (ORCPT ); Tue, 21 Apr 2020 09:38:06 -0400 X-UUID: 9b83d4e172dc4a88966709162332ba76-20200421 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=JX00X8S2zWSDA5/Zsgs0O/ncM6aJvIG88Eh4mjiOiX4=; b=khjr1WSmATNP1no5dEQwnHdRrZBZNY0SUGl8dhhrIPUgmiTMzo621t9+8dBjTliBTj44t8hb7w3qiH/qQJRMYe50Uc/Bm9T/gra8Jdwh+r3apRrgOPtpMvIBDtAgwLtcty+VWaZMievn9FYe897BVGOKQEh9MLpM/IgcuUBslkQ=; X-UUID: 9b83d4e172dc4a88966709162332ba76-20200421 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 2022916195; Tue, 21 Apr 2020 21:37:54 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs06n2.mediatek.inc (172.21.101.130) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 21 Apr 2020 21:37:52 +0800 Received: from [172.21.84.99] (172.21.84.99) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 21 Apr 2020 21:37:48 +0800 Message-ID: <1587476272.5870.15.camel@mtksdccf07> Subject: Re: [PATCH] kasan: fix KASAN unit tests for tag-based KASAN From: Walter Wu To: Dmitry Vyukov CC: David Gow , Brendan Higgins , Patricia Alfonso , Andrey Ryabinin , Alexander Potapenko , Matthias Brugger , "Andrey Konovalov" , Andrew Morton , kasan-dev , Linux-MM , LKML , "Linux ARM" , wsd_upstream , Date: Tue, 21 Apr 2020 21:37:52 +0800 In-Reply-To: References: <20200421014007.6012-1-walter-zh.wu@mediatek.com> <1587472005.5870.7.camel@mtksdccf07> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-TM-SNTS-SMTP: BC3A44A52E9D8AE093BF388FD62DAE971AB1F492889557179C30B461B1F267482000:8 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVHVlLCAyMDIwLTA0LTIxIGF0IDE1OjAxICswMjAwLCAnRG1pdHJ5IFZ5dWtvdicg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