Michal Schmidt 447c5dd733 PCI: return correct value when writing to the "reset" attribute
A successful write() to the "reset" sysfs attribute should return the
number of bytes written, not 0. Otherwise userspace (bash) retries the
write over and over again.

Acked-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2010-05-11 12:01:11 -07:00
..
2010-05-11 12:01:09 -07:00
2010-03-11 14:04:27 +01:00
2010-05-11 12:01:08 -07:00
2010-04-22 16:13:16 -07:00
2009-02-13 12:01:56 -08:00
2008-06-25 16:05:13 -07:00
2009-07-12 12:22:34 -07:00