[ldv-project] [PATCH] hostap: do not return positive number on failure path in prism2_open()

Joe Perches joe at perches.com
Mon Aug 5 07:33:36 MSK 2013


On Mon, 2013-08-05 at 07:18 +0400, Alexey Khoroshilov wrote:
> prism2_open() as an .ndo_open handler should not return positive numbers
> in case of failure, but it does return 1 in a couple of places.
> 
> Found by Linux Driver Verification project (linuxtesting.org).

How?

http://linuxtesting.org/project/ldv
http://linuxtesting.org/results/ldv

Shows defects and patches to fix them, but not any script
used to find it.




More information about the ldv-project mailing list