From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1793E606A322 for ; Wed, 2 Dec 2026 15:10:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=N8L350YI Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A203E1122BB; Wed, 2 Dec 2026 15:10:19 +0000 (UTC) Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id C6A4D1122BB; Wed, 2 Dec 2026 15:10:13 +0000 (UTC) Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id 817D241705; Wed, 2 Dec 2026 15:10:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2FBAD1F00926; Wed, 2 Dec 2026 15:10:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796224213; bh=JT3PaOeYG24xv9wTF2s5tHN9OecTtMjn0kgkUrxF1dU=; h=From:Subject:Reply-To:To:In-Reply-To:References:Date; b=N8L350YIWjYqQ53nKSehhee9gyEdYBm3/pJ1Z7dwVKN/ZzEgDjnZvGsLN+RJ56SUs iu+Jxo9orH4xJnk4EnejBHMdn1ANCxdRBChzK9UChkcWyijN3EMWPUS7FKlgT1FEHj XTJuIHtJWux32+rvX/Tu4comq0XoJT6ptDOGtZNfG7dxFDaDmDmmN0rAP3izo16nDa IMBxV/QysCcfTSJ9K4I7l+eiCesyGdT9D3FBtyViP+FsVCe3TCVfLHnwM95+NElWx5 mpelLcSy5zXl4dlcIYXz4dSLPrplg0CsGGGjvIORub13BeZ60YxeIyGXM+HMHf+Y7Z rpOV8UoBX2/QA== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH 05/11] drm/i915/dsi: add error handling to element execution To: "Jani Nikula" , intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org In-Reply-To: <9ff478bfbf4cb069e61e2fa92c4c86f72204804a.1796223381.git.jani.nikula@intel.com> References: <9ff478bfbf4cb069e61e2fa92c4c86f72204804a.1796223381.git.jani.nikula@intel.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Wed, 02 Dec 2026 15:10:12 +0000 X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sashiko-reviews@lists.linux.dev Sender: "Intel-gfx" X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 X-Archived-By: Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] drm/i915/dsi: misplaced newline in drm_dbg_kms() in intel_dsi_vbt_exec() -- commit a411d5271d02c00c2666057d3bf083183fc82f93 Author: Jani Nikula drm/i915/dsi: add error handling to element execution This commit adds error handling for negative return values from MIPI VBT element handlers in intel_dsi_vbt_exec() and continues sequence execution using the VBT structure's operation size when the parsed size does not match. > diff --git a/drivers/gpu/drm/i915/display/intel_dsi_vbt.c b/drivers/gpu/d= rm/i915/display/intel_dsi_vbt.c > index bb1acd7d67f58..cfe9e79fa6ecd 100644 > --- a/drivers/gpu/drm/i915/display/intel_dsi_vbt.c > +++ b/drivers/gpu/drm/i915/display/intel_dsi_vbt.c > @@ -671,14 +671,25 @@ static void intel_dsi_vbt_exec(struct intel_dsi *in= tel_dsi, > } > =20 > ret =3D mipi_elem_exec(intel_dsi, data); > + if (ret < 0) { > + if (!operation_size) { > + /* No size, can't continue without parse result. */ > + drm_err(display->drm, "MIPI operation %u failed with %pe\n", > + operation_byte, ERR_PTR(ret)); > + return; > + } > =20 > - /* Consistency check if we have size. */ > - if (operation_size && ret !=3D operation_size) { > - drm_err(display->drm, "Inconsistent operation size\n"); > - return; > + drm_dbg_kms(display->drm, "MIPI operation %u failed with %pe\n", > + operation_byte, ERR_PTR(ret)); > + } else if (operation_size && ret !=3D operation_size) { > + /* Consistency check if we have size. */ > + drm_dbg_kms(display->drm, "Inconsistent operation size (expected %d, = parsed %d\n)", > + operation_size, ret); [Severity: Low] The newline in this drm_dbg_kms() format string is placed before the closing parenthesis ("parsed %d\n)") instead of after it. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/cover.1796223381.gi= t.jani.nikula@intel.com?part=3D5