]> err.no Git - linux-2.6/commit
IB: Fix display of 4-bit port counters in sysfs
authorRalph Campbell <ralph.campbell@qlogic.com>
Tue, 9 May 2006 17:50:28 +0000 (10:50 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 9 May 2006 17:50:28 +0000 (10:50 -0700)
commitd8b9f23b23e080d820e3c0aa5ccd7834c26ebf96
treed6b4b8576ad5df14c24515c55ee8316c252a6ca0
parent3cd73eedde34c5fd88d62d8523c4260970fdc6fb
IB: Fix display of 4-bit port counters in sysfs

The code to display local_link_integrity_errors and
excessive_buffer_overrun_errors in
/sys/class/infiniband/<hca>/ports/<n>/counters/
uses the wrong shift to extract the 4 bit values.

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/sysfs.c