Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 71B9B7F for ; Wed, 14 Sep 2022 09:27:39 +0000 (UTC) Received: from [89.101.193.68] (helo=phil.sntech) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oYOg3-0004qR-32; Wed, 14 Sep 2022 11:27:27 +0200 From: Heiko Stuebner To: Nathan Huckleberry Cc: Heiko Stuebner , David Airlie , Dan Carpenter , Sandy Huang , linux-kernel@vger.kernel.org, llvm@lists.linux.dev, Tom Rix , dri-devel@lists.freedesktop.org, Nathan Chancellor , linux-rockchip@lists.infradead.org, Nick Desaulniers , linux-arm-kernel@lists.infradead.org, Daniel Vetter Subject: Re: [PATCH] drm/rockchip: Fix return type of cdn_dp_connector_mode_valid Date: Wed, 14 Sep 2022 11:27:24 +0200 Message-Id: <166314762584.32089.13970704876797531888.b4-ty@sntech.de> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220913205555.155149-1-nhuck@google.com> References: <20220913205555.155149-1-nhuck@google.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On Tue, 13 Sep 2022 13:55:55 -0700, Nathan Huckleberry wrote: > The mode_valid field in drm_connector_helper_funcs is expected to be of > type: > enum drm_mode_status (* mode_valid) (struct drm_connector *connector, > struct drm_display_mode *mode); > > The mismatched return type breaks forward edge kCFI since the underlying > function definition does not match the function hook definition. > > [...] Applied, thanks! [1/1] drm/rockchip: Fix return type of cdn_dp_connector_mode_valid commit: b0b9408f132623dc88e78adb5282f74e4b64bb57 Best regards, -- Heiko Stuebner