mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 01:54:09 +08:00
bdb8742dc6
SCMI message headers carry a sequence number and such field is sized to allow for MSG_TOKEN_MAX distinct numbers; moreover zero is not really an acceptable maximum number of pending in-flight messages. Fix accordingly the checks performed on the value exported by transports in scmi_desc.max_msg Link: https://lore.kernel.org/r/20210712141833.6628-3-cristian.marussi@arm.com Reported-by: Vincent Guittot <vincent.guittot@linaro.org> Signed-off-by: Cristian Marussi <cristian.marussi@arm.com> [sudeep.holla: updated the patch title and error message] Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> |
||
---|---|---|
.. | ||
base.c | ||
bus.c | ||
clock.c | ||
common.h | ||
driver.c | ||
mailbox.c | ||
Makefile | ||
notify.c | ||
notify.h | ||
perf.c | ||
power.c | ||
reset.c | ||
scmi_pm_domain.c | ||
sensors.c | ||
shmem.c | ||
smc.c | ||
system.c | ||
voltage.c |