Skip to content
Commit 86287543 authored by Colin Ian King's avatar Colin Ian King Committed by David S. Miller
Browse files

net: atlantic: fix missing | operator when assigning rec->llc

rec->llc is currently being assigned twice, once with the lower 8 bits
from packed_record[8] and then re-assigned afterwards with data from
packed_record[9].  This looks like a type, I believe the second assignment
should be using the |= operator rather than a direct assignment.

Addresses-Coverity: ("Unused value")
Fixes: b8f8a0b7

 ("net: atlantic: MACSec ingress offload HW bindings")
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Acked-by: default avatarIgor Russkikh <irusskikh@marell.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2abb5792
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