summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorRoland Dreier <roland@purestorage.com>2012-04-02 19:57:31 +0200
committerRoland Dreier <roland@purestorage.com>2012-04-02 19:57:31 +0200
commit0559d8dc13a1cd68b5e64c0b61659f36c7b5c89f (patch)
tree680c2516ac8f6a6114ca35ade2a2ab341449c686 /ipc
parentIB/mlx4: Don't return an invalid speed when a port is down (diff)
downloadlinux-0559d8dc13a1cd68b5e64c0b61659f36c7b5c89f.tar.xz
linux-0559d8dc13a1cd68b5e64c0b61659f36c7b5c89f.zip
IB/core: Don't return EINVAL from sysfs rate attribute for invalid speeds
Commit e9319b0cb00d ("IB/core: Fix SDR rates in sysfs") changed our sysfs rate attribute to return EINVAL to userspace if the underlying device driver returns an invalid rate. Apparently some drivers do this when the link is down and some userspace pukes if it gets an error when reading this attribute, so avoid a regression by not return an error to match the old code. Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions