summaryrefslogtreecommitdiff
path: root/include/asm-cris/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorSanman Pradhan <psanman@juniper.net>2026-03-29 17:09:48 +0000
committerGuenter Roeck <linux@roeck-us.net>2026-03-29 19:04:16 -0700
commitccf70c41e562b29d1c05d1bbf53391785e09c6fb (patch)
tree4823ba82fc053a845b6369ed4f8eec14c087daca /include/asm-cris/git@git.tavy.me:linux.git
parent0e211f6aaa6a00fd0ee0c1eea5498f168c6725e6 (diff)
hwmon: (pxe1610) Check return value of page-select write in probe
pxe1610_probe() writes PMBUS_PAGE to select page 0 but does not check the return value. If the write fails, subsequent register reads operate on an indeterminate page, leading to silent misconfiguration. Check the return value and propagate the error using dev_err_probe(), which also handles -EPROBE_DEFER correctly without log spam. Fixes: 344757bac526 ("hwmon: (pmbus) Add Infineon PXE1610 VR driver") Signed-off-by: Sanman Pradhan <psanman@juniper.net> Link: https://lore.kernel.org/r/20260329170925.34581-4-sanman.pradhan@hpe.com [groeck: Fix "Fixes" SHA] Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'include/asm-cris/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions