summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2021-07-07 15:50:57 +0800
committerDavid S. Miller <davem@davemloft.net>2021-07-07 13:43:16 -0700
commit0d472c69c6a5e22cef9e5809e2f6d0ccd5934f4a (patch)
treef5d8fe699542b9bb289e37692968ed488c00cdd4 /tools/perf/scripts/python/mem-phys-addr.py
parentccd27f05ae7b8ebc40af5b004e94517a919aa862 (diff)
stmmac: dwmac-loongson: Fix unsigned comparison to zero
plat->phy_interface is unsigned integer, so the condition can't be less than zero and the warning will never printed. Fixes: 30bba69d7db4 ("stmmac: pci: Add dwmac support for Loongson") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions