aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorFrancois Romieu <[email protected]>2007-11-08 23:23:21 +0100
committerJeff Garzik <[email protected]>2007-11-10 04:25:16 -0500
commita6baf3af89a266a3d745117de570788b956396e7 (patch)
tree212182ba7e535d0e566b3579b536ffa7b6cb7b74 /fs/jbd2/commit.c
parent50d84c2dc00e48ff9ba018ed0dd23276cf79e566 (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 <[email protected]> Cc: Edward Hsu <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions