[PATCH RFC 12/23] scsi: sg: let procfs own the seq_file of allow_dio and def_reserved_size

sashiko-bot at kernel.org sashiko-bot at kernel.org
Tue Nov 3 07:18:50 PST 2026


> Pass the integer they show as the data of the entry and declare the
> show function, procfs then opens and frees the seq_file. That makes the
> open functions unnecessary.
> 
> Signed-off-by: Christian Brauner (Amutable) <brauner at kernel.org>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261102-work-procfs-drivers-v1-0-a994bd4d3b1a@kernel.org?part=12




More information about the kexec mailing list