Re: [PATCH] firewire: nosy: do not ignore errors in ioremap_nocache()

2016-10-09 Thread Stefan Richter
On Sep 25 Alexey Khoroshilov wrote: > 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: Alexey Khoroshilov > --- > drivers/firewire/nosy.c |

[PATCH] firewire: nosy: do not ignore errors in ioremap_nocache()

2016-09-24 Thread Alexey Khoroshilov
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: Alexey Khoroshilov --- drivers/firewire/nosy.c | 7 +++ 1 file changed, 7 insertions(+) diff --