summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/sw
diff options
context:
space:
mode:
authorDean Luick <dean.luick@intel.com>2016-02-18 20:12:51 +0100
committerDoug Ledford <dledford@redhat.com>2016-03-11 02:45:45 +0100
commit7b47622d784311bff8218d03754fbf20529c1a71 (patch)
tree57f6a3bbbc296040c31c1e4ed60684905dab2b3b /drivers/infiniband/sw
parentIB/rdamvt: fix cross build with rdmavt (diff)
downloadlinux-7b47622d784311bff8218d03754fbf20529c1a71.tar.xz
linux-7b47622d784311bff8218d03754fbf20529c1a71.zip
staging/rdma/hfi1: Guard i2c access against cp
An attempt to cp or cat /sys/kernel/debug/hfi1/hfi1_0/i2c1 produces this message: hfi1 0000:81:00.0: hfi1_0: IB0:1 I2C failed even retrying Fix the issue by explicitly rejecting a simple cat/cp with an -EINVAL error return. Reviewed-by: Easwar Hariharan <easwar.hariharan@intel.com> Signed-off-by: Dean Luick <dean.luick@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/sw')
0 files changed, 0 insertions, 0 deletions