Thread (5 messages) 5 messages, 2 authors, 2013-01-03

backlight_register_device can oops if name is null ?

From: devendra.aaru <hidden>
Date: 2012-12-31 21:04:32

Hello,

while reading through the backlight_register_device function, there
seems to be a problem if the new object name is null, the pr_debug
print goes and dereferences a null pointer causing an oops,

the print should be removed or the check must be placed to ensure that
name is not null,

any ideas?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help