Re: [PATCH] staging: greybus: loopback: change async field type from int to u32

From: Greg Kroah-Hartman

Date: Sun Nov 29 2026 - 07:37:09 EST


On Sat, Nov 28, 2026 at 10:29:21PM +0000, TAKANO Mitsuhiro via B4 Relay wrote:
> From: TAKANO Mitsuhiro <takano32@xxxxxxxxx>
>
> The sysfs attribute for async is defined with
> gb_dev_loopback_rw_attr(async, u), which uses "%u" in both
> sysfs_emit() and sscanf(..., &gb->async). However, struct gb_loopback
> declares async as int rather than an unsigned type.
>
> Change async to u32 to match the "%u" format specifier and the other
> unsigned attributes in struct gb_loopback.
>
> Signed-off-by: TAKANO Mitsuhiro <takano32@xxxxxxxxx>
> ---
> Verification: compile-tested on x86_64 with CONFIG_GREYBUS_LOOPBACK=m
> (make W=1 drivers/staging/greybus/loopback.o; 0 warnings) and checked
> with scripts/checkpatch.pl --strict. Checked against linux-next
> (next-20261127) and lore.kernel.org for duplicates. Not runtime-tested on
> Greybus hardware.
>
> The change and the changelog text were produced with an AI coding
> assistant (Gemini) working from the tree; I reviewed the diff and the
> reasoning, and I am responsible for the submission.

Odd your LLM didn't read:
https://lore.kernel.org/r/2026080354-skater-urgent-31b2@gregkh
:(