diff options
| author | 2021-10-27 20:11:46 +0800 | |
|---|---|---|
| committer | 2021-10-27 14:47:33 +0100 | |
| commit | 2a21dab594a98c338c4bfbc31864cbca15888549 (patch) | |
| tree | feaacf0e17711b3453e0b9916b840b04272bd4d2 /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | net: hns3: ignore reset event before initialization process is done (diff) | |
| download | linux-dev-2a21dab594a98c338c4bfbc31864cbca15888549.tar.xz linux-dev-2a21dab594a98c338c4bfbc31864cbca15888549.zip | |
net: hns3: fix data endian problem of some functions of debugfs
The member data in struct hclge_desc is type of __le32, it needs endian
conversion before using it, and some functions of debugfs didn't do that,
so this patch fixes it.
Fixes: c0ebebb9ccc1 ("net: hns3: Add "dcb register" status information query function")
Signed-off-by: Jie Wang <wangjie125@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
