Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp278953lqp; Wed, 12 Jun 2024 00:56:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVN9Dz8+nZZQsgMU052+dPz8PgOB0bMXY4Mdjt+Urwniuw+gltc4LQg8snOieXuPzwLPKWqFzolmcfH5qnLHoh95/6tohQ4PCMUsX8Adw== X-Google-Smtp-Source: AGHT+IFI3VgBH8in08X1ttz61VEQb3ScEOMFOwjJVJuynPAbjivsNP4XXfCwuS5mJpOA3iBpFFAD X-Received: by 2002:a05:620a:3193:b0:795:5de4:662e with SMTP id af79cd13be357-797f5f00567mr132070985a.12.1718178965208; Wed, 12 Jun 2024 00:56:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718178965; cv=pass; d=google.com; s=arc-20160816; b=GlxUYLIXyA76S6+fCETP0mnERypyHRj4TAsMg2CvLMTOf1vZISnMkVrFP0y5o8pH82 AtB3c+sBs/ul59XP6MwIhQGNuC8HB2M5ZLzeTIYH2DVYf9qb6mRE51A5SesDKfCxHUSN ZKkFn0/usBw4pgOG3CtKzSJRHSfI4EV+A9DH4zAgdnXVShNI0vWMLJm7pr7OKY4myrKs aB+aDiowuS2TCBV+CWd/c3gDg8ZdhdPdX0Nlw67CtA8syKoVXrLcNZBFzJNH/TW8wvp6 uUw8l0kzFTieRHGVEsZ8lyA8juAJzlRsam/nb9Hq/P3vRpdt26a5nnFRFBgH0zGOwmFC vNsQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=nFNVZoP7vbjDpwWf7cAgpvIHwXKYqyktKbNPJ499zLU=; fh=6WBW+I91OjT5Z195beLGqrSHzQrM6EhfdS7JYweCKA0=; b=WLrW899QObmLPAuUxaZinezDktrR9G5ZVO3PbYilaJ+C5PVVh4KrgtOpgNF7yqkvSO 7GyEHYDIBRIkbp6ib7aE1UW5/vciNN5yG4e+Ee2HQlpdXw14lbF5xQFC7aYEBiBaKKmH LswogpX1lG1Gxspl5JnaKiqZV+ovNIRdGWjCCSsVe0I0sxGImj3JRFKV0GhQqu42v/9L +SLZWU6tcSRnCT6LzmjYq9B8az4Fk6s7h3vhAMcxup0+ekn/D94VSfkwBBbDOpiz0gao pWT4dBdYFvyPiltM/X11/fYqXz8QisCcWy4NoptOMuuef88B96cZn5m1NDcXIHE+HoVE X2qw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VirQKIzA; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-211109-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211109-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. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-4415c8d4c98si4858471cf.73.2024.06.12.00.56.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 00:56:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211109-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VirQKIzA; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-211109-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211109-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 DAAF81C221C4 for ; Wed, 12 Jun 2024 07:56:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5BD9916C6A5; Wed, 12 Jun 2024 07:55:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="VirQKIzA" 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 869642772A for ; Wed, 12 Jun 2024 07:55:57 +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=1718178957; cv=none; b=mCOoZ8mc6AJOPQZ7yKqgC+1FMzDhOhoHgY07B760aFAh5M3Uz4H8O4omEnAupATsFpD/bT8R93W4Jqr4vxji1quuNQsNbjaX4pYbRlIN9HuecbPiSSAORgqzAtu9LIjYEfWB0jH0ok40ugGUhLQfds2F2wPyACTsL/wuAFdnr2s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718178957; c=relaxed/simple; bh=DPxfwqw32UzG01diDS0TG9qPWmDaaLhYilwUhVS25/U=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=u50ljkMajeEOXYjTDafLw2yerWvF70g1HCpkUxnfWpzdGTs7qKyqlkY2Rfwktr+7m8Oao4IBE7LG0BGofAwAr+KLJTmjzWZkMdY6bTrmUGedbt6oV3+4eOi2MoFNv2MlKtlw9DJNPy9wI0DntDkFz3EX4muZwVAhgeY8Ly4pUjM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VirQKIzA; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A9807C3277B; Wed, 12 Jun 2024 07:55:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718178957; bh=DPxfwqw32UzG01diDS0TG9qPWmDaaLhYilwUhVS25/U=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=VirQKIzA8Si2u5Y+WDCr4RAezIVKUHMUpfvmAWO+355t3/gJFJhOx/aYn76B1YhxI 10g7HZOZPDB0tM0TluMfK2+dfkSk2QS8VX4E4n8giVfOL1e+t/80A4MecLKSUN1zlf gZ0EJf8ejdnv/CRDfzF77455pTOKcOJ1/ko4Q5Oag9Ei0+iJipkVJ6RvySp6cOckI3 1Yx6SOzQUuy1gnfWcsX477iXngeuvysJMwCttLw379fx8TVrpiCLcqqWceZSmp1DHR 1Yg3bSQzDAeubyP8sGzhUJrQUWMHasll26/gleJ3YAXyjtq6D3U4enIJ4UFRoG5kxE J+7fc5+qkCJyQ== From: Maxime Ripard To: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Amjad Ouled-Ameur Cc: Liviu Dudau , Maarten Lankhorst , Thomas Zimmermann , David Airlie , Daniel Vetter , Smitha T Murthy , Deepak Pandey In-Reply-To: <20240610102056.40406-1-amjad.ouled-ameur@arm.com> References: <20240610102056.40406-1-amjad.ouled-ameur@arm.com> Subject: Re: (subset) [PATCH] drm/komeda: check for error-valued pointer Message-Id: <171817895441.766399.8225643832267707150.b4-ty@kernel.org> Date: Wed, 12 Jun 2024 09:55:54 +0200 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: 7bit X-Mailer: b4 0.13.0 On Mon, 10 Jun 2024 11:20:56 +0100, 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. > > Applied to misc/kernel.git (drm-misc-fixes). Thanks! Maxime