Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Michal Schmidt <[email protected]> Signed-off-by: Jesse Barnes <[email protected]>
- Loading branch information