Skip to content
Commit 6449e31d authored by Alexey Khoroshilov's avatar Alexey Khoroshilov Committed by Stefan Richter
Browse files

firewire: nosy: do not ignore errors in ioremap_nocache()



There is no check if ioremap_nocache() returns a valid pointer.
Potentially it can lead to null pointer dereference.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: default avatarAlexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> (renamed goto labels)
parent c8d2bc9b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment