Commit ba09916e authored by Eder Zulian's avatar Eder Zulian Committed by Lee Jones
Browse files

mfd: syscon: Add check for invalid resource size



Add a consistency check to avoid assigning an invalid value to
max_register due to a possible DT misconfiguration.

Suggested-by: default avatarMark Langsdorf <mlangsdo@redhat.com>
Signed-off-by: default avatarEder Zulian <ezulian@redhat.com>
Link: https://lore.kernel.org/r/20250212184524.585882-1-ezulian@redhat.com


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent 860e9806
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment