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 9D740C6FD1D for ; Tue, 21 Mar 2023 08:21:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230388AbjCUIV5 (ORCPT ); Tue, 21 Mar 2023 04:21:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230502AbjCUIVj (ORCPT ); Tue, 21 Mar 2023 04:21:39 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C06ED2E838 for ; Tue, 21 Mar 2023 01:21:26 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id x3so56356446edb.10 for ; Tue, 21 Mar 2023 01:21:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679386885; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=4gU5Ul5Pqtj2Zu4ilRhyv356GMLxKXORyaaNIGSfEx4=; b=KCVpYwy5GslZcg2w/pnsd8XD8fl9oI4gTI7eu3h/7VXuqpW8TQdXNDAK+sPofcAMdl ycbY9Xr/ULZro8rx4v9I3OHqiWPEUuAMOvfc2ZyO39n8Zrbsiky3tXod+YDFqwsXWgC3 S34BMx+RCcIQ9vdtol3bHFe6wb5qZ+7vjw052gIrZbJob9mArZMAiHiPax3LRCNw/xgS jZjPnQylzihCDnVoOw4tPskB7fZD8ZKLiWh6LEyly9tD9N3Qf1s8y+TqjFVXBP2AGm9q mL31sS6a0lGd7StHZXAe3czDWmrdc3pwltw6CGcsCP8GUZPrcJffasoCBbGwipL5+2/s U3rQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679386885; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=4gU5Ul5Pqtj2Zu4ilRhyv356GMLxKXORyaaNIGSfEx4=; b=CDszVKgcc/+LM2M+bh5A3Qf31+NvjNvWB0Z97J0niclkz2RLTBigd52zP1kZMJZtbU t3NfI1WPlt4lTZx4o9cR8vJjsdZV228hVnSh+U4rQB+AVTtXyIohNlT9X4x1e0DVO/Yk HXIl1RpCG46l0R8GOC3C4X2BthCZDeV1UYLW3SnxXIY5yKl1Mw/22jSFz0JtbnU4YFge RnfeqSXOc6ld4v5YILg5CJLeFsv/tu6I3O90e+C8Q2XvH8EQwYygPd9pXJzWFG1qXcat 32e44wrNqOBMZu/vMxRkXKam9noM+0Z8ZkavHvc3nqMl1j3ui6ZJaQCy7Cm0QFvLNi4e BouQ== X-Gm-Message-State: AO0yUKVPNBibMvjwF9Y0t6feydS9M/OQvdTef0YamIXUQrFgAipnT8qO 5deuddK+6hRbPyVQwMtJdpKAVA== X-Google-Smtp-Source: AK7set+6Sf7lskRnCtVXZF0F+OgifgUKEDMmWXjnbQFKwSnk5FABspDdYivaIjgEpa8Ajasi1pfhJA== X-Received: by 2002:a05:6402:55a:b0:4fa:ada1:796d with SMTP id i26-20020a056402055a00b004faada1796dmr2339969edx.10.1679386885235; Tue, 21 Mar 2023 01:21:25 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:2142:d8da:5ae4:d817? ([2a02:810d:15c0:828:2142:d8da:5ae4:d817]) by smtp.gmail.com with ESMTPSA id s29-20020a50d49d000000b004fc2a75c6b3sm5865294edi.23.2023.03.21.01.21.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Mar 2023 01:21:24 -0700 (PDT) Message-ID: <8b7816b0-1daa-1c49-6f9d-40769d228a39@linaro.org> Date: Tue, 21 Mar 2023 09:21:22 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH 20/28] media: platform: jpeg: always reference OF data Content-Language: en-US To: Arnd Bergmann , Joe Tessler , Hans Verkuil , Mauro Carvalho Chehab , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Thierry Reding , Jon Hunter , Manivannan Sadhasivam , Michael Tretter , Pengutronix Kernel Team , Jacopo Mondi , Kieran Bingham , Laurent Pinchart , =?UTF-8?Q?Niklas_S=c3=b6derlund?= , Rui Miguel Silva , Wenyou Yang , Bin Liu , Matthias Brugger , AngeloGioacchino Del Regno , Minghsiu Tsai , Houlong Wei , Andrew-CT Chen , Andrzej Pietrasiewicz , Jacek Anaszewski , Sylwester Nawrocki , Patrice Chotard , Yong Deng , Paul Kocialkowski , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Prabhakar , Ezequiel Garcia , Philipp Zabel , Sean Young , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-tegra@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-rockchip@lists.infradead.org, oushixiong References: <20230312131318.351173-1-krzysztof.kozlowski@linaro.org> <20230312131318.351173-20-krzysztof.kozlowski@linaro.org> <86431868-488b-4a72-944b-231b6d0382b0@app.fastmail.com> From: Krzysztof Kozlowski In-Reply-To: <86431868-488b-4a72-944b-231b6d0382b0@app.fastmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21/03/2023 09:11, Arnd Bergmann wrote: > On Sun, Mar 12, 2023, at 14:13, Krzysztof Kozlowski wrote: >> The driver can match only via the DT table so the table should be always >> used and the of_match_ptr does not have any sense (this also allows ACPI >> matching via PRP0001, even though it might not be relevant here). This >> also fixes !CONFIG_OF error: >> >> drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c:1890:38: error: >> ‘mtk8195_jpegdec_drvdata’ defined but not used >> [-Werror=unused-const-variable=] >> >> Signed-off-by: Krzysztof Kozlowski > > I see now that we both submitted the same patch, but now Hans We as you and me? I cannot find your patch on lore: https://lore.kernel.org/all/?q=f%3Aarnd%40arndb.de > merged a worse fix [1] without a changelog text. > > Arnd > > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?h=4ae47770d57bff01 Uh, I can rebase my patchset. Best regards, Krzysztof