diff options
| author | Weihang Li <[email protected]> | 2019-06-13 17:12:32 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-06-14 19:26:16 -0700 |
| commit | ebaf1908772e0502081cbe4f64e59276770ba02b (patch) | |
| tree | 1d7f6e63931a4f787a3aba9ba3bef46c1632029d /tools/perf/scripts/python/bin | |
| parent | 3a30964a2eef6aabd3ab18b979ea0eacf1147731 (diff) | |
net: hns3: some variable modification
This patch does following things:
1. add the keyword const before some variables which won't be modified
in functions.
2. changes some variables from signed to unsigned to avoid bitwise
operation on signed variables.
3. adds or removes initialization of some variables.
4. defines a new structure to help parsing mailbox messages instead of
using an array which is harder to get the meaning of each element.
Signed-off-by: Weihang Li <[email protected]>
Signed-off-by: Peng Li <[email protected]>
Signed-off-by: Yunsheng Lin <[email protected]>
Signed-off-by: Yufeng Mo <[email protected]>
Signed-off-by: Huazhong Tan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions