From: Roland Dreier Date: Fri, 24 Feb 2012 01:22:12 +0000 (-0800) Subject: target: Fix 16-bit target ports for SET TARGET PORT GROUPS emulation X-Git-Tag: v3.4-rc1~146^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33395fb8a13731c7ef7b175dbf5a4d8a6738fe6c;p=pandora-kernel.git target: Fix 16-bit target ports for SET TARGET PORT GROUPS emulation The old code did (MSB << 8) & 0xff, which always evaluates to 0. Just use get_unaligned_be16() so we don't have to worry about whether our open-coded version is correct or not. Signed-off-by: Roland Dreier Cc: stable@vger.kernel.org Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed