diff options
author | Matteo Croce <[email protected]> | 2021-05-10 18:52:32 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-05-10 15:00:23 -0700 |
commit | 4c598e5e679c31106914b63b5e3877994dfbba19 (patch) | |
tree | 7dc97c55b66505dd1fbcf018dbc8a1a2171597a2 /lib/test_overflow.c | |
parent | 376d68929d5bb5edc57be5fb38daaff3f3375f64 (diff) |
mvpp2: suppress warning
Remove some unreachable code, so to suppress this warning:
drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c: In function ‘mvpp2_prs_tcam_first_free’:
drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c:397:10: warning: comparison is always false due to limited range of data type [-Wtype-limits]
397 | if (end >= MVPP2_PRS_TCAM_SRAM_SIZE)
| ^~
Fixes: 3f518509dedc ("ethernet: Add new driver for Marvell Armada 375 network unit")
Signed-off-by: Matteo Croce <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions