Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1245863ybt; Thu, 2 Jul 2020 00:06:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxgmiFNefrNAmzEnnamOSIoaN0KVKQ0+CWmDWnJC4MWcgYh5i3O4JpVvTb4Cl5kuFDYKwX X-Received: by 2002:aa7:ce84:: with SMTP id y4mr31955668edv.113.1593673618890; Thu, 02 Jul 2020 00:06:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593673618; cv=none; d=google.com; s=arc-20160816; b=HYzGrzrDx7ppqVKtIcKjJMVobUm6mUUGW6SG8wpsPu8GmE6PTHxVhdCtaz7DYxmZyV xFAjjXnODr7/4DFPKwu+tJfxpdWbfogGk1rzvSEf6ohbHdevEiFWGiZ00FusDdHEzRmd shANhGYJ9kWHv3fZlqyY0DAHsQo74o7bET8GY3dNGiEVb2EB++Fpnt4PSrZoWIWT6g6q 6RwQ181sEOj7kbI1GxzsicmrlBxu/V1asWn7uD7ChwCqTbk/VpLeWoVOchcnOIgbiWqZ pUUZ6heEGv5Dk4IJvSHu7IyDUvs/7SayLjHpLNxeKZ6WHgrxm05FjXKXfO1lQI+85npT mZIw== 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=RyCkQsZZozWcpAtQkrsrmTkCUqtL2I/0lTWw3/fS4e0=; b=nw/1UwwPeJcFOJfGE6aLnbk+n2nc5ABkoqkA2ITQFQeefwSZEJ9bDSkND5UeTdP5k+ UXkpG3RI0T6UvYVBAwhyxk973gZOPNKPF7M/1EDNl+zBurHFOoUFhPEgTFTWl5YhJh1n L30W6wtYtdILtGhZI43y49TnKwZRQaxFz+mEHLNHIwjz5dwHCzkSb3jqAqA32RjhWlOn YbE7OHEQWhPN47380XprdYdRUH9FaHUzcGieEW25YcPOIvMCLMEE++WVZgHhbO0JT5lX gCtApFQYHBUb+1CBGnu6p1fJvVJYYeVTyafVpfwQhqBj94roZleHvzgEVeDaEh/4uwDd ZOeQ== 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 lz22si4911904ejb.742.2020.07.02.00.06.36; Thu, 02 Jul 2020 00:06:58 -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 S1726874AbgGBHET (ORCPT + 99 others); Thu, 2 Jul 2020 03:04:19 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:2622 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726092AbgGBHET (ORCPT ); Thu, 2 Jul 2020 03:04:19 -0400 Received: from DGGEMM405-HUB.china.huawei.com (unknown [172.30.72.55]) by Forcepoint Email with ESMTP id 4564DCF9CC776307FF85; Thu, 2 Jul 2020 15:04:14 +0800 (CST) Received: from dggeme762-chm.china.huawei.com (10.3.19.108) by DGGEMM405-HUB.china.huawei.com (10.3.20.213) with Microsoft SMTP Server (TLS) id 14.3.487.0; Thu, 2 Jul 2020 15:04:00 +0800 Received: from dggeme759-chm.china.huawei.com (10.3.19.105) by dggeme762-chm.china.huawei.com (10.3.19.108) 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:04:00 +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:04:00 +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?562U5aSNOiBbUEFUQ0hdIGRybS9oaXNpbGljb246IFVzZSBkcm1tX2t6YWxs?= =?utf-8?Q?oc()_instead_of_devm=5Fkzalloc()?= Thread-Topic: [PATCH] drm/hisilicon: Use drmm_kzalloc() instead of devm_kzalloc() Thread-Index: AQHWUDv5oF9N4eaD8EOIzTbHFGOwPKjz3NAQ Date: Thu, 2 Jul 2020 07:04:00 +0000 Message-ID: <8f415f3d92584498bd979787d1846e5e@hisilicon.com> References: <1593652914-19639-1-git-send-email-tiantao6@hisilicon.com> <50ea833a-7d8d-a1ad-3622-3456afc87719@suse.de> In-Reply-To: <50ea833a-7d8d-a1ad-3622-3456afc87719@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 SGnvvJoNCg0KCVRoYW5rcyBmb3IgdGhlIGhlbHAgd2l0aCB0aGUgcmV2aWV3IGNvZGUuIEkgd2ls bCBzZW5kIHYyIHRvIGZpeGVkIHRoaXMuDQoNCkJlc3QNCg0KLS0tLS3pgq7ku7bljp/ku7YtLS0t LQ0K5Y+R5Lu25Lq6OiBUaG9tYXMgWmltbWVybWFubiBbbWFpbHRvOnR6aW1tZXJtYW5uQH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