Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp4111382pxa; Mon, 10 Aug 2020 00:30:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfnAGGsdhYsNQMZOxh8Rwk4/h9X7M5LiiRM5KOxHi66AlQr4vgXn+3QrOCm3HtunDpFpQT X-Received: by 2002:a17:906:d181:: with SMTP id c1mr2202948ejz.181.1597044624643; Mon, 10 Aug 2020 00:30:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597044624; cv=none; d=google.com; s=arc-20160816; b=FAWlbQqDDZnLUD6Nn0+OuodEV3puMdMuZe78ao0icWH4DXHY5VjWzkbxPr4NGbdoyL fZHPsCL24cR+Qyfy+/OSC6C9NCkQ6ZHsXxcgXtBfVSLm++PdNP9E9wwNqBfFWGE+3MQj ggb2ojE8fO3SvRCjzp7IrKXhpOuaAJe8Xj4EFuuMJTT9L6mD0noygtMrCVctwqOiNKP/ erNotZeXsX6F1BVwJ6Wn7bYdEO8tZDdu4hw/SQcLaMmSSU/5naESEdMDP0ll29vPBPYY sIEq8aHb2yWlMcSMLmKBW9a5fgTwSGFDQuiHtmiA+ZvjHEvEpJpa2Nl/LQKRakpMsLyC vrtg== 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=jm5/2VLDnPvpsF4CTFjMyvNKvdSPsuQ1Vi/sP3a85vU=; b=s8apKgJk1Qiaj5UEBFo15RMtgxcuDaerJf7ztoqZ6W8pAlwivr+i3OfAuyqV8qTKcE ETZcyk2Gq9AQJial+MrqIAg5iIo+Fc5qOlopSkFOR2g0q2/GsnpvTWdjYkcBnYcMfHnp zsgMn2fyM3yQgTRs8sbGlOT3Xc+dOT1qkeY+hM512d8dvMjdivXgMzzbBq0K9SjKgG6t XqQiA2ATRIVqOUWWIW9lfet56TnjbNuB28nJWVFFcweIKhqq+FM/Eng1dwifyOkArpeX 9kFihDl8grw4y62NOiSBrp+T9g8KHJD1RDvNxrHdRCTtaj1Wo+v/waPu82+hmgOwTzq6 QhIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="E71a/yQY"; 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 zh8si8633121ejb.475.2020.08.10.00.30.01; Mon, 10 Aug 2020 00:30:24 -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="E71a/yQY"; 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 S1726331AbgHJH1S (ORCPT + 99 others); Mon, 10 Aug 2020 03:27:18 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:54728 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725911AbgHJH1R (ORCPT ); Mon, 10 Aug 2020 03:27:17 -0400 X-UUID: ce21aa2c3116486aa06a0f860cedb531-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=jm5/2VLDnPvpsF4CTFjMyvNKvdSPsuQ1Vi/sP3a85vU=; b=E71a/yQY3qtyRP5dzROkjRwN7WQdPs8t6K1K9fYtV2zFKtv4TCB0lRleLiJq2534KAfRL+mscEtelg0No7xbg4eb730kvYOA2pkqWu7olLSt4+MWc4HOJEmsoAh3qu5Z3XwZ3m7CJXgP6wvquovtIxH5KhQdgN7uM2YPins+aG4=; X-UUID: ce21aa2c3116486aa06a0f860cedb531-20200810 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 560984028; Mon, 10 Aug 2020 15:27:12 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 10 Aug 2020 15:27:09 +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:27:09 +0800 From: Walter Wu To: Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Matthias Brugger CC: , , , , wsd_upstream , , Walter Wu Subject: [PATCH 4/5] lib/test_kasan.c: add workqueue test case Date: Mon, 10 Aug 2020 15:27:09 +0800 Message-ID: <20200810072709.827-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 QWRkcyBhIHRlc3QgY2FzZSB0byB2ZXJpZnkgd29ya3F1ZXVlIHN0YWNrIHJlY29yZGluZw0KYW5k IHByaW50IHRoZSBsYXN0IHdvcmtxdWV1ZSBzdGFjayBpbiBLQVNBTiByZXBvcnQuDQoNClRoZSBL QVNBTiByZXBvcnQgd2FzIGFzIGZvbGxvd3MoY2xlYW5lZCB1cCBzbGlnaHRseSk6DQoNCiBCVUc6 IEtBU0FOOiB1c2UtYWZ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