commit | 247db25d9416af5e677d17a72c02af69588d8941 | [log] [tgz] |
---|---|---|
author | Henrik Grimler <henrik@grimler.se> | Tue Sep 10 20:37:18 2024 +0200 |
committer | Minkyu Kang <mk7.kang@samsung.com> | Tue Nov 05 14:26:13 2024 +0900 |
tree | a2ac8d2d91b338386f0e967923e7e7e3ad10f64d | |
parent | 52234d64e750dafcbef9018da27dc48480891f17 [diff] |
pinctrl: exynos: fix type of count integer unsigned int count is used to capture return of dev_read_string_count. When an error occurs dev_read_string_count returns -ve, which can hence not be handled correctly. Use int instead of unsigned int so that errors are detected. Fixes: 16ca80adc551 ("pinctrl: Add pinctrl driver support for Exynos7420 SoC") Signed-off-by: Henrik Grimler <henrik@grimler.se> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>