netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alexander Duyck <alexander.h.duyck@redhat.com>
To: netdev@vger.kernel.org
Cc: e1000-devel@lists.sourceforge.net, jeffrey.t.kirsher@intel.com
Subject: [net-next PATCH 0/2] Fix some minor issues in igb driver
Date: Thu, 05 Mar 2015 11:24:53 -0800	[thread overview]
Message-ID: <20150305192031.22228.75375.stgit@ahduyck-vm-fedora20> (raw)

These patches fix a warning I have been seeing from the igb driver when
building the net-next kernel on my Fedora 20 system.

The 'pin' patch contains the fix for the warning, the other is a minor
cleanup for the fact that the function was placing several arrays onto the
stack when it would have been much more efficient to just store them as 
static const arrays.

---

Alexander Duyck (2):
      igb: Fix warning ‘pin’ may be used uninitialized
      igb: Make arrays on stack static const to avoid reallocation


 drivers/net/ethernet/intel/igb/igb_ptp.c |   26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

--

             reply	other threads:[~2015-03-05 19:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-05 19:24 Alexander Duyck [this message]
2015-03-05 19:24 ` [net-next PATCH 1/2] igb: Fix warning ‘pin’ may be used uninitialized Alexander Duyck
2015-03-05 19:27   ` Jeff Kirsher
2015-03-05 19:25 ` [net-next PATCH 2/2] igb: Make arrays on stack static const to avoid reallocation Alexander Duyck
2015-03-05 19:27   ` Jeff Kirsher

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=20150305192031.22228.75375.stgit@ahduyck-vm-fedora20 \
    --to=alexander.h.duyck@redhat.com \
    --cc=e1000-devel@lists.sourceforge.net \
    --cc=jeffrey.t.kirsher@intel.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;
as well as URLs for NNTP newsgroup(s).