aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorHao Chen <chenhao418@huawei.com>2023-09-06 15:20:14 +0800
committerPaolo Abeni <pabeni@redhat.com>2023-09-07 11:08:03 +0200
commitefccf655e99b6907ca07a466924e91805892e7d3 (patch)
tree37fc0c76e67d5fdc7c19b9ee82a84fe116ed8b7f /scripts/gdb/linux/modules.py
parentdd2bbc2ef69a920d93801321b0b01ac6c4e5cacd (diff)
net: hns3: fix byte order conversion issue in hclge_dbg_fd_tcam_read()
req1->tcam_data is defined as "u8 tcam_data[8]", and we convert it as (u32 *) without considerring byte order conversion, it may result in printing wrong data for tcam_data. Convert tcam_data to (__le32 *) first to fix it. Fixes: b5a0b70d77b9 ("net: hns3: refactor dump fd tcam of debugfs") Signed-off-by: Hao Chen <chenhao418@huawei.com> Signed-off-by: Jijie Shao <shaojijie@huawei.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions