From: Alexander Aring Date: Mon, 27 Oct 2014 16:13:28 +0000 (+0100) Subject: mac802154: tx: use put_unaligned_le16 for copy crc X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~234^2~3^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=061ef8f915988839b12460c47ebfcf3700e124f0;p=pandora-kernel.git mac802154: tx: use put_unaligned_le16 for copy crc This patch replaces the memcpy with a put_unaligned_le16. The placement of crc inside of PSDU can also be unaligned. With memcpy this can fail on some architectures. Signed-off-by: Alexander Aring Reported-by: Marcel Holtmann Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed