Skip to content
Snippets Groups Projects
Commit 50515cac authored by Jean Sacren's avatar Jean Sacren Committed by Jakub Kicinski
Browse files

net: qed_debug: fix check of false (grc_param < 0) expression


The type of enum dbg_grc_params has the enumerator list starting from 0.
When grc_param is declared by enum dbg_grc_params, (grc_param < 0) is
always false.  We should remove the check of this expression.

Signed-off-by: default avatarJean Sacren <sakiwit@gmail.com>
Acked-by: default avatarShai Malin <smalin@marvell.com>
Link: https://lore.kernel.org/r/20211012074645.12864-1-sakiwit@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent edce2a93
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment