From: "Ananyev, Konstantin" <konstantin.ananyev@intel.com>
To: "Yigit, Ferruh" <ferruh.yigit@intel.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH] igb_uio: cast private data to correct struct type
Date: Fri, 4 Mar 2016 13:17:41 +0000 [thread overview]
Message-ID: <2601191342CEEE43887BDE71AB97725836B163EF@irsmsx105.ger.corp.intel.com> (raw)
In-Reply-To: <1457024900-18245-1-git-send-email-ferruh.yigit@intel.com>
> Subject: [dpdk-dev] [PATCH] igb_uio: cast private data to correct struct type
>
> Fixes: af75078fece3 ("first public release")
>
> This was working fine because addresses of two structs are same:
>
> struct A {
> struct B b;
> } a;
>
> As above sample "a" and "b" has same address.
>
> Now casting private data back to the correct struct type, to the one
> stored.
>
> Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
> ---
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
> --
> 2.5.0
next prev parent reply other threads:[~2016-03-04 13:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-03 17:08 Ferruh Yigit
2016-03-03 17:08 ` [dpdk-dev] [PATCH] igb_uio: use macros for array size calculation Ferruh Yigit
2016-03-03 17:25 ` Ananyev, Konstantin
2016-03-03 17:34 ` Ferruh Yigit
2016-03-03 17:45 ` Ananyev, Konstantin
2016-03-03 18:16 ` Ferruh Yigit
2016-03-04 11:21 ` [dpdk-dev] [PATCH v2] " Ferruh Yigit
2016-03-04 11:43 ` Ananyev, Konstantin
2016-03-07 22:30 ` Thomas Monjalon
2016-03-04 13:17 ` Ananyev, Konstantin [this message]
2016-03-07 22:29 ` [dpdk-dev] [PATCH] igb_uio: cast private data to correct struct type Thomas Monjalon
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=2601191342CEEE43887BDE71AB97725836B163EF@irsmsx105.ger.corp.intel.com \
--to=konstantin.ananyev@intel.com \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@intel.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).