From: Tyler Retzlaff <roretzla@linux.microsoft.com>
To: Srikanth Yalavarthi <syalavarthi@marvell.com>
Cc: Jerin Jacob <jerinj@marvell.com>, dev@dpdk.org, sshankarnara@marvell.com
Subject: Re: [PATCH] mldev: remove variable self assignment in dev init
Date: Mon, 13 Mar 2023 12:19:33 -0700 [thread overview]
Message-ID: <20230313191933.GA25143@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> (raw)
In-Reply-To: <20230311145705.9178-1-syalavarthi@marvell.com>
On Sat, Mar 11, 2023 at 06:57:04AM -0800, Srikanth Yalavarthi wrote:
> Fix variable self assignment in rte_ml_devinit.
> Issue reported by coverity scan.
>
> Coverity issue: 383652
> Fixes: ea80eafbd4d8 ("mldev: add PMD functions")
>
> Signed-off-by: Srikanth Yalavarthi <syalavarthi@marvell.com>
> ---
Reviewed-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
> lib/mldev/rte_mldev.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/lib/mldev/rte_mldev.c b/lib/mldev/rte_mldev.c
> index eeddb8e874..50ebeb1bfe 100644
> --- a/lib/mldev/rte_mldev.c
> +++ b/lib/mldev/rte_mldev.c
> @@ -186,7 +186,6 @@ rte_ml_dev_init(size_t dev_max)
> }
>
> ml_dev_globals.max_devs = dev_max;
> - ml_dev_globals.devs = ml_dev_globals.devs;
>
> return 0;
> }
> --
> 2.17.1
next prev parent reply other threads:[~2023-03-13 19:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-11 14:57 Srikanth Yalavarthi
2023-03-13 11:02 ` David Marchand
2023-03-13 19:19 ` Tyler Retzlaff [this message]
2023-03-15 9:49 ` David Marchand
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=20230313191933.GA25143@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net \
--to=roretzla@linux.microsoft.com \
--cc=dev@dpdk.org \
--cc=jerinj@marvell.com \
--cc=sshankarnara@marvell.com \
--cc=syalavarthi@marvell.com \
/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;
as well as URLs for NNTP newsgroup(s).