aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJian Shen <shenjian15@huawei.com>2018-09-21 16:41:38 +0100
committerDavid S. Miller <davem@davemloft.net>2018-09-21 19:29:32 -0700
commitd0d72bac023937b5194b4739136940d2bdf53001 (patch)
tree7cdb928dd8ac775197bd3f19fad0202fa71a2251 /tools/perf/scripts/python
parentnet: hns3: Fix ets validate issue (diff)
downloadlinux-d0d72bac023937b5194b4739136940d2bdf53001.tar.gz
linux-d0d72bac023937b5194b4739136940d2bdf53001.zip
net: hns3: Unify the type convert for desc.data
For desc.data is already point to the address of struct member "data[6]", it's unnecessary to use '&' to get its address. This patch unifies all the type convert for dest.data, using "req = (struct name *)dest.data". Signed-off-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions