lkml.org 
[lkml]   [2021]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v2] rtc: class: check return value when calling dev_set_name()
Date
On Tue, 12 Oct 2021 12:16:29 +0800, Yang Yingliang wrote:
> I got a null-ptr-deref report when doing fault injection test:
>
> BUG: kernel NULL pointer dereference, address: 0000000000000000
> RIP: 0010:strcmp+0xc/0x20
> Call Trace:
> __devm_rtc_register_device.cold.7+0x16a/0x2df
> rv3029_probe+0x4b1/0x770 [rtc_rv3029c2]
> rv3029_i2c_probe+0x141/0x180 [rtc_rv3029c2]
> i2c_device_probe+0xa07/0xbb0
> really_probe+0x285/0xc30
>
> [...]

Applied, thanks!

[1/1] rtc: class: check return value when calling dev_set_name()
commit: 24d23181e43d72ca692a479e70dfe5b0b5dd33f1

Best regards,
--
Alexandre Belloni <alexandre.belloni@bootlin.com>

\
 
 \ /
  Last update: 2021-10-15 21:12    [W:0.065 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site