lkml.org 
[lkml]   [2003]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH][2.5.60 Trivial] Sysfs not handling show errors

On 12 Feb 2003, Rusty Lynch wrote:

> Attempting to cat a sysfs file that returns an error will result in an
> endless dump of garbage to the screen because the result of the specific
> show operation was being saved to a size_t (unsigned) and then later
> checked for a negative value.
>
> Here is a trivial patch to fix the error.

Thanks, applied.

-pat

-
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 13:33    [W:2.769 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site