diff options
author | Vinod Koul <[email protected]> | 2020-07-08 18:58:06 +0530 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2020-07-13 12:14:51 +0530 |
commit | f0c47c74583cc55c7ff9bdafff63bfb33edbb940 (patch) | |
tree | 6496a24704321284772f814778049cf0da2f7b96 /scripts/gdb/linux/utils.py | |
parent | c988b7c5fc056d3bec4cb337a57fc2fe6a04081a (diff) |
phy: xgene: remove unsigned integer comparison with less than zero
We get warning with W=1 build:
drivers/phy/phy-xgene.c: In function ‘xgene_phy_xlate’:
drivers/phy/phy-xgene.c:1618:20: warning: comparison of unsigned
expression in ‘< 0’ is always false [-Wtype-limits]
1618 | if (args->args[0] < MODE_SATA || args->args[0] >= MODE_MAX) |
args is uint32_t so can never be less than zero, so remove this check
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions