From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
To: intel-wired-lan@osuosl.org
Subject: [Intel-wired-lan] [PATCH] ixgbe: Make all unchanging ops structures const
Date: Fri, 08 Jan 2016 10:08:58 -0800 [thread overview]
Message-ID: <1452276538.26830.2.camel@intel.com> (raw)
In-Reply-To: <20160107181303.82798.52945.stgit@mdrustad-wks.jf.intel.com>
On Thu, 2016-01-07 at 10:13 -0800, Mark D Rustad wrote:
> The source for the ops structure contents are const, so make them
> so. Copy them in place with structure assignments instead of memcpys.
> Make the mbx_ops accessed by reference instead of making a copy of
> the source structure. Update copyright date on the touched files.
>
> Reported-by: Julia Lawall <Julia.Lawall@lip6.fr>
> Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
> ---
> Changes in V2:
> - Access mbx_ops by reference instead of copying the structure. Saves
> a
> ? little bloat.
Julia- Please reply to the mailing list when responding with and
feedback or ACK's so that they are properly captured. ?Replying
privately is generally frowned upon.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20160108/679750b5/attachment.asc>
next prev parent reply other threads:[~2016-01-08 18:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-07 18:13 [Intel-wired-lan] [PATCH] ixgbe: Make all unchanging ops structures const Mark D Rustad
2016-01-08 18:08 ` Jeff Kirsher [this message]
2016-01-08 19:10 ` Julia Lawall
2016-01-08 23:27 ` Rustad, Mark D
2016-03-01 17:14 ` Bowers, AndrewX
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=1452276538.26830.2.camel@intel.com \
--to=jeffrey.t.kirsher@intel.com \
--cc=intel-wired-lan@osuosl.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.