Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp286583lqp; Mon, 10 Jun 2024 04:22:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWu8xRB0srfE1XdIAb90lCPO3WQlnnQOApCgfFFDZBkrjP3BNgqfkQKuVR5tteH/Y+072H1XVQSRghNQ7ZtbUEJPE1eHnMfEMkr/uR7lw== X-Google-Smtp-Source: AGHT+IGVKddBncvqCcYlvp6mJJBPrlI5tYtr4HyMN4ShCbmt+oZJcFWEJ45VMJDt8Lo6GWoR+uN/ X-Received: by 2002:ac8:7dcb:0:b0:440:f54d:1bc9 with SMTP id d75a77b69052e-440f54d215fmr23176241cf.22.1718018567794; Mon, 10 Jun 2024 04:22:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718018567; cv=pass; d=google.com; s=arc-20160816; b=yYeKxTWfQe2B1QIW8u0Ha5Ql6lhyUQ5VGWki5yatlzopSDpkWCnFMnKmcvZQh/WbUY xuG8OUy4YKN+khFiIRnVsvaY+asJWx4Jj6rUa42AxN2Iv/9b1XV7zkN8Apg0F8dhx8Xn asyZAvkU6FzSpGxNWLngjoyhdmWu4Ggh4YsPfaa8CD2q0DIpo2JFWN9U+UkU+9fYmto8 vHDSfNxz68BH3EegSUGXjVxryHFju1rGbcPB2P5P2eFDO11lydc+t0pi0/L/3T89zX4/ MvYxFcaXkQgqCSzzDx+loO7b5G1D9qodWrQtOvi7oONg/I8p2e68Rx5PErHp5lEMXch8 IZLg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=EkV8eFeIlMbRYuFLi5bacADDZkcGFLP/Ep/Wj8zW2yA=; fh=ruG6ggzXpjZl6FoHzhba3aAr0FF40YREqK6A8HQdji4=; b=ULbRzGOywNu3HI1+PBGmReRyGBNMqxfgBcQekFExVSeyob4QlkfXlLNm6D9lkG+sAd j8MS+wQkYSWPwjPhfViDbPbhtLsNYtLvqyH9l3aD5P9lg2TR7gkp6MRcZuOP0qjOcv5v ALg86nOXMEs3UHpCWPWXQJDL5tIZ/NeIiFRSJcRyBbZe35jMmm+C+ZH/Igji0U3WCgLm U1XaO4IVYjXrgiRvn5IfKSpgQNXTCaAivbZcQFTqEc1zInHi9vyG2rbfXizHb+gE4/W9 jLRmb1MLh2ayTi2Q0Ra5xQXo2l6c0TaBc2a/teNKQpJ1ACBAY8t0KkCiheHBClmpA1n2 L6dg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OvzWOaXu; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-208072-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208072-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-44038b16dd8si102808121cf.328.2024.06.10.04.22.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 04:22:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-208072-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OvzWOaXu; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-208072-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208072-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 811B31C21BFC for ; Mon, 10 Jun 2024 11:22:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A4A607CF25; Mon, 10 Jun 2024 11:22:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="OvzWOaXu" 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 C8D247C081 for ; Mon, 10 Jun 2024 11:22:41 +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=1718018561; cv=none; b=d1k85YCiWoV/YsUeDZSRtcYh6QiccPAt6zrxtLW01giKu6mAn2K5XBXk7FiCyR3gF8LrZG1qDuryy33fC8emTGzDhZ+qVTYZfbFg+PtE2E7EU/3onV62EKiqR8NJA97BQbyXDxrmAo8PpKniGCkH+8PfYKE1JM+pyiRfhMTY7O4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718018561; c=relaxed/simple; bh=EkV8eFeIlMbRYuFLi5bacADDZkcGFLP/Ep/Wj8zW2yA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=LiIp7kfAZ/Pql5/I0KJRN+qwvTHcj+04JaLobg996u6k9rN4bqy04b8z03aybZwCNN6zYhFFxhh+Lv4sUfo14aBQA9EJE0eBw1i9txHuA9flnsjnxGo8jLePjt1KZ40fJPXDPxBWcy+yEuM0ERwxRIf1Xivsi9Z4oOVQq09ylvo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=OvzWOaXu; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id CD434C4AF1D; Mon, 10 Jun 2024 11:22:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718018561; bh=EkV8eFeIlMbRYuFLi5bacADDZkcGFLP/Ep/Wj8zW2yA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OvzWOaXuhoEJJ3cuyXabQhTXJTGE73mdTgRnf6/ya0baKS8JHV9er7EVFjZhs9BBA 0zOkWdVNlStK2qmSVnHwP4oJcARw+KlYjGgE+Yv/uVRbQJ/EoZNzIJtI9qgoCTBX8o cyO0kiw6uQJG0mKKPNbEcuv+Z7PyGHdrnVDI3Qk6xrNsRjJ8U56SnCMzAxrFDobO32 5bwlnHM0qZWRm28kseB6Nw3x91246R+KwGOMYujqPUdhk1fsqeBjDHC8Vh7iShgXFE uI+AdXZ7G//AXJYvs5aiDNCFkKwzUch7oj9IG3JQ9buAjKvDGo1lFBgkvOR3arNllm xc0DZ3L+IcyBw== Date: Mon, 10 Jun 2024 13:22:37 +0200 From: Maxime Ripard To: Amjad Ouled-Ameur Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Liviu Dudau , Maarten Lankhorst , Thomas Zimmermann , David Airlie , Daniel Vetter , Smitha T Murthy , Deepak Pandey Subject: Re: [PATCH] drm/komeda: check for error-valued pointer Message-ID: <20240610-classy-walrus-of-abundance-e8acff@houat> References: <20240610102056.40406-1-amjad.ouled-ameur@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="v2hia7wsvzddoorn" Content-Disposition: inline In-Reply-To: <20240610102056.40406-1-amjad.ouled-ameur@arm.com> --v2hia7wsvzddoorn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 10, 2024 at 11:20:56AM GMT, Amjad Ouled-Ameur wrote: > komeda_pipeline_get_state() may return an error-valued pointer, thus > check the pointer for negative or null value before dereferencing. >=20 > Signed-off-by: Amjad Ouled-Ameur I've added a Fixes tag and applied to drm-misc-fixes, thanks! Maxime --v2hia7wsvzddoorn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCZmbh/AAKCRDj7w1vZxhR xahgAQD23Qma6aL0sKtPduWTr7Di9Ar8cyqpLFFSYhO3huhalQEAuesXQa/px8G7 8pThjlEwd6jsLC0kUTk2AnhtJPcQiws= =c3Zi -----END PGP SIGNATURE----- --v2hia7wsvzddoorn--