From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 D54C3226889 for ; Tue, 14 Jan 2025 18:04:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736877865; cv=none; b=LGxfyuIHWyuk22a0uocbuCSmbe2BpzBD+ICiZPxjE+9npG6wisJNiUoaeNSupqCdtA+grBOQBaf+67hxD1AThZfSOZgKrxh+PBU6vkQAIZIpup+Dlwi9njz62QVIkw26pVReZPc3MReWXyCJleAVGw7cP3uQZKdBt3graO1zf1o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736877865; c=relaxed/simple; bh=xVfjWtlrO8bHi3kxJFIj7ZpHbHl4C6Xv548+3ow6/x0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=qmM9mXyRHz0BxsmEWIZjSNhk5D/SG1UmbXyvzKgqECBswXraJj7h4xhPKPZnsB8Xi8AFgTQKTSO6cOfstkY88GtEYWxK+bNhd6JweOIIoXaYfb/JFzt6eYLxKlJ9Xr6M/QbFUHDwD/z3neaQRHI5FYrO04iXCPfS9dc02I8NwDQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eGomJ5Jh; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eGomJ5Jh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CDCC5C4CEDD; Tue, 14 Jan 2025 18:04:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1736877865; bh=xVfjWtlrO8bHi3kxJFIj7ZpHbHl4C6Xv548+3ow6/x0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eGomJ5Jh61/dE9eo8rIuPo/jiVCcFR/i3/+DHKHscBWHw7fgIWl0OK0yKw1P2eM4H 8OWnPUfOOYydCZeATqRkmgpPPMbUap6b5v3gflnmhf/CZFluXlBmHSTugzYXfDktZ1 j3IkxGERbeTlQ8mbnXCVTqVjyrhDckWn++++eFBRFT0q7Flwk1FZK+Ebvhyj6L0fJL BcOk8/h1z8E+0mVGYpja9Ao0VhJ7/g2ggKxmNX1TESzBNd4DASWVuutinBJNgmZ/9E I74TMfz4/KuRUX7eARgnc2z+ZmfGWV8xlbX3/vKz0jn4tYAhck/v5NrW/TpX3qtVp1 Tuyx7pWvnMBJA== From: Maxime Ripard To: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Liu Ying Cc: Maxime Ripard , andrzej.hajda@intel.com, neil.armstrong@linaro.org, rfoss@kernel.org, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@gmail.com, maarten.lankhorst@linux.intel.com, tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch, dmitry.baryshkov@linaro.org Subject: Re: [PATCH v2 0/2] drm: display: Fix atomic check for HDMI connector disablement Date: Tue, 14 Jan 2025 19:04:16 +0100 Message-ID: <173687783359.2391958.5213255793014816102.b4-ty@kernel.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250110084821.3239518-1-victor.liu@nxp.com> References: <20250110084821.3239518-1-victor.liu@nxp.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On Fri, 10 Jan 2025 16:48:19 +0800, Liu Ying wrote: > This patch series fixes a potential NULL pointer dereference when using > drm_atomic_helper_connector_hdmi_check() to check a DRM atomic commit > which tries to disable a HDMI connector. > > Patch 1 adds necessary checks to avoid the potential NULL pointer dereference. > Patch 2 adds a KUnit test case to make sure that atomic check succeeds when > disabling a HDMI connector. > > [...] Applied to misc/kernel.git (drm-misc-next-fixes). Thanks! Maxime