]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
b43: Don't use memcpy for overlapping areas
authorMichael Buesch <mb@bu3sch.de>
Thu, 28 Aug 2008 17:13:51 +0000 (19:13 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 5 Sep 2008 20:15:24 +0000 (16:15 -0400)
commitfa9abe050d0a018b888fce61a4353afab17b0860
tree385c3d6f3a2b6be59be9dfb533800bbec06d991e
parenta505f4ff49ff05ca9030069fab7de229dae7c819
b43: Don't use memcpy for overlapping areas

It is valid to pass &gphy->rfatt and &gphy->bbatt as rfatt and bbatt
pointer arguments to the function. So we have to use memmove for the
possibly overlapping memory areas.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/phy_g.c