Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp361133pxb; Thu, 7 Apr 2022 07:33:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxeH+F6gBTEAaard0kkQ+Vhcr9AX0jdXAxZJ2D0JPoBH9EEKNeEGR9OkMysSliMB5exNMsG X-Received: by 2002:a05:6402:2681:b0:419:4564:1bd4 with SMTP id w1-20020a056402268100b0041945641bd4mr14599619edd.358.1649342019265; Thu, 07 Apr 2022 07:33:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649342019; cv=none; d=google.com; s=arc-20160816; b=cxhMd8uTk5dIYRP+vXrLompsj/iD7o+0wdPkPTYQ83xnjwDj1bv7IKQ1qca64VPyPo HWTaWsn4d13JeF+LU+XkJFeKE1rI6NuHfCiykRu+uUNNpYJlRIZt7aAT+nZyu0fJjyOA pE8NUbgOU3JNU3VAR37vQp1RjJliOza0TxAkgYdRmvGGySFoKpe84tGM8zu4HkG5GSSt fAISIQKw5ep/JkjiqRiTTO7TcsdgbC8s4s/Vl6RJqn3dkLcnjnDQVhUyZ1huIW8yDX53 zC2Hl/qygWjodZ/tAmeHpXSZGkNZu8HI/ndTIiuQX55zIV1zA4MagUgr3jnDb7EXY8AM xtWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=hB372ZQZwFtHcO7eQrCjRw+uc8WqcWd1Sg3EXTJwdeA=; b=ZC5AKHVKXXcj0lywSo0z00oCHO+WI+t0QkQDOoDF2heODFXjyE521hs2s9kA9j9yTE daBsM2FKQPHF7e6n/9EKi9xCKOChqI3yTmg5Ddtlc1kjCiovisGXe6HJkmEJu0q1uhwr yXw5zqvZEdgv5R/m4An464j2KWtXVl0hOinhaC/G8Y7jnTgi/naCIpPFK2eXI3pc9oCD FynY1vvix6LXe1ZAQZbtPitzY2PAzPdW+db7F9FtzxvEO1VOLz7I9/zJ/qZBjYB9yrmS GtpDQmeY66BrkgT03PmA80LV8Hn8W34Tb7R1/Qh9Oy+eelVKbWF+O0/svF6gStN7VL31 UGxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BSnJdYGb; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j6-20020a170906254600b006e0829ae7a0si13541815ejb.51.2022.04.07.07.33.10; Thu, 07 Apr 2022 07:33:39 -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=@redhat.com header.s=mimecast20190719 header.b=BSnJdYGb; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234925AbiDGJLx (ORCPT + 99 others); Thu, 7 Apr 2022 05:11:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231842AbiDGJLw (ORCPT ); Thu, 7 Apr 2022 05:11:52 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 59B4750E29 for ; Thu, 7 Apr 2022 02:09:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1649322592; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hB372ZQZwFtHcO7eQrCjRw+uc8WqcWd1Sg3EXTJwdeA=; b=BSnJdYGbVdL36NcFpY3DjaPtCinTmAKD+zSC6bAZ0qIM3AHkxUV1fHGMEgGVDhujlj0waC 5OsSPfIZDdItbTvUit0n+cCAYtDm2mJyTREs5/gE/HKP7UuxPSOf7LVqz2uphApzm1ude4 zolOHFPWYlPqaZEGL0lzslKHsukOwrw= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-636-ecJQl6WjOUyex8BeIJNltw-1; Thu, 07 Apr 2022 05:09:18 -0400 X-MC-Unique: ecJQl6WjOUyex8BeIJNltw-1 Received: by mail-wm1-f71.google.com with SMTP id v62-20020a1cac41000000b0038cfe6edf3fso4297005wme.5 for ; Thu, 07 Apr 2022 02:09:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=hB372ZQZwFtHcO7eQrCjRw+uc8WqcWd1Sg3EXTJwdeA=; b=2miAqkNGT0cYg+d9n35GPgs2vSuM4q7bqNkc4PhgMAuNd6jmz3wjoCV6TV1sKSe65T 4R75g3xYHYjWWwFbsmD3Ab4YyBP2CZfgPU0ufqacjTXaY8fidE1oPbLvN6PJ3vvyN4Oy uta3VrH3RyjAgMRqNU1kgTPLWNS4PsL94VtGYYsuEmuwTomNR9CmgvxHYrIqSPu9IF8l MSCgxT80J8V4iAZQaGF77AcoLDfa9uQpJ2jF95odiY3/DzfvKNGxdCHW0l5/gaHNC1MA tCBtdb/4ISK1ZKNJlYhB9eekPIY7g77b4qBGtvvTux4wG8yfzcf18T1Vz2GK66LYk//n bcmA== X-Gm-Message-State: AOAM5331aHjKrLTR89mdvjzP9zzm+ol5wwA4zEPgpwewRC/iWOgVpm+h orjp1LWO+jnueG7BTkW2ypawUmvaCFyeAGRamv4uO/S2BvtwR0r3ylv73D4CBI+uDF72VuQhu2V EAoXsE/oHYjCD0N0AjkAdHguzqQ5pjMaDoW1b6SxLWP77AEVK4jyMosPG1mfJeEH6F9B6xPUcE8 A= X-Received: by 2002:a5d:4288:0:b0:206:b7b:db7a with SMTP id k8-20020a5d4288000000b002060b7bdb7amr10086641wrq.28.1649322556300; Thu, 07 Apr 2022 02:09:16 -0700 (PDT) X-Received: by 2002:a5d:4288:0:b0:206:b7b:db7a with SMTP id k8-20020a5d4288000000b002060b7bdb7amr10086613wrq.28.1649322555951; Thu, 07 Apr 2022 02:09:15 -0700 (PDT) Received: from [192.168.1.102] ([92.176.231.205]) by smtp.gmail.com with ESMTPSA id l5-20020a05600c2cc500b0038e9ac68d54sm38955wmc.32.2022.04.07.02.09.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 Apr 2022 02:09:15 -0700 (PDT) Message-ID: <4957c527-3346-104e-0265-8231be093d1f@redhat.com> Date: Thu, 7 Apr 2022 11:09:14 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [RESEND RFC PATCH 1/5] firmware: sysfb: Make sysfb_create_simplefb() return a pdev pointer Content-Language: en-US To: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Thomas Zimmermann , Borislav Petkov , Greg Kroah-Hartman , Miaoqian Lin References: <20220406213919.600294-1-javierm@redhat.com> <20220406213919.600294-2-javierm@redhat.com> From: Javier Martinez Canillas In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_NONE,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 Hello Daniel, On 4/7/22 11:03, Daniel Vetter wrote: > On Wed, Apr 06, 2022 at 11:39:15PM +0200, Javier Martinez Canillas wrote: >> This function just returned 0 on success or an errno code on error, but it >> could be useful to sysfb_init() to get a pointer to the device registered. >> >> Signed-off-by: Javier Martinez Canillas > > You need to rebase this onto 202c08914ba5 ("firmware: sysfb: fix > platform-device leak in error path") which fixes the same error path leak > you are fixing in here too. Or we just have a neat conflict when merging > :-) But in that case please mention that you fix the error path leak too > so it's less confusing when Linus or someone needs to resolve the > conflict. > Ups, I thought that had my local tree up-to-date but it seems that was a few days old. I've updated my remote now and rebased, so will have this fixed in the next revision of the series. And this patch becomes smaller indeed :) > Anyway Reviewed-by: Daniel Vetter > Thanks! -- Best regards, Javier Martinez Canillas Linux Engineering Red Hat