[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200402.065126.1342599499039366040.davem@davemloft.net>
Date: Thu, 02 Apr 2020 06:51:26 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: irusskikh@...vell.com, mstarovoitov@...vell.com,
dbogdanov@...vell.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] net: atlantic: fix missing | operator when
assigning rec->llc
From: Colin King <colin.king@...onical.com>
Date: Thu, 2 Apr 2020 00:27:36 +0100
> From: Colin Ian King <colin.king@...onical.com>
>
> 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@...onical.com>
Applied, thanks.
Powered by blists - more mailing lists