diff options
| author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2024-03-01 01:21:27 +0300 |
|---|---|---|
| committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2024-03-08 14:01:21 +0300 |
| commit | babfeb9cbe7ebc657bd5b3e4f9fde79f560b6acc (patch) | |
| tree | 3752e989e917e88b364cf4247be86043b86774fc /include/linux/timerqueue.h | |
| parent | c12e67e076cbcb86fd9c3cb003a344ec684138a6 (diff) | |
| download | linux-babfeb9cbe7ebc657bd5b3e4f9fde79f560b6acc.tar.xz | |
rtc: nct3018y: fix possible NULL dereference
alarm_enable and alarm_flag are allowed to be NULL but will be dereferenced
later by the dev_dbg call.
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <error27@gmail.com>
Closes: https://lore.kernel.org/r/202305180042.DEzW1pSd-lkp@intel.com/
Link: https://lore.kernel.org/r/20240229222127.1878176-1-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
