diff options
author | Hariprasad Shenai <hariprasad@chelsio.com> | 2015-07-03 16:10:51 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-03 09:54:02 -0700 |
commit | fda8b18c515a5e2caf821887ceafb42c35094eaf (patch) | |
tree | d39156760912e11884707e15eb7389d6aaa11069 /net | |
parent | 4c938d22c88a9ddccc8c55a85e0430e9c62b1ac5 (diff) | |
download | op-kernel-dev-fda8b18c515a5e2caf821887ceafb42c35094eaf.zip op-kernel-dev-fda8b18c515a5e2caf821887ceafb42c35094eaf.tar.gz |
cxgb4: Fix incorrect sequence numbers shown in devlog
Part of commit 49aa284fe64c4c1 ("cxgb4: Add support for devlog")
change introduced a real bug where the Device Log Sequence Numbers are
no longer being converted from firmware Big-Endian to local CPU-Endian
format.
This patch moves all of the translation into the devlog_show() routine.
The only endianness code now in devlog_open() is the small loop to find the
earliest (lowest Sequence Number) Device Log entry in the circular buffer.
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions