]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8ddc156f89ea14c1bda3dbffebc25ddf24ef1f99
tree7d946426c195d61ba6961d67f1ec16ca95c6b60b
parent90a714a00232d2fcfa06a32a2ddf759eb6813cbc
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