Files
linux-apfs/drivers/net
Roel Kluin c32bc6e9b0 e1000: fix memcpy in e1000_get_strings
drivers/net/e1000/e1000_ethtool.c:113:
#define E1000_TEST_LEN sizeof(e1000_gstrings_test) / ETH_GSTRING_LEN

drivers/net/e1000e/ethtool.c:106:
#define E1000_TEST_LEN sizeof(e1000_gstrings_test) / ETH_GSTRING_LEN

E1000_TEST_LEN*ETH_GSTRING_LEN will expand to
sizeof(e1000_gstrings_test) / (ETH_GSTRING_LEN * ETH_GSTRING_LEN)

A lack of parentheses around defines causes unexpected results due to
operator precedences.

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-12-07 15:01:43 -05:00
..
2007-12-04 14:52:58 -05:00
2007-11-14 18:45:47 -08:00
2007-12-07 15:00:36 -05:00
2007-11-14 15:51:01 -08:00
2007-10-30 14:32:17 -04:00
2007-10-30 14:32:17 -04:00
2007-11-23 21:02:53 -05:00
2007-10-17 20:23:30 -04:00
2007-10-10 16:52:06 -07:00
2007-10-10 16:51:57 -07:00
2007-07-10 12:41:08 -04:00
2007-11-05 17:57:30 -05:00
2007-10-10 16:55:27 -07:00
2007-10-10 16:51:43 -07:00
2007-10-10 16:54:07 -07:00
2007-10-19 11:53:41 -07:00
2007-10-10 16:55:57 -07:00
2007-10-10 16:55:27 -07:00
2007-10-19 23:00:01 -04:00
2007-10-10 16:51:13 -07:00
2007-10-10 16:51:13 -07:00
2007-10-19 11:53:42 -07:00
2007-11-23 20:59:59 -05:00
2007-07-30 15:48:16 -04:00
2007-07-30 15:48:16 -04:00
2007-12-04 15:06:11 -05:00
2007-10-17 20:11:28 -04:00
2007-10-10 16:50:46 -07:00
2007-10-25 03:31:13 -04:00
2007-10-25 03:31:13 -04:00
2007-12-07 15:01:39 -05:00
2007-10-19 11:53:41 -07:00
2007-10-10 16:51:13 -07:00
2007-11-02 08:47:06 +01:00
2007-10-19 11:53:42 -07:00
2007-04-28 11:01:05 -04:00
2007-10-15 14:29:49 -04:00
2007-10-10 16:51:13 -07:00
2007-10-23 21:28:40 -04:00
2007-12-07 01:05:47 -08:00
2007-10-10 16:54:38 -07:00
2007-10-10 16:54:30 -07:00
2007-11-12 18:07:31 -08:00
2007-10-19 11:53:42 -07:00
2007-10-19 11:53:42 -07:00
2007-10-15 14:29:48 -04:00
2007-12-01 16:32:30 -05:00
2007-10-16 21:10:29 -04:00
2007-12-04 14:53:22 -05:00
2007-05-04 17:59:08 -07:00
2007-07-16 15:02:47 +02:00
2007-10-10 16:51:13 -07:00
2007-11-15 15:38:45 -08:00
2007-10-10 16:51:34 -07:00
2007-10-10 16:51:34 -07:00
2007-11-12 21:23:21 -08:00
2007-11-12 21:22:02 -08:00
2007-10-10 16:51:13 -07:00
2007-10-19 23:00:03 -04:00
2007-09-13 15:43:46 -05:00
2007-10-10 16:52:04 -07:00
2007-10-10 16:53:49 -07:00