dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Maxime Ripard" <mripard@kernel.org>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v13 1/9] drm/lease: Add a helper to tell whether a lease was revoked
Date: Thu, 03 Dec 2026 14:23:52 +0000	[thread overview]
Message-ID: <sashiko-outbox-247955@kernel.org> (raw)
In-Reply-To: <20261203-drm-reset-state-flag-v13-1-b09f19f64e64@kernel.org>

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 <mripard@kernel.org>

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;
>  
> +	/**
> +	 * @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.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261203-drm-reset-state-flag-v13-0-b09f19f64e64@kernel.org?part=1

  reply	other threads:[~2026-12-03 14:24 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 14:07 [PATCH v13 0/9] drm: Add DRM_MODE_ATOMIC_RESET flag Maxime Ripard
2026-12-03 14:07 ` [PATCH v13 1/9] drm/lease: Add a helper to tell whether a lease was revoked Maxime Ripard
2026-12-03 14:23   ` sashiko-bot [this message]
2026-12-03 14:07 ` [PATCH v13 2/9] drm/atomic: Add drm_atomic_implements_create_state() helper Maxime Ripard
2026-12-03 14:07 ` [PATCH v13 3/9] drm/atomic: Allow filling a commit with pristine object states Maxime Ripard
2026-12-03 15:02   ` sashiko-bot
2026-12-03 14:07 ` [PATCH v13 4/9] drm/tests: atomic: Add tests for drm_atomic_commit_fill_with_defaults() Maxime Ripard
2026-12-03 15:21   ` sashiko-bot
2026-12-03 14:07 ` [PATCH v13 5/9] drm/amd/display: Take over the current stream and dc_state Maxime Ripard
2026-12-03 15:40   ` sashiko-bot
2026-12-03 14:07 ` [PATCH v13 6/9] drm/vc4: Carry the HVS channel over to created CRTC states Maxime Ripard
2026-12-03 16:06   ` sashiko-bot
2026-12-03 14:07 ` [PATCH v13 7/9] drm/msm/dpu1: Carry the mixers " Maxime Ripard
2026-12-03 16:36   ` sashiko-bot
2026-12-03 14:07 ` [PATCH v13 8/9] drm/atomic-uapi: Add DRM_MODE_ATOMIC_RESET flag Maxime Ripard
2026-12-03 14:07 ` [PATCH v13 9/9] drm/vkms: Add driver-specific plane property for testing Maxime Ripard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sashiko-outbox-247955@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=mripard@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox