On 02/15/2011 11:54 AM, Dan Carpenter wrote:
On Tue, Feb 15, 2011 at 11:13:52AM +0100, Roland Vossen wrote:
+       rc = rc || wl_ucode_init_buf(wl, (void **)&bcm43xx_bomminor,
+                                    D11UCODE_OVERSIGHT_BOMMINOR);
+       return rc;

This returns 0 on success and 1 on failure.  Kernel style is to return
negative error codes.

The caller doesn't use the error code so maybe it's OK, but it seems
ugly to me.

Agree. Greg, please drop this [PATCH 3/3] patch. I will send an update later today.

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to