netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net-next PATCH 0/2] Fix some minor issues in igb driver
@ 2015-03-05 19:24 Alexander Duyck
  2015-03-05 19:24 ` [net-next PATCH 1/2] igb: Fix warning ‘pin’ may be used uninitialized Alexander Duyck
  2015-03-05 19:25 ` [net-next PATCH 2/2] igb: Make arrays on stack static const to avoid reallocation Alexander Duyck
  0 siblings, 2 replies; 5+ messages in thread
From: Alexander Duyck @ 2015-03-05 19:24 UTC (permalink / raw)
  To: netdev; +Cc: e1000-devel, jeffrey.t.kirsher

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(-)

--

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-03-05 19:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-05 19:24 [net-next PATCH 0/2] Fix some minor issues in igb driver Alexander Duyck
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

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).