Re: [PATCH] hostap: do not return positive number on failure pathin prism2_open()

From: Joe Perches
Date: Sun Aug 04 2013 - 23:33:48 EST

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 (


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

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at