public inbox for drm-ai-reviews@public-inbox.freedesktop.org
 help / color / mirror / Atom feed
From: Claude Code Review Bot <claude-review@example.com>
To: dri-devel-reviews@example.com
Subject: Claude review: fbdev: Wrap user-invoked calls to fb_blank() in helper
Date: Mon, 25 May 2026 18:52:08 +1000	[thread overview]
Message-ID: <review-patch2-20260522123019.211059-3-tzimmermann@suse.de> (raw)
In-Reply-To: <20260522123019.211059-3-tzimmermann@suse.de>

Patch Review

Creates `fb_blank_from_user()` in `fbmem.c` that bundles `fb_blank()` + `fbcon_fb_blanked()`.

The helper correctly preserves the existing behavior of calling `fbcon_fb_blanked()` unconditionally (even when `fb_blank()` fails), which matches both the chrdev and sysfs callers.

The declaration is placed in `fb_internal.h` rather than `fb.h` — this is appropriate since `fb_blank_from_user` is only called from within the fbdev core (chrdev and sysfs), unlike `fb_set_var_from_user` which is also called from external drivers.

The existing locking difference between chrdev (uses `lock_fb_info`) and sysfs (does not use `lock_fb_info`) is preserved by this patch. This is a pre-existing inconsistency, not introduced here.

Removal of `#include <linux/fbcon.h>` from `fbsysfs.c` is correct — it no longer directly calls any fbcon functions.

**No issues.**

---
Generated by Claude Code Patch Reviewer

  reply	other threads:[~2026-05-25  8:52 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-22 12:28 [PATCH v2 0/4] fbdev: Internalize fbcon Thomas Zimmermann
2026-05-22 12:28 ` [PATCH v2 1/4] fbdev: Wrap user-invoked calls to fb_set_var() in helper Thomas Zimmermann
2026-05-25  8:52   ` Claude review: " Claude Code Review Bot
2026-05-22 12:28 ` [PATCH v2 2/4] fbdev: Wrap user-invoked calls to fb_blank() " Thomas Zimmermann
2026-05-25  8:52   ` Claude Code Review Bot [this message]
2026-05-22 12:28 ` [PATCH v2 3/4] fbdev: Wrap fbcon updates from vga-switcheroo " Thomas Zimmermann
2026-05-25  8:52   ` Claude review: " Claude Code Review Bot
2026-05-22 12:28 ` [PATCH v2 4/4] fbdev: Do not export fbcon from fbdev Thomas Zimmermann
2026-05-25  8:52   ` Claude review: " Claude Code Review Bot
2026-05-22 13:59 ` [PATCH v2 0/4] fbdev: Internalize fbcon Helge Deller
2026-05-25  8:52 ` Claude review: " Claude Code Review Bot
  -- strict thread matches above, loose matches on Subject: below --
2026-05-27 15:14 [PATCH v3 0/4] " Thomas Zimmermann
2026-05-27 15:14 ` [PATCH v3 2/4] fbdev: Wrap user-invoked calls to fb_blank() in helper Thomas Zimmermann
2026-05-28  2:12   ` Claude review: " Claude Code Review Bot
2026-05-20 16:00 [PATCH 0/4] fbdev: Internalize fbcon Thomas Zimmermann
2026-05-20 16:00 ` [PATCH 2/4] fbdev: Wrap user-invoked calls to fb_blank() in helper Thomas Zimmermann
2026-05-25 11:30   ` Claude review: " Claude Code Review Bot

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=review-patch2-20260522123019.211059-3-tzimmermann@suse.de \
    --to=claude-review@example.com \
    --cc=dri-devel-reviews@example.com \
    /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