Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp4110132pxa; Mon, 10 Aug 2020 00:27:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkGDpdlmKzp49OcST/4SFA6PEL+AXK7EP3Y9oJpKuHWKCX6WnItviLUdOB6j1U5Uz1ZUah X-Received: by 2002:a05:6402:415:: with SMTP id q21mr6150597edv.71.1597044472504; Mon, 10 Aug 2020 00:27:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597044472; cv=none; d=google.com; s=arc-20160816; b=JC3RHgw5O71guQpEGYpBxGAZ8fmx8S8dBqivT9xjaQs0t7WprAdYi2BoKrn7odXPyr HNX/V0ebGn0/O9rKybT+OGZ04owd39LGvKMnVvDOdxNdIV7pognXzE34xJ+B/i6xK2nr juJ/Z9SvguFGmZwT9/o1K2T5TxphY3S7G9AummKL4p0RccBak8p4mPI3rAgLcqnvog5Q E9dHFW3eLtAnJx2e/kn7L1XZPkJUm25VKdvDuDWyPBaMcVaPbfCW+ENIqfCQmJurqzlW veJUbi6uhnQOiYnmEgct1vcSStQI7uweiPuwgiAKsnQ2aEMFcbJwS+hWk1LhDIwtbzn+ zFug== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=MiZ6leJF9tYuSzVOQIulz0H4R7mIPrSUOEtllZRLwmQ=; b=uSTzJDxzBSuCMpVfd/aGSDm8a0i1h2mcariiNA87eDZ2PDl9sCpDzWbpP9ROdCIH/Z 9mIkh0L3SlwO2en2uVF14AsiK0bz2FUsZItEJfaDFZPQI2R17jKo8v6lfwfVlcqHM7fm 4shV52fYmyuW0snOaipMw/D4/ThPEqiajFfe5xC+ZYx4PK0Ii0YuBm72xnWu407gJ21z smq2pbZFUJ2ThnzWoiwd94pkIqNhhbOF4anacWiNTj28A0UdJy0LJiDQscIQhqac1NiS HYCVqiKbN4yneCYB5yjot0O4Rx8y+CWNXdok66XLpD2KEfRXNOh+Nzo3a4rkloSjcAn0 dHAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=GyJWAJ4X; 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 do15si11409493ejc.571.2020.08.10.00.27.29; Mon, 10 Aug 2020 00:27:52 -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=GyJWAJ4X; 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 S1726584AbgHJH02 (ORCPT + 99 others); Mon, 10 Aug 2020 03:26:28 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:22527 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726127AbgHJH01 (ORCPT ); Mon, 10 Aug 2020 03:26:27 -0400 X-UUID: 3103f9590f114368a6175e1b069cbd80-20200810 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=MiZ6leJF9tYuSzVOQIulz0H4R7mIPrSUOEtllZRLwmQ=; b=GyJWAJ4XvfW9O2Vc9O1hgQ/ZePfms5ONFEyEMB1bpJrHQ86G/mukGyOXcKBDGw8fzXjV0OLXQh73bMI6/u75pjVY7NA89PI7tRA/DaPezlV1cHKisZacM5wddZjxZZDf7uDvgNKEm3+muRVFcWfRq9WvmfBnL0ZDvSPk8BlAmy4=; X-UUID: 3103f9590f114368a6175e1b069cbd80-20200810 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 455172873; Mon, 10 Aug 2020 15:26:23 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs06n1.mediatek.inc (172.21.101.129) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 10 Aug 2020 15:26:22 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 10 Aug 2020 15:26:20 +0800 From: Walter Wu To: Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Matthias Brugger CC: , , , , wsd_upstream , , Walter Wu Subject: [PATCH 3/5] lib/test_kasan.c: add timer test case Date: Mon, 10 Aug 2020 15:26:20 +0800 Message-ID: <20200810072620.747-1-walter-zh.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain 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 QWRkcyBhIHRlc3QgY2FzZSB0byB2ZXJpZnkgdGltZXIgc3RhY2sgcmVjb3JkaW5nDQphbmQgcHJp bnQgdGhlIGxhc3QgdGltZXIgc3RhY2sgaW4gS0FTQU4gcmVwb3J0Lg0KDQpUaGUgS0FTQU4gcmVw b3J0IHdhcyBhcyBmb2xsb3dzKGNsZWFuZWQgdXAgc2xpZ2h0bHkpOg0KDQogQlVHOiBLQVNBTjog dXNlLWFmdGVyLWZyZWUgaW4ga2FzYW5fdGlt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