Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1159009ybl; Wed, 4 Dec 2019 18:24:23 -0800 (PST) X-Google-Smtp-Source: APXvYqw124rZTeG41O+pqN9vCuN7SvwvirtFFzJiBoERJZm9/v7FIHf2tI5IMaeJInhVBQ1Tx5Js X-Received: by 2002:aca:bb89:: with SMTP id l131mr3231621oif.73.1575512663617; Wed, 04 Dec 2019 18:24:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575512663; cv=none; d=google.com; s=arc-20160816; b=EjNQ/anCTaTgw7m9TlFkK04vJeaEQKCLwr+jOR//B/n52HFGxLPiDzkcG1k0yX7lQw TSp+zpO+r/EWd6UaArNP1GSQgNIUX73FT0ljrDfHfTU3ZoqcyxcbJChrRMpFrplsN0vs HFtWF3sgb7NK2xguSG1hLlfDI6Mad8/uXqUN9jIM1Qo+JiSGdm5sIpXXfCsREzCwn7+u hwiVGWgjMkjfhHu/d3QzmcXKK8Nuil0qlnclNJOhX8KJdzlyv+1vbPZEA9+EoBelft4l 0ZOI8M2Yhlfa2e6necrFDfGzWWgd35hRQVJuX+URe8BvVZ+dmYmCWTL5RDd72zBcU4fE pDww== 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=zF3v0xaTj7cC35c/2mHDLexBzEP7R6Xi6kyDMdBthps=; b=padzFJrKYgNNs8htk3kJ5VQAZnvooKT2JmlVF0rmHh+UtD+TXP+jHUtxGvcVRtJlnw WyfqzSbnxM6TWLtogj7HfQB8Xju7vhI8cdEaVBvORqFSN1jyBs46HDBz7Z5NTy4I+vFH h+pomlSgvhGRakg6HXn1r10SZXuZH62EoRGA3SsOPWINFtFuPvxB813kDBsct7BzJx+y RFBqePCrjci9KWjlE8Z2TLgjspugP/XDyfpBBQv5PlprI+tDj65xd7ZjPldxTp0BbGVa 1D8sQOR5tTNTVI3Nevd7m1oWfS0yry//Y5VeUUkGrmRmWHnP91/t30Wa3bKh0YVcwh7y Z8EA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=DSFkucxp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id l20si4205660otd.292.2019.12.04.18.24.11; Wed, 04 Dec 2019 18:24:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=DSFkucxp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1728560AbfLECWg (ORCPT + 99 others); Wed, 4 Dec 2019 21:22:36 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:55963 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728132AbfLECWf (ORCPT ); Wed, 4 Dec 2019 21:22:35 -0500 X-UUID: 09c5f15592064dd9af1468752702c9fe-20191205 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=zF3v0xaTj7cC35c/2mHDLexBzEP7R6Xi6kyDMdBthps=; b=DSFkucxpH4GhK60eDepcWvqfgCK0vI5JjVBniqi/6vvsa1/u5jxMN9fSwG8Gbhb9E7zTYLWnfA0yHbV4EoaLKmTz7M8y9mLlqWlE+bMAgSXMYvejKFOT5rMNxi5ZnbDRdLtC34682ohYPloArbVjy+aQyxxRD5vy2njHWmycLHs=; X-UUID: 09c5f15592064dd9af1468752702c9fe-20191205 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 684224926; Thu, 05 Dec 2019 10:22:30 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 5 Dec 2019 10:22:16 +0800 Received: from [172.21.77.33] (172.21.77.33) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 5 Dec 2019 10:23:13 +0800 Message-ID: <1575512548.12233.5.camel@mtkswgap22> Subject: Re: [PATCH] Input: evdev - convert kzalloc()/vzalloc() to kvzalloc() From: Miles Chen To: Dmitry Torokhov CC: , , , Date: Thu, 5 Dec 2019 10:22:28 +0800 In-Reply-To: <20191118054727.31045-1-miles.chen@mediatek.com> References: <20191118054727.31045-1-miles.chen@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 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 SGksDQoNCkdlbnRsZSBwaW5nLg0KDQpub3RlOg0KV2UgY2FuIGFsc28gb2JzZXJ2ZSB0aGlzIGlz c3VlIGluIGtlcm5lbC00LjQsIGtlcm5lbC00LjksIGFuZA0Ka2VybmVsLTQuMTQuDQoNCg0KICAg TWlsZXMNCg0KDQpPbiBNb24sIDIwMTktMTEtMTggYXQgMTM6NDcgKzA4MDAsIE1pbGVzIEN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