Messages in this thread | | | Date | Tue, 9 Mar 2004 15:02:36 -0800 | From | Greg KH <> | Subject | Re: [PATCH] Fix i2c_use_client() |
| |
On Sun, Mar 07, 2004 at 04:13:41PM +0000, Russell King wrote: > i2c_use_client() contains a bogosity. If i2c_inc_use_client() returns > success, i2c_use_client() returns an error. If i2c_inc_use_client() > fails, i2c_use_client() might succeed. > > Fix it so that (a) we get the correct sense between these two functions, > and (b) propagate the error code from i2c_inc_use_client(), rather than > making our own one up.
Nice, thanks. I've applied this.
greg k-h - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |