Commit 0725f2b6 authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[PATCH] lanstreamer fix

copy from on-stack array is memcpy(), not memcpy_fromio()
Signed-off-by: default avatarAl Viro <viro@parcelfarce.linux.theplanet.co.uk>
parent 82718086
......@@ -1606,7 +1606,7 @@ static void streamer_arb_cmd(struct net_device *dev)
i += 2;
}
memcpy_fromio(skb_put(mac_frame, buffer_len),
memcpy(skb_put(mac_frame, buffer_len),
frame_data, buffer_len);
} while (next_ptr && (buff_off = next_ptr));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment