diff options
| author | Kaixu Xia <[email protected]> | 2020-11-10 19:19:30 +0800 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2020-11-19 16:56:54 +1100 |
| commit | 027717a45ca251a7ba67a63db359994836962cd2 (patch) | |
| tree | fd27b05afefdcf060832ea161389724c40230246 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | a40fdaf1420d6e6bda0dd2df1e6806013e58dbe1 (diff) | |
powerpc/powernv/sriov: fix unsigned int win compared to less than zero
Fix coccicheck warning:
arch/powerpc/platforms/powernv/pci-sriov.c:443:7-10:
WARNING: Unsigned expression compared with zero: win < 0
arch/powerpc/platforms/powernv/pci-sriov.c:462:7-10:
WARNING: Unsigned expression compared with zero: win < 0
Fixes: 39efc03e3ee8 ("powerpc/powernv/sriov: Move M64 BAR allocation into a helper")
Reported-by: Tosk Robot <[email protected]>
Signed-off-by: Kaixu Xia <[email protected]>
Reviewed-by: Andrew Donnellan <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions