summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorIlia Sergachev <silia@ethz.ch>2021-11-15 22:49:44 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-11-25 18:25:24 +0100
commit0f55f89d98c8b3e12b4f55f71c127a173e29557c (patch)
tree5760212d8a5eef5634ad46964936da56f8fece77 /net
parent3dfac26e2ef29ff2abc2a75aa4cd48fce25a2c4b (diff)
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(). Fixes: 1da81e5562fa ("drivers/tty/serial: add LiteUART driver") Cc: stable <stable@vger.kernel.org> Reviewed-by: Johan Hovold <johan@kernel.org> Signed-off-by: Ilia Sergachev <silia@ethz.ch> Link: https://lore.kernel.org/r/20211115224944.23f8c12b@dtkw Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions