diff options
author | Francois Romieu <romieu@fr.zoreil.com> | 2007-11-08 23:23:21 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-11-10 04:25:16 -0500 |
commit | a6baf3af89a266a3d745117de570788b956396e7 (patch) | |
tree | 212182ba7e535d0e566b3579b536ffa7b6cb7b74 /init/Makefile | |
parent | 50d84c2dc00e48ff9ba018ed0dd23276cf79e566 (diff) |
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>
Diffstat (limited to 'init/Makefile')
0 files changed, 0 insertions, 0 deletions