Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1264778ybt; Thu, 2 Jul 2020 00:44:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYenUtvt7eQHwxIgmqxzrQjpuMlkkrPSxrJ5DUdAb6sh/oMpChkX7J2bQemYG4DhMMCQvD X-Received: by 2002:a17:906:2c43:: with SMTP id f3mr26048110ejh.38.1593675895078; Thu, 02 Jul 2020 00:44:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593675895; cv=none; d=google.com; s=arc-20160816; b=uNrVVW6gsJ1RjcBhFQJ5i7j49B6bSsT6Rx75cPSeHq19vFWrUAN5z4YnaRp5BM/Lsm qtYrd+ZTQcsA+21YXrJj3IbiI82JH/LxIl8NefCRnszSBXXZ1/dQuBumDh0REab2RMmY c/NM+KwkyMmynjvAjI6NMobvpOFgg+Oga+9o20ymv37i/7qVA5I2/MV3sY8feSTfccpK KfdN2qgUCNLnBOuzAX9lB2xZIIBlfdS3Bn86RscE4vvrko5paFnsdMmWQ8M2vypI+wqE 9HXvkpPZfIt+MHXPRuogtnga0JkE6B9lOGleTPYXRmQe6tBr0Uc9Z5hcR3AHurAqmOAk xSQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=ycIDJYbcW2RQjlA3DSzN782xRfyaRSiDQ5tOu66ILic=; b=x/QaNjCkXzfaHdqj1YFspLNHB+GNbd4VptZAQ+ca2/fjCYTf48g7IhFEUUrGR0TK8i uHRXp/EznpglqsMcpsgbN0/oDC+VAxKCheLasjW0j+Uw+LUGjUY8LKX6IRr3R9K0Nbxq iwTulmMG3tyRZUgeKJU8vbr6knUWcR8IXSQvKsf3X7X3dumsUorfPzWQcR8DmtkHNabA wW8XbtduSb1R837gBqGiIjacXpzsDafjeOZtzFAhAu+904nbrcL1wBn1MFM4Du8/3AbE vrX24n5DiNHWA2E1LU/c3l2qn/PH19gymdqi7EWZluTJ7nUZax80i4QLNGsVp29u2MEb UTdg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dt20si6519516ejc.24.2020.07.02.00.44.32; Thu, 02 Jul 2020 00:44:55 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727916AbgGBHns (ORCPT + 99 others); Thu, 2 Jul 2020 03:43:48 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:2623 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726892AbgGBHnr (ORCPT ); Thu, 2 Jul 2020 03:43:47 -0400 Received: from DGGEMM401-HUB.china.huawei.com (unknown [172.30.72.53]) by Forcepoint Email with ESMTP id 683B7DE95A848263F63A; Thu, 2 Jul 2020 15:43:44 +0800 (CST) Received: from dggeme710-chm.china.huawei.com (10.1.199.106) by DGGEMM401-HUB.china.huawei.com (10.3.20.209) with Microsoft SMTP Server (TLS) id 14.3.487.0; Thu, 2 Jul 2020 15:43:44 +0800 Received: from dggeme759-chm.china.huawei.com (10.3.19.105) by dggeme710-chm.china.huawei.com (10.1.199.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1913.5; Thu, 2 Jul 2020 15:43:43 +0800 Received: from dggeme759-chm.china.huawei.com ([10.7.64.73]) by dggeme759-chm.china.huawei.com ([10.7.64.73]) with mapi id 15.01.1913.007; Thu, 2 Jul 2020 15:43:43 +0800 From: "tiantao (H)" To: Thomas Zimmermann , "Chenfeng (puck)" , "airlied@linux.ie" , "daniel@ffwll.ch" , "kraxel@redhat.com" , "alexander.deucher@amd.com" , "tglx@linutronix.de" , "dri-devel@lists.freedesktop.org" , "xinliang.liu@linaro.org" , "linux-kernel@vger.kernel.org" CC: Linuxarm Subject: =?utf-8?B?562U5aSNOiBbUEFUQ0ggdjJdIGRybS9oaXNpbGljb246IFVzZSBkcm1tX2t6?= =?utf-8?Q?alloc()_instead_of_devm=5Fkzalloc()?= Thread-Topic: [PATCH v2] drm/hisilicon: Use drmm_kzalloc() instead of devm_kzalloc() Thread-Index: AQHWUD+qjoc/aFuowkyMiwMNqK+Q7qjzW+uAgACMSwA= Date: Thu, 2 Jul 2020 07:43:43 +0000 Message-ID: References: <1593673602-49027-1-git-send-email-tiantao6@hisilicon.com> <31a82ab1-e140-5e4d-774b-355a68f44add@suse.de> In-Reply-To: <31a82ab1-e140-5e4d-774b-355a68f44add@suse.de> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.57.60.129] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGk6DQoNCkkgYW0gc29ycnkgZm9yIG1pc3VuZGVyc3Rvb2QgeW91IHN1Z2dlc3RzLiBJIHdpbGwg c2VuZCB2MyB0byBmaXhlZCB0aGlzLg0KDQpCZXN0DQoNCi0tLS0t6YKu5Lu25Y6f5Lu2LS0tLS0N CuWPkeS7tuS6ujogVGhvbWFzIFppbW1lcm1hbm4gW21haWx0bzp0emltbWVybWFubkBzdXNlLmRl XSANCuWPkemAgeaXtumXtDogMjAyMOW5t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