Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] fix rtl8150

That code doesn't do what its author apparently thought it would do...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Al Viro and committed by
Linus Torvalds
886ae1fa ce35a81a

+2 -1
+2 -1
drivers/usb/net/rtl8150.c
··· 284 284 u8 data[3], tmp; 285 285 286 286 data[0] = phy; 287 - *(data + 1) = cpu_to_le16p(&reg); 287 + data[1] = reg & 0xff; 288 + data[2] = (reg >> 8) & 0xff; 288 289 tmp = indx | PHY_WRITE | PHY_GO; 289 290 i = 0; 290 291