From: Ferruh Yigit <ferruh.yigit@intel.com>
To: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>,
Weiguo Li <liwg06@foxmail.com>
Cc: <ivan.ilchenko@oktetlabs.ru>, <dev@dpdk.org>, <stable@dpdk.org>
Subject: Re: [PATCH] net/sfc: fix the argument to sizeof for unit cache
Date: Fri, 18 Feb 2022 15:50:40 +0000 [thread overview]
Message-ID: <19185cf3-72ea-4a77-fbc4-db6773a3022a@intel.com> (raw)
In-Reply-To: <8c95121b-bb87-55c0-5d2b-d98f19c87283@oktetlabs.ru>
On 2/18/2022 2:43 PM, Andrew Rybchenko wrote:
> On 2/18/22 17:38, Ferruh Yigit wrote:
>> On 12/21/2021 6:41 AM, Weiguo Li wrote:
>>> The size of unit cache should be sizeof(**cache) instead of
>>> sizeof(*cache). Memory reallocation is inadequate by sizeof(*cache)
>>> for the platform whose size of pointer is 32-bits. Found by coccinelle
>>> (see https://coccinelle.gitlabpages.inria.fr/website) script.
>>>
>>> Fixes: 63abf8d29225 ("net/sfc: support SW stats groups")
>>> Cc: stable@dpdk.org
>>>
>>> Signed-off-by: Weiguo Li <liwg06@foxmail.com>
>
> Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
>
Applied to dpdk-next-net/main, thanks.
prev parent reply other threads:[~2022-02-18 15:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-21 6:41 Weiguo Li
2022-02-18 14:38 ` Ferruh Yigit
2022-02-18 14:43 ` Andrew Rybchenko
2022-02-18 15:50 ` Ferruh Yigit [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=19185cf3-72ea-4a77-fbc4-db6773a3022a@intel.com \
--to=ferruh.yigit@intel.com \
--cc=andrew.rybchenko@oktetlabs.ru \
--cc=dev@dpdk.org \
--cc=ivan.ilchenko@oktetlabs.ru \
--cc=liwg06@foxmail.com \
--cc=stable@dpdk.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;
as well as URLs for NNTP newsgroup(s).