Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F2A53C433F5 for ; Fri, 17 Dec 2021 14:32:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237037AbhLQOby (ORCPT ); Fri, 17 Dec 2021 09:31:54 -0500 Received: from smtp-out2.suse.de ([195.135.220.29]:35580 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230248AbhLQObx (ORCPT ); Fri, 17 Dec 2021 09:31:53 -0500 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 491CB1F389; Fri, 17 Dec 2021 14:31:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1639751512; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=45lJW6QILgvVSzMr1foE0vB82no+Td5KuU3319yTv7M=; b=1rQbtTxnhFzhV6wTBiixVndYmfPpBeOhf6Onvz1/l/fJ8C/OJ6rDrIZWd+dA5yI4BewJPe W7Lb4nnNkZh+4i4pZyojnknFo7I5Zp1bjZUgXybwk4xfxnvKtmZWwD5avfhH7omprfRDyK Dh331NwH6+fSbEdjnS3N6oBAq6NWCRg= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1639751512; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=45lJW6QILgvVSzMr1foE0vB82no+Td5KuU3319yTv7M=; b=QrNTPisCaxhp5Qf3QwnCJmtnYzby45xji+KaUKjs4OdUoFqzIfljr0q633681DcwbjgUnA jO63mCwaOSsqO5Ag== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 2FFEE13E1C; Fri, 17 Dec 2021 14:31:52 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id pKCwClifvGGeJAAAMHmgww (envelope-from ); Fri, 17 Dec 2021 14:31:52 +0000 Message-ID: <90a43cac-7029-d439-3735-86b4bf2607b7@suse.de> Date: Fri, 17 Dec 2021 15:31:51 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: [PATCH v2 01/37] drm: Add drm_module_{pci,platform}_driver() helper macros Content-Language: en-US To: Javier Martinez Canillas , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org References: <20211217003752.3946210-1-javierm@redhat.com> <20211217003752.3946210-2-javierm@redhat.com> From: Thomas Zimmermann In-Reply-To: <20211217003752.3946210-2-javierm@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------TuP4NiKc1M9lQ1tXRHv24yZP" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------TuP4NiKc1M9lQ1tXRHv24yZP Content-Type: multipart/mixed; boundary="------------aH9swzG0xgYiMw598HFrIVFd"; protected-headers="v1" From: Thomas Zimmermann To: Javier Martinez Canillas , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Message-ID: <90a43cac-7029-d439-3735-86b4bf2607b7@suse.de> Subject: Re: [PATCH v2 01/37] drm: Add drm_module_{pci,platform}_driver() helper macros References: <20211217003752.3946210-1-javierm@redhat.com> <20211217003752.3946210-2-javierm@redhat.com> In-Reply-To: <20211217003752.3946210-2-javierm@redhat.com> --------------aH9swzG0xgYiMw598HFrIVFd Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 SGkgSmF2aWVyLA0KDQpsb29rcyBnb29kIGFscmVhZHkuIFNvbWUgY29tbWVudHMgYXJlIGJl bG93Lg0KDQpBbSAxNy4xMi4yMSB1bSAwMTozNyBzY2hyaWViIEphdmllciBNYXJ0aW5leiBD YW5pbGxhczoNCj4gQWNjb3JkaW5nIHRvIGRpc2FibGUgRG9jdW1lbnRhdGlvbi9hZG1pbi1n dWlkZS9rZXJuZWwtcGFyYW1ldGVycy50eHQsIHRoZQ0KPiBub21vZGVzZXQgcGFyYW1ldGVy IGNhbiBiZSB1c2VkIHRvIGRpc2FibGUga2VybmVsIG1vZGVzZXR0aW5nLg0KPiANCj4gRFJN IGRyaXZlcnMgd2lsbCBub3QgcGVyZm9ybSBkaXNwbGF5LW1vZGUgY2hhbmdlcyBvciBhY2Nl bGVyYXRlZCByZW5kZXJpbmcNCj4gYW5kIG9ubHkgdGhlIHN5c3RlbSBmcmFtZWJ1ZmZlciB3 aWxsIGJlIGF2YWlsYWJsZSBpZiBpdCB3YXMgc2V0LXVwLg0KPiANCj4gQnV0IG9ubHkgYSBm ZXcgRFJNIGRyaXZlcnMgY3VycmVudGx5IGNoZWNrIGZvciBub21vZGVzZXQsIHNvIGxldCdz IGFkZCB0d28NCj4gaGVscGVyIG1hY3JvcyB0aGF0IGNhbiBiZSB1c2VkIGJ5IERSTSBkcml2 ZXJzIGZvciBQQ0kgYW5kIHBsYXRmb3JtIGRldmljZXMNCj4gdG8gaGF2ZSBtb2R1bGUgaW5p dCBmdW5jdGlvbnMgdGhhdCBjaGVja3MgaWYgdGhlIGRyaXZlcnM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ybV9kcml2ZXJfdW5yZWdpc3RlcikNCj4gKw0K PiAgICNlbmRpZg0KPiANCg0KLS0gDQpUaG9tYXMgWmltbWVybWFubg0KR3JhcGhpY3MgRHJp dmVyIERldmVsb3Blcg0KU1VTRSBTb2Z0d2FyZSBTb2x1dGlvbnMgR2VybWFueSBHbWJIDQpN YXhmZWxkc3RyLiA1LCA5MDQwOSBOw7xybmJlcmcsIEdlcm1hbnkNCihIUkIgMzY4MDksIEFH IE7DvHJuYmVyZykNCkdlc2Now6RmdHNmw7xocmVyOiBJdm8gVG90ZXYNCg== --------------aH9swzG0xgYiMw598HFrIVFd-- --------------TuP4NiKc1M9lQ1tXRHv24yZP Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEExndm/fpuMUdwYFFolh/E3EQov+AFAmG8n1cFAwAAAAAACgkQlh/E3EQov+Au 0xAAynY3FgbhNNvCZXAJf7MY+FdQAlLNhYfhWwBn1NfVOU+JOaDG2nzESIsVWk1GTdCdtQZCjOmZ 20KSh0KJXsCR8fC8GhiJimA71UUJrLueUWu3Vn4tHksNjmYIFLcdZWyXRcgHJg/3Tqxy9E4Q200M x0uYyCWtsPX1TVJxwzse3maHCYZ2B5BaAyvDL3YQtBSgwoq3RY7Zr2T8VJ55UDFQPBvwXObvrh+4 CAlDDQOygiUxM+gpsWse0ojpSmz1BWcgE3y/VQDgspnsPANeOVZstmclLZS0oMJXRDdm0gK4AZd9 mimJ+Q/0FkP6QPUFNblW0K441GzQvvDpBG65pTB8Yv1XR7Uo2QM2RMF7rlkoxrZVcu1K/NVSj9DT MMqcNC60H4mHgNOJkJs8pBD1TvZkHkY5txadtYE85UY2dMbfwwI+8HAgOimr+GY5tnIn0gfY4lqR z/X5gwH+FF5w0yi7ZFRNs0E5meI0Cfgk7QdfNKzvHYEc46Kx9tJUpbCoxFELQyNzlHeHDXHT/8YY cj12FAYfgg8Ejl1O+0a9cn1s2Y75N6lmHuzk0b0EZU6rwOhyYmGDnIDcCXf5+VN0JdWx92KWCP+/ ivKEV7xbiHSNqVEYVEMpnca3QrerBDQXotfvq57UIxm7w4zD7WB8kIYnwcYD1WqNtdcBLFpxKyiX O50= =cZEP -----END PGP SIGNATURE----- --------------TuP4NiKc1M9lQ1tXRHv24yZP--