aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorPeter Oberparleiter <[email protected]>2015-10-26 14:54:23 +0000
committerJames Bottomley <[email protected]>2015-11-10 01:40:22 +0000
commit5cb9b40d6127fed91b00abe44498f19f6ed6a77f (patch)
tree0a4ef64a100181066494993fe4412ffca5d75ef4 /drivers/fpga/fpga-mgr.c
parentbnx2fc: Update version number to 2.9.6. (diff)
downloadkernel-5cb9b40d6127fed91b00abe44498f19f6ed6a77f.tar.gz
kernel-5cb9b40d6127fed91b00abe44498f19f6ed6a77f.zip
scsi_sysfs: Fix queue_ramp_up_period return code
Writing a number to /sys/bus/scsi/devices/<sdev>/queue_ramp_up_period returns the value of that number instead of the number of bytes written. This behavior can confuse programs expecting POSIX write() semantics. Fix this by returning the number of bytes written instead. Signed-off-by: Peter Oberparleiter <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Reviewed-by: Ewan D. Milne <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions