From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (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 672521C5D5E for ; Fri, 17 Apr 2026 16:12:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.84.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776442357; cv=none; b=ivpVdbHlVwPoc3CprU9cwZQePrepYtp1/iCxYWDNNc3q0vybJVbChRncUy/Ye7qwOKHIKWn6/iitBcMRBiSCZYJ6cIcRtVLJmGK87Z2M9XawKnfne9ruVdnXiGxJ/h3E3017gPjOCFxp0j/L+YzE8XM3JoHnmlSkB6Eb1zL1tQ4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776442357; c=relaxed/simple; bh=6P0bROl+jiUSEISiQirvzHj8llaa9iOTsDFOgUDlYaU=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:Cc:To:From: References:In-Reply-To; b=ArNTwBc7Ib9DjmprApD0IDIGF+T+30BujnY6HVyVusc+Q9yxEKYJaEtKDY8HAuhWcuMOt+N2x/T8o2xajcjv1a3Bn8qeUBFLNyFXtEbS7ptkZfp3sQD6jEFynYQ1R4/P8oGAHwdgh28KqKLz1W5paMegWd0UYUUEtqOc4MrwuVo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=HzwVPUOk; arc=none smtp.client-ip=185.246.84.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="HzwVPUOk" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id A69FC1A332B; Fri, 17 Apr 2026 16:12:31 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 70CA460497; Fri, 17 Apr 2026 16:12:31 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 7F3BD10460917; Fri, 17 Apr 2026 18:12:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1776442350; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=6P0bROl+jiUSEISiQirvzHj8llaa9iOTsDFOgUDlYaU=; b=HzwVPUOkMAavjqxI2btzyz8KrXu6hROGyspTpaeN5myBEGTPwJ4lz4dYQsW9EDYF1YI7lo P1lVu+P5hsh8PALCa9hjEbHmNTMuKn4Ri3+qdz7KFpKhVthPFdo/68T64SOSERvemEU58S uMBr4W+jwDtkwXDXYzj9YXUpJezvoYl5EQglq9Jro4dcWKvQV1aiQJlBwow3Lucbe3dGVz vMBcvPmdU7VM+aciB7kEycC3iSjtjTjkd53kAOFMUt4/iuY9mky5uJfcCZM1zfDPVRaI5w 4EHzGQTZEm2Iclb6gJsHePAFPKaaGbKYr+V2rRzQMMlRVLNk8aUOENeWkodzHw== Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 17 Apr 2026 18:12:23 +0200 Message-Id: Subject: Re: [PATCH] drm/bridge: tda998x: Return NULL instead of 0 in tda998x_edid_read() Cc: "Bajjuri Praneeth" , "kernel test robot" , , "Russell King" , "Andrzej Hajda" , "Neil Armstrong" , "Robert Foss" , "Laurent Pinchart" , "Jonas Karlman" , "Jernej Skrabec" , "Maarten Lankhorst" , "Maxime Ripard" , "Thomas Zimmermann" , "David Airlie" , "Simona Vetter" To: "Kory Maincent" , "Jyri Sarha" , "Russell King" , , From: "Luca Ceresoli" X-Mailer: aerc 0.20.1 References: <20260417155446.1068893-1-kory.maincent@bootlin.com> In-Reply-To: <20260417155446.1068893-1-kory.maincent@bootlin.com> X-Last-TLS-Session-Version: TLSv1.3 On Fri Apr 17, 2026 at 5:54 PM CEST, Kory Maincent wrote: > From: "Kory Maincent (TI)" > > tda998x_edid_read() returns a const struct drm_edid pointer, but when > tda998x_edid_delay_wait() fails (process killed while waiting for the > HPD timeout), the integer literal 0 is returned instead of NULL, > triggering a sparse warning: "Using plain integer as NULL pointer" > > Replace 0 with NULL to fix the sparse warning. > > Fixes: c76a8be4feec ("drm/bridge: tda998x: Add support for DRM_BRIDGE_ATT= ACH_NO_CONNECTOR") > Reported-by: kernel test robot > Closes: https://lore.kernel.org/oe-kbuild-all/202604172257.Imo6GOH9-lkp@i= ntel.com/ > Signed-off-by: Kory Maincent (TI) Reviewed-by: Luca Ceresoli -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com