From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D4F45606A322 for ; Thu, 3 Dec 2026 14:24:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=nmXxrqW2 Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4069410E776; Thu, 3 Dec 2026 14:23:59 +0000 (UTC) Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8F1A410E74B for ; Thu, 3 Dec 2026 14:23:53 +0000 (UTC) Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id 3C94043BB8 for ; Thu, 3 Dec 2026 14:23:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0AE861F00893; Thu, 3 Dec 2026 14:23:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796307833; bh=wuizyYtjMNpebXjOWXcj+VILvCkpjhgiBepyw1OW3Yo=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=nmXxrqW2FJRS/998RJArmI+M3f/RXUizBXWU02dR02CmShD4NrJP3Ioj4o7xyMSWY XSm+8hJcBbOWQYEfD8JpqRcES77FuDgK6WvDiA3kacYeNiswS5aN+oxuPvjvjIATbo J57hgUnPynJy7Ts79jxf2cTAUyCLGFBRhz2MlTGuyafqJPyRcuMWpOxok14e1EBr7U zdocOdO2RBwJaU8doHWQtQwtlgXV4+YhS9oGVtF9evWYfFfSUUPao0i2q1JLD+NyGV XIentyl4isuFhqAOnMdJgrHnAndYa0S8UsBFPQ5Po/e6nEBMWJDe3nFSNOCASJ+QYx FbYmziPFblTvg== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v13 1/9] drm/lease: Add a helper to tell whether a lease was revoked To: "Maxime Ripard" Cc: dri-devel@lists.freedesktop.org In-Reply-To: <20261203-drm-reset-state-flag-v13-1-b09f19f64e64@kernel.org> References: <20261203-drm-reset-state-flag-v13-0-b09f19f64e64@kernel.org> <20261203-drm-reset-state-flag-v13-1-b09f19f64e64@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 14:23:52 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sashiko-reviews@lists.linux.dev Sender: "dri-devel" X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 X-Archived-By: Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] drm/lease: wrong kernel-doc member reference &leases in struct drm_master -- commit 2bc2cd08eab47333d816a48190a167dc5fdefaae Author: Maxime Ripard drm/lease: Add a helper to tell whether a lease was revoked This commit adds a lease_revoked flag to struct drm_master and a drm_lease_revoked() helper to check whether a lessee's lease has been revoked. > diff --git a/include/drm/drm_auth.h b/include/drm/drm_auth.h > index 50131383ed814..b1962f197b053 100644 > --- a/include/drm/drm_auth.h > +++ b/include/drm/drm_auth.h > @@ -120,6 +120,17 @@ struct drm_master { > */ > struct idr leases; > =20 > + /** > + * @lease_revoked: > + * > + * Whether the lease of this drm_master has been revoked. Since empty > + * leases can be created on purpose, an empty &leases doesn't imply a [Severity: Low] Should &leases be @leases here? In kernel-doc, &leases is parsed as a C type cross-reference to a nonexistent type rather than a struct member reference, which produces a broken link when Documentation/gpu/drm-uapi.rst is built with Sphinx. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203-drm-reset-= state-flag-v13-0-b09f19f64e64@kernel.org?part=3D1