From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mout-p-103.mailbox.org (mout-p-103.mailbox.org [80.241.56.161]) (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 0B3B12F872; Mon, 29 Jun 2026 09:06:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.241.56.161 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782723992; cv=none; b=t9iqBb471c6zuiQZ48/gndPZSzp9WZaq2Qrl/TgvvOQq/c1sprgYsAxWMNyw9sHFo3ebFOdgtprC0PGMWh23QwaAqwHWyvixLHxB+Fn2xGA3us7oqoXATpq69xx9Ff8kkYCKLPuZSzCSKXWIGAMiDSccsPB5+1wlJN2rB5ZcMTc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782723992; c=relaxed/simple; bh=+5DbOdCREXrMOWTs8JUDBnSvw6WHxdCc8/FhJoU4pkA=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=lmQcW3e1T2o5BVf+pqMzwTGuVoJSbH7Yh3ZYXWpOQpOUwdxNSXq/xeqT21MaHXb2yiIENqYLoopoyQTle52Zogmd8b27/psL3KSm9jvjgXMjvxsJpZNdalp6jGQunNJWQAh5umAC5bQ1Hy8uOaCNPR0MX2h2DCbvxeUFyA0tGP4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mailbox.org; spf=pass smtp.mailfrom=mailbox.org; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b=k6LBd3yF; arc=none smtp.client-ip=80.241.56.161 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mailbox.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mailbox.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b="k6LBd3yF" Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4gpgPZ2Y2Jz9try; Mon, 29 Jun 2026 11:06:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1782723986; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+5DbOdCREXrMOWTs8JUDBnSvw6WHxdCc8/FhJoU4pkA=; b=k6LBd3yF3Cnq4MQdQc4I+O4WCdw+y7Noqxao+VzjtYi9OYQ7XW+2HvjGqcRVJHoVhmLcLc s3f/wRe0eJmN96EjhPw1DUomwvvHCZp9E29MDxZJGXjRduvgqpZmDIYGpED0MHzlp28kzq sWzDf/9h6tcOGRsWGi95XWpN/DHtGbuRxSXnOUtWgHmSLUHbth47Y6lCTVQizyutGmTqBZ zzmkABTINM7ROXl2HyKnQeCjpT5/UZ14ebvsqlbd7vW3fJwKCs1y7Q16CANb7SxjrDlZjT C5FMk0+KCbADbCzC5PRtEmUQmFqwwGEJDRkMh/I2fRYCS3JdwRS43uAxcBxtmQ== Message-ID: <7dc78d8ae9903c215ec492ee39b27cc504da8307.camel@mailbox.org> Subject: Re: [PATCH] dma-fence: Make dma_fence_dedup_array() robust against 0-count input From: Philipp Stanner Reply-To: phasta@kernel.org To: Christian =?ISO-8859-1?Q?K=F6nig?= , phasta@kernel.org, Baineng Shou , Sumit Semwal Cc: Tvrtko Ursulin , Akash Goel , linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Date: Mon, 29 Jun 2026 11:06:22 +0200 In-Reply-To: <66344c20-ea97-4dfa-ac42-c9d6e061eb95@amd.com> References: <20260629031346.3875683-1-shoubaineng@gmail.com> <058f4bb261e408cf17deca9ff7354460675eacbf.camel@mailbox.org> <66344c20-ea97-4dfa-ac42-c9d6e061eb95@amd.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MBO-RS-META: cfpbhpfazfnp163f3j9gh77ehdtgq5zb X-MBO-RS-ID: 2e7c4b9ff8e2908180c On Mon, 2026-06-29 at 10:52 +0200, Christian K=C3=B6nig wrote: > On 6/29/26 10:49, Philipp Stanner wrote: > > >=20 > > > I will add a CC stable before pushing to drm-misc-fixes. > >=20 > > No offense intended or taken, but don't the DRM rules say that things > > do not get merged while there are outstanding concerns or significant > > points in review feedback? >=20 > I haven't seen that before writing the response. >=20 > I usually go over my mails till the end and wait a couple of hours before= pushing anything. >=20 > > What about my comments? >=20 > Looks valid to me as well, but I think that is a separate issue. But if we keep it an integer for now, and if that check is added, and it most certainly should also catch negative integers, shouldn't it? P.