diff options
| author | Hao Chen <[email protected]> | 2021-12-03 17:20:52 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-12-03 11:00:59 +0000 |
| commit | 0cc25c6a14efd709f2cfcde345e3d5c6aa20f80e (patch) | |
| tree | 13a5337c079805f6aebae8b2a8fd23c3ac98be47 /tools/perf/scripts/python/stat-cpi.py | |
| parent | 114967adbc3dce9c537e85eba2d605233d64f54f (diff) | |
net: hns3: Align type of some variables with their print type
The c language has a set of implicit type conversions, when
two variables perform bitwise or arithmetic operations.
For example, variable A (type u16/u8) -1, its output is int type variable.
u16/u8 will convert to int type implicitly before it does arithmetic
operations. So, change 1 to unsigned type.
Signed-off-by: Hao Chen <[email protected]>
Signed-off-by: Guangbin Huang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions