From: David Miller <davem@davemloft.net>
To: colin.king@canonical.com
Cc: irusskikh@marvell.com, mstarovoitov@marvell.com,
dbogdanov@marvell.com, netdev@vger.kernel.org,
kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH][next] net: atlantic: fix missing | operator when assigning rec->llc
Date: Thu, 02 Apr 2020 06:51:26 -0700 (PDT) [thread overview]
Message-ID: <20200402.065126.1342599499039366040.davem@davemloft.net> (raw)
In-Reply-To: <20200401232736.410028-1-colin.king@canonical.com>
From: Colin King <colin.king@canonical.com>
Date: Thu, 2 Apr 2020 00:27:36 +0100
> From: Colin Ian King <colin.king@canonical.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@canonical.com>
Applied, thanks.
prev parent reply other threads:[~2020-04-02 13:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-01 23:27 Colin King
2020-04-02 11:40 ` [EXT] " Igor Russkikh
2020-04-02 13:51 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200402.065126.1342599499039366040.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=colin.king@canonical.com \
--cc=dbogdanov@marvell.com \
--cc=irusskikh@marvell.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mstarovoitov@marvell.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®