Skip to content
Commit 13d0a9b3 authored by Harshvardhan Jha's avatar Harshvardhan Jha Committed by Greg Kroah-Hartman
Browse files

net: qede: Fix end of loop tests for list_for_each_entry



[ Upstream commit 795e3d2e ]

The list_for_each_entry() iterator, "vlan" in this code, can never be
NULL so the warning will never be printed.

Signed-off-by: default avatarHarshvardhan Jha <harshvardhan.jha@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 1478e902
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment