diff options
| author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-11-18 13:48:56 +0300 |
|---|---|---|
| committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2025-12-08 22:59:58 +0100 |
| commit | 159a740c768e4e8fe3c63d20055bf54de29c0c02 (patch) | |
| tree | e1f00730c83490c144e0c33b42d6e5730e7a15a6 /net/unix/af_unix.c | |
| parent | f07640f9fb8df2158199da1da1f8282948385a84 (diff) | |
rtc: atcrtc100: Fix signedness bug in probe()
The "atcrtc_dev->alarm_irq" variable is an unsigned int but it needs to
be signed for the error handling to work. Use the "ret" variable
instead.
Fixes: 7adca706fe16 ("rtc: atcrtc100: Add ATCRTC100 RTC driver")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/aRxPGBEX8hbY6sjV@stanley.mountain
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
