lkml.org 
[lkml]   [2004]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.046 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site