Re: [ltp] Re: thinkpad-acpi release 0.17-20071002 uploaded to ibm-acpi.sf.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 04 Oct 2007, Chris Hanson wrote:
> Henrique de Moraes Holschuh wrote:
> > On Thu, 04 Oct 2007, Chris Hanson wrote:
> >> What doesn't appear here is code to discard the input buffer when EINVAL
> >> is returned.  I don't understand where that is supposed to happen, since
> >> it would normally be handled by returning the number of characters read
> > 
> > If you return any valid error (like -EINVAL), the entire buffer is
> > discarded, and the write operation syscal fails with that error status.
> 
> Well, that's clearly not happening for me.  How do I track this down?
> Where's the caller?

fs/sysfs/file.c, I think.

But it would be really weird to have problems there and not notice it with
failures happening everywhere in the system.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel

[Index of Archives]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite Advice]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux