Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp888080iob; Wed, 4 May 2022 09:59:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6uerqyI/nGbOtyialHvVseegP9lsrqK4am1hPrVMhnPLlt2o1pGYLXXy/vylMtMId+exj X-Received: by 2002:a17:907:d87:b0:6f4:dcc2:a40c with SMTP id go7-20020a1709070d8700b006f4dcc2a40cmr874030ejc.106.1651683584095; Wed, 04 May 2022 09:59:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651683584; cv=none; d=google.com; s=arc-20160816; b=zX3lZsofwvOLg/vLGE3IFfbQOeVnNbBxYKCRtEp4vNg2/TEUcckhsPiwoYcSiVsX+D 6z0uoOU1vSmNCsx8TbWrzJUNBs8f9A5ADmcF4S3QRMMAmOXez5luyZqtOfkeB3FOLfRN nxwUKoeHhDMZKsQEQ9hIiA6uEyrsHDpTazzH6LQbYTpbQBfoE/fnGBw00p47iuwrrXTB DrIUqECzAQvPa81gEndHUdmG3jrT5URJUSyG1AoAnd49fcBYUguyNVKfW4mR+qF5xv/x /DYm1kfOi6SClkZ9Zr20C7wyvZ1ydFy+hpxhBG8tMBsy35AxnzO5dlSirshu41noYYol Q/Iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:from:references:to:content-language :subject:user-agent:mime-version:date:message-id:dkim-signature :dkim-signature; bh=VOQMHo7goqGNyx6gxrIdY/3NDoenLiOZ+sLf1B/URg8=; b=pZX85I+oVmcwQ6MCgxd7xMYWBbBfQIArdOv6VeRchp6Q6M6dIBSpm5tq3HxzLUHVsJ GCZP7v9o6/4Ns6Vqai0dptg/RPmOlmkhPAcBH799Zr3ReNOVKPZWFpOeGGuUm7Cf6O/7 LPxriUUSd1ZLjHqmKSR1KN8UrWwHYHKlPv8BfdhRhzXrnPNMFcotwz9NtH0DLhNAeOAA Cr37icmclwWZy/QCDe4lDIrUNOZSEGY8v6W8qE9vEVY0CuOa74HShoz6PsHFwKyrKcdq DuoxOPNtStefbfbxxdFnFVPWYQ2rxt4N/oAdvlJhHgJFwEAEzliJfUQydpLtiUGnOWUZ UvRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=YGu7ulQe; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qb40-20020a1709077ea800b006f4e28d9e84si141228ejc.24.2022.05.04.09.59.20; Wed, 04 May 2022 09:59:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=YGu7ulQe; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347282AbiEDJau (ORCPT + 99 others); Wed, 4 May 2022 05:30:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231765AbiEDJas (ORCPT ); Wed, 4 May 2022 05:30:48 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B3D922B1F; Wed, 4 May 2022 02:27:12 -0700 (PDT) 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 2A8A01F749; Wed, 4 May 2022 09:27:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1651656431; 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=VOQMHo7goqGNyx6gxrIdY/3NDoenLiOZ+sLf1B/URg8=; b=YGu7ulQeFscE8DOaepZh+BlO+TQwNUEOxsKkMVl30mfVRbF7Qvm8rjkeazO9x7rD+HIaHC sPcpVgp97ViLjpDFvV5+iwKeOmmd7e/76OgwpBSU/J6cEKFVI83E4QHlDS2kgt6Wa1pMoe U47lXmH5+2Qngq8XEK7Ae3semY/20qI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1651656431; 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=VOQMHo7goqGNyx6gxrIdY/3NDoenLiOZ+sLf1B/URg8=; b=9YJ0ru/9uuUq6ZVFsfnqG3CKLEzCdSQJG9Q33bl46elXrRwqat5rYiwk7Q6eCHt10/D+kF 6qqoP52054rGD+AQ== 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 00A4C131BD; Wed, 4 May 2022 09:27:10 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id bbrIOu5GcmJLCAAAMHmgww (envelope-from ); Wed, 04 May 2022 09:27:10 +0000 Message-ID: Date: Wed, 4 May 2022 11:27:10 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH v2] fbdev: Use helper to get fb_info in all file operations Content-Language: en-US To: Javier Martinez Canillas , linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, Junxiao Chang , dri-devel@lists.freedesktop.org, Maxime Ripard , Sam Ravnborg References: <20220503201934.681276-1-javierm@redhat.com> From: Thomas Zimmermann In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------TQ8dZrWjVi6qU8b2dTrGsp8a" X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------TQ8dZrWjVi6qU8b2dTrGsp8a Content-Type: multipart/mixed; boundary="------------fVJCXKdhTJJnWaoYWTtZbIpw"; protected-headers="v1" From: Thomas Zimmermann To: Javier Martinez Canillas , linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, Junxiao Chang , dri-devel@lists.freedesktop.org, Maxime Ripard , Sam Ravnborg Message-ID: Subject: Re: [PATCH v2] fbdev: Use helper to get fb_info in all file operations References: <20220503201934.681276-1-javierm@redhat.com> In-Reply-To: --------------fVJCXKdhTJJnWaoYWTtZbIpw Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 SGkNCg0KQW0gMDQuMDUuMjIgdW0gM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KLS0gDQpUaG9tYXMgWmltbWVybWFubg0KR3Jh cGhpY3MgRHJpdmVyIERldmVsb3Blcg0KU1VTRSBTb2Z0d2FyZSBTb2x1dGlvbnMgR2VybWFu eSBHbWJIDQpNYXhmZWxkc3RyLiA1LCA5MDQwOSBOw7xybmJlcmcsIEdlcm1hbnkNCihIUkIg MzY4MDksIEFHIE7DvHJuYmVyZykNCkdlc2Now6RmdHNmw7xocmVyOiBJdm8gVG90ZXYNCg== --------------fVJCXKdhTJJnWaoYWTtZbIpw-- --------------TQ8dZrWjVi6qU8b2dTrGsp8a 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+AFAmJyRu4FAwAAAAAACgkQlh/E3EQov+CY JQ/9G0z3rrdjTIAjmyXbnhqqAI/q268jXmriZOdKySJ/5+RpwQ09fdkaj41pxs8KRi/TWIRHjk/V fAAEFh1/w1sD3tKJg+hwNynliw7pEl8teu5XcCyohniiO6zx+dwkX+BkPu2DfREKTDKdw9NiYUvn sVBKJOSET+cm0RUSnfAYAwkraRkSMcI500yMior3A12W3xGVhpa9Gop55vRVdG4fwFjJCCLp91ZC 9b+q6DTp0NDTsspYV9GMhICUjfyMKX3ZS4HQ2qinw4MW1S9xrk8XDgNP+tC8FXVYwB7oJhtk4qdO HGyslgtU9bS4HAv4m8e6DVF4H+Wm5gz7mZjU1cyq6JSX4RsmXTP+bFuAnQ6BHgzfjEwwZ28wtCOq WcVDiuMBk8B33mNUk0fvV+Mt6gCPOSxUX/PP2SE95qOuX5O5F7FnI887e3G+8yWEU4XRMkGXGO3J FV+eoSYazzvvNfrf8Dy0Nf+EHFc8qeQjISjAcXJ4v6DhKtyxQUqW/UC2FTbYFk4By/syeFb0qLjQ aeXuzNlE5z1364UsIdNtVf6x2kXWZgYZFMkTz5AqBh8F3no3inXejTzxzNmWp8qpkkoE2BPZwmMM RQHF+nAXzew3trquRiNhjUT+cAEeeYDq/d7fOJBw7kuncvqiE0a5MrDCzT4E2yVALLNFSaWS7kyB eIg= =vbFR -----END PGP SIGNATURE----- --------------TQ8dZrWjVi6qU8b2dTrGsp8a--