Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5686658rwd; Mon, 12 Jun 2023 08:21:16 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4DkktospYrfD96NhlketVxThzFuyC2v0gA8J3dTHywLZf3PyT4N4NQlsh779TZwVbITUcF X-Received: by 2002:a05:6a21:794:b0:10f:3fa0:fd8e with SMTP id mg20-20020a056a21079400b0010f3fa0fd8emr8713749pzb.27.1686583276052; Mon, 12 Jun 2023 08:21:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686583276; cv=none; d=google.com; s=arc-20160816; b=N8Q0if9ugHK2T6U6IY1l8SHi3/ORi/WngWWH4dNSh2VZu/Uazi1HoeZFwMIOopMpEp dmzkqJnqmwFDZdOq1Xo2edb1YicIu2ALOyPwfoCvSyu/RxOL1nDo3b38sTHZxwsQ2Ltl 9AIkr+pp1QIe8n7o8d2v8ugKuViFB+o+IMgjK18rimvT/bSTVaCRu8neKMsmdHRPrZ/m /g4dtWjp9RD8FMBN7Wrf5GqQfDuc3tBLpxF8xFoZxjgP+Rr1OvliP5wSptna/VrOESbJ SLevnBoQQTtSSJKHGhiGWX2Hq4BZRgDEXb36UFqbNZHIyedzrXXlpf1d2NovAjw5NAKG aR5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=/UCUFMga2EMcERlpB49Y2fRq+ymUyOKrUgYsHf0ed/0=; b=0VDcFCIN41PvM3JtfIrD1R1/4jsEfOyl+xSFGkbGMhFfr/3COc+xcojGWv6qqqsj9t vsO8ckhtaK9gNd/nx4mKy38zVacxrz/xqmN2ZecFd9BwKZaoDJllMDh+qSloCqqnK8/r B3bkJoiOGRsj63bkft2GKjzN3ABwZ/Q9+NQ2O3p2O+3cfjPTfI1uA+qGhpqNLpXQ7Ztt O47lUBBi2jNi6iVQfNqbwSDuubpvKxwoJ7hw/PVKtiWaz5MBILMnMpYXZg3ljm5T7ws8 0/7y9L+vCKNntT77oxb802NZt9BlJ6UxfI3j8ixTzEGeouJmam/BkhmsqwAsaxL0UYOR B1sQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=L7nqJsGZ; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b23-20020a639317000000b00534878ba944si7176741pge.336.2023.06.12.08.21.03; Mon, 12 Jun 2023 08:21:16 -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=@linaro.org header.s=google header.b=L7nqJsGZ; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238381AbjFLPBA (ORCPT + 99 others); Mon, 12 Jun 2023 11:01:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238423AbjFLPA6 (ORCPT ); Mon, 12 Jun 2023 11:00:58 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1D7010B for ; Mon, 12 Jun 2023 08:00:56 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-3f70fc4682aso31453545e9.1 for ; Mon, 12 Jun 2023 08:00:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686582055; x=1689174055; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=/UCUFMga2EMcERlpB49Y2fRq+ymUyOKrUgYsHf0ed/0=; b=L7nqJsGZJ4kjY557qHqALuPae3RMHgvnYVpXo9/i2LZxf+CHtnV8BP7RS0uaMpPTwT X+6kER9YLs5NxP7uKsF8cHFD32Ls6Scn2FTrCk9nnG09Yp6PZMYOkG1tQkgHjBix6xY7 xuhU29+n8M9LCoUamZ9pqUzT8dDv7DywYHg8fIZMxw8t7F+5VYUwNYFTYo9GfgqeretD EmsVU0NZjuohlcKKvHC1OpmyXxOWixpyOSKcW7xV3NEfYWS56ZHkZZAui0yWoIrkt/Qe cHuDOT6CHhLJpMAmKvexEECF0ia6zcRfZkBvR9gopfAI64jbHon5ing/2AKGWvSwP9r3 IlEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686582055; x=1689174055; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=/UCUFMga2EMcERlpB49Y2fRq+ymUyOKrUgYsHf0ed/0=; b=dO6KDSsV2bTXTdC0ctUIhO1dzcEYPOs1NLBejUC+7coXCdpA3L23M02v/DIk/Wj6ke p7FqrinBebl+yGLZMS8j1ngHOO3PbRjVVgcn4mvI3Shfm5ErhAZ03F0vLX5F2LPZxh6W WvQa5ukLdRW6Cbz5EOXAlx5rwb+l3AQwp1WeRRB1lM6bbyuavblF/H0JVg9rv5IJTntV 3j5exPvgw/v59YNoxOhMC8YVeF5cKFaWwRMfeu1qDNfGqOK7LctrdaVAPnReNUd3wzQp UtWhnvytXdm2VPIs2KVPt5FneOatoaZ1C1FSiUttRe6ztRcNaJF0qh/3QTTBT9OGRL8t 8/OQ== X-Gm-Message-State: AC+VfDwmma0dBoAftacL0Xu9CQf9kie6kYcC9ANNQRJGbZLsp6pNhVDF 11502xq+r/0S8WETeEhfKEfqPQ== X-Received: by 2002:a05:600c:21c4:b0:3f7:e48b:9752 with SMTP id x4-20020a05600c21c400b003f7e48b9752mr5759053wmj.32.1686582054775; Mon, 12 Jun 2023 08:00:54 -0700 (PDT) Received: from localhost ([102.36.222.112]) by smtp.gmail.com with ESMTPSA id f9-20020a7bc8c9000000b003f8140763c7sm6545492wml.30.2023.06.12.08.00.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jun 2023 08:00:53 -0700 (PDT) Date: Mon, 12 Jun 2023 18:00:50 +0300 From: Dan Carpenter To: Thomas Zimmermann Cc: daniel@ffwll.ch, javierm@redhat.com, sam@ravnborg.org, deller@gmx.de, geert+renesas@glider.be, lee@kernel.org, daniel.thompson@linaro.org, jingoohan1@gmail.com, michael.j.ruhl@intel.com, linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-sh@vger.kernel.org, linux-omap@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Laurent Pinchart , stable@vger.kernel.org Subject: Re: [PATCH v2 01/38] backlight/bd6107: Compare against struct fb_info.device Message-ID: <573e1bac-57a6-466c-ab69-28366a300143@kadam.mountain> References: <20230612141352.29939-1-tzimmermann@suse.de> <20230612141352.29939-2-tzimmermann@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230612141352.29939-2-tzimmermann@suse.de> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On Mon, Jun 12, 2023 at 04:07:39PM +0200, Thomas Zimmermann wrote: > Struct bd6107_platform_data refers to a platform device within > the Linux device hierarchy. The test in bd6107_backlight_check_fb() > compares it against the fbdev device in struct fb_info.dev, which > is different. Fix the test by comparing to struct fb_info.device. > > Fixes a bug in the backlight driver and prepares fbdev for making > struct fb_info.dev optional. > > v2: > * move renames into separate patch (Javier, Sam, Michael) > Thanks. This helps a lot. I stared at this for a long time without seeing the fix. Then I misunderstood Sam's review comments (my fault, they were clear in retrospect) so I got completely lost. regards, dan carpenter