firmware: arm_scmi: Make raw debugfs entries non-seekable
authorCristian Marussi <cristian.marussi@arm.com>
Fri, 15 Mar 2024 14:03:24 +0000 (14:03 +0000)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 25 Mar 2024 10:14:28 +0000 (10:14 +0000)
commitb70c7996d4ffb2e02895132e8a79a37cee66504f
treeaa2feae48d323b586533fdcb4edf4f7c7f84cd33
parent17f243adf1653bdbaeec767e3e74c9ad089f470b
firmware: arm_scmi: Make raw debugfs entries non-seekable

SCMI raw debugfs entries are used to inject and snoop messages out of the
SCMI core and, as such, the underlying virtual files have no reason to
support seeking.

Modify the related file_operations descriptors to be non-seekable.

Fixes: 3c3d818a9317 ("firmware: arm_scmi: Add core raw transmission support")
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Link: https://lore.kernel.org/r/20240315140324.231830-1-cristian.marussi@arm.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/raw_mode.c