mirror of
https://github.com/apache/nuttx.git
synced 2026-05-12 01:42:49 +08:00
d61661e4c2
Add null pointer check for ioctl operations in RTC driver. Return -ENOTTY when ioctl function pointer is NULL to prevent crashes. Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>