1
0
Files
linux/drivers/net
Francois Romieu a6baf3af89 r8169: prevent bit sign expansion error in mdio_write
Oops.

The current code does not like being given an u16 with the highest
bit set as an argument to mdio_write. Let's enforce a correct range of
values for both the register address and value (resp. 5 and 16 bits).

The callers are currently left as-is.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Edward Hsu <edward_hsu@realtek.com.tw>
2007-11-10 04:25:16 -05:00
..
2007-10-19 11:53:41 -07:00
2007-10-30 14:32:17 -04:00
2007-10-30 14:32:17 -04:00
2007-10-29 05:47:09 -04:00
2007-10-17 20:11:28 -04:00
2007-10-30 14:32:17 -04:00
2007-10-30 14:32:17 -04:00
2007-11-05 17:58:36 -05:00
2007-10-17 20:23:30 -04:00
2007-11-05 17:57:30 -05:00
2007-10-19 11:53:41 -07:00
2007-10-19 23:00:01 -04:00
2007-10-19 11:53:42 -07:00
2007-10-17 20:11:28 -04:00
2007-10-25 03:31:13 -04:00
2007-10-25 03:31:13 -04:00
2007-10-19 11:53:41 -07:00
2007-11-02 08:47:06 +01:00
2007-10-19 11:53:42 -07:00
2007-10-23 21:28:40 -04:00
2007-10-22 02:59:53 -07:00
2007-11-10 04:25:14 -05:00
2007-10-19 11:53:42 -07:00
2007-10-19 11:53:42 -07:00
2007-10-19 11:53:42 -07:00
2007-10-16 21:10:29 -04:00
2007-10-16 21:10:29 -04:00
2007-11-10 04:25:15 -05:00
2007-10-22 02:59:51 -07:00
2007-10-19 23:00:03 -04:00
2007-10-23 15:49:54 +10:00