IB/hfi1: Fix sysfs file offset usage
authorDean Luick <dean.luick@intel.com>
Tue, 12 Apr 2016 17:49:58 +0000 (10:49 -0700)
committerDoug Ledford <dledford@redhat.com>
Thu, 28 Apr 2016 20:32:27 +0000 (16:32 -0400)
commit4ee1585972c0772a5126d7242a906b18acee7b0f
tree7d946426c195d61ba6961d67f1ec16ca95c6b60b
parentea0e4ce3bcccef360e1aa69d17a210d1221ab80c
IB/hfi1: Fix sysfs file offset usage

Two sysfs files do not pay attention to the file offset when
reading data. Fix that.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/sysfs.c