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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 C0F34EE20AF for ; Fri, 6 Feb 2026 15:22:17 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 70A0E10E0EA; Fri, 6 Feb 2026 15:22:17 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=bootlin.com header.i=@bootlin.com header.b="EztGSRjE"; dkim-atps=neutral Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) by gabe.freedesktop.org (Postfix) with ESMTPS id 14F0010E0EA for ; Fri, 6 Feb 2026 15:22:16 +0000 (UTC) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 3E96AC250C5 for ; Fri, 6 Feb 2026 15:22:21 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id AA07960729; Fri, 6 Feb 2026 15:22:14 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id E3062119D1FFF; Fri, 6 Feb 2026 16:22:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1770391334; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=rvVjuBDR2kCTOpXzP4sGf5iqY5bnIVOBDYpz1ITr00U=; b=EztGSRjEnihxsq0yrkwMudCq9D7+ta6k7bEi7j4uc5AAPy4LvXahfMcEWO2KkZZ54yGt0c /qh0mv6neg3zk4ucnhO2fFXjZuGUTs3VLmLT/LC30D3LsibjPFmu8R7pUN7amhnAqM6C5M kpQ7xP0xjh2+9KDP0Jo7qdB6bhK6/oMOoMbz7D/qgUqVAxbbXfrTVzRF7pHlAm7+j2l+dj 3PD6PiJLAskxWnTmheYUb7YP8XK3aO1YFcJurUFdVSHjaf94hDenTs/+SeO/TPqz0py4sQ amXmyjm+4Q+hjb91QcAYwL1QnILntTl3mt14kdm/iX+WWwwHWZLPj5qZbEd8kQ== Date: Fri, 6 Feb 2026 16:22:12 +0100 From: Kory Maincent To: Louis Chauvet Cc: igt-dev@lists.freedesktop.org, thomas.petazzoni@bootlin.com, luca.ceresoli@bootlin.com, markyacoub@google.com, khaled.almahallawy@intel.com Subject: Re: [PATCH i-g-t v6 42/48] lib/igt_kms: Add asserts to avoid null pointer dereference Message-ID: <20260206162212.0c9ffe2a@kmaincent-XPS-13-7390> In-Reply-To: <20260202-unigraf-integration-v6-42-834af822eee7@bootlin.com> References: <20260202-unigraf-integration-v6-0-834af822eee7@bootlin.com> <20260202-unigraf-integration-v6-42-834af822eee7@bootlin.com> Organization: bootlin X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Last-TLS-Session-Version: TLSv1.3 X-BeenThere: igt-dev@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development mailing list for IGT GPU Tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" On Mon, 02 Feb 2026 15:33:21 +0100 Louis Chauvet wrote: > To help debugging and avoid null pointer dereference, add some asserts in > igt_output_from_connector. Reviewed-by: Kory Maincent Thank you! -- K=C3=B6ry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com