diff options
author | Colin Ian King <colin.king@canonical.com> | 2020-04-02 02:27:36 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-04-02 16:50:59 +0300 |
commit | 86287543715ac2a6d92d561cc105d79306511457 (patch) | |
tree | efa076f316c8d71ea51c3012fc00da41c2afc6d0 /net/dsa | |
parent | 2abb5792387eb188b12051337d5dcd2cba615cb0 (diff) | |
download | linux-86287543715ac2a6d92d561cc105d79306511457.tar.xz |
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: b8f8a0b7b5cb ("net: atlantic: MACSec ingress offload HW bindings")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Igor Russkikh <irusskikh@marell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions