From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BE54DC83F33 for ; Tue, 5 Sep 2023 07:59:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-ID:References:In-Reply-To:Subject:Cc:To:From :Date:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=gOfmZ3x2q0IJBafwBaBJ97vkLJbBBj0VrRULP3avg2E=; b=PaoqdysCxmiRY7F3XFe1B1c9eG 6VyfzgmMiChNP522AbQV7r8NfEwadpXdVE7zCaP0ZmI7oMTk+ACYKB+Mfrz9nC/qDWGpjSUZFHhin Epyf5gLP727bHHal1CscGWwlIvIsne4W3s7i0/ABmkJe37mIgf/IZcdA40OrSDFsl3zmoNWg3bQeP Rbjuy5xt/Oa2lZaaipPKbJ0Bq7YQYNUt0HWndFcgzRqyrh8QrihpltEJ1qvdrxHO0R3gxQjiM3faS q72xSBGYbPAHYQWZeCy6vwZ1BuJfJYcXRUDgtvfk5viBIDCduxttPPRqVM0FWF5c2qs3eLPPZ8mo/ 4pBDdjRw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qdQxb-005U6c-2p; Tue, 05 Sep 2023 07:58:55 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qdQxY-005U5V-0u; Tue, 05 Sep 2023 07:58:53 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id B67F7B81097; Tue, 5 Sep 2023 07:58:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 81992C433C8; Tue, 5 Sep 2023 07:58:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1693900729; bh=Dnlu1SDu2v2QnFOKA53mp8v1htY/lKtNTEha/hvocxc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=BsAmLrNAK3vRW/Ymrt8hnLJqZhHBqtc+z93aKmix89cbGbhO2h2ccpOS4/emu37Cm qZ+cQ1oNKl378LvaB9nSaSmHygFW1LhtwTaYl0ydUbXhifhmuQiUVSJR28StLntCxv qXB92+lnyhBs4cNDyi6aUVcHKJq4qDPK28NvR7GyfZ2+9rHjVXdxWW/srzQMqfWB2u F/QpNxnAGoYouTTd9HyrWrxWrcDW8A7QqArEMDyudwVNB9vu8ILYYIIwQovFT/zcai vRq5UGfIkVUDpxpL7p1Jkm1ESvxYR1epeYhWTQ3opxRexM98a1st/YvMkEAHrpyM6H DveQ0u/e2HqQg== MIME-Version: 1.0 Date: Tue, 05 Sep 2023 09:58:44 +0200 From: Michael Walle To: AngeloGioacchino Del Regno Cc: =?UTF-8?Q?N=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= , Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Matthias Brugger , "Nancy . Lin" , Frank Wunderlich , Jitao Shi , Stu Hsieh , dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v3 2/2] drm/mediatek: dpi/dsi: fix possible_crtcs calculation In-Reply-To: References: <20230901174557.3617839-1-mwalle@kernel.org> <20230901174557.3617839-2-mwalle@kernel.org> Message-ID: X-Sender: mwalle@kernel.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230905_005852_449581_3197132C X-CRM114-Status: UNSURE ( 8.26 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org > At this point, I think that it would be sane to change this function to > return a signed type, so that we can return -ENOENT if we couldn't find > any DDP path (so, if we couldn't find any possible crtc). Fair enough, but should it be part of the fixes commit or a different one? -michael _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel