Thread (5 messages) 5 messages, 3 authors, 2021-11-15

Re: [PATCH] serial: liteuart: fix missing drvdata

From: Andy Shevchenko <hidden>
Date: 2021-11-15 10:48:25

On Mon, Nov 15, 2021 at 4:34 AM Ilia Sergachev [off-list ref] wrote:

Besides what Greg asked for, can you rephrase Subject to something like
"serial: liteuart: Fix NULL pointer dereference in ->remove()"
drvdata has to be set in _probe() - otherwise platform_get_drvdata()
causes null pointer dereference BUG in _remove()
Don't forget the grammatical period.

Code looks good to me, though.

-- 
With Best Regards,
Andy Shevchenko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help