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

--

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit 
http://communities.intel.com/community/wired

Reply via email to