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.2.14~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbd49ca445e92374ddb1d43ab43d527c489905a1;p=pandora-kernel.git target: Fix 16-bit target ports for SET TARGET PORT GROUPS emulation commit 33395fb8a13731c7ef7b175dbf5a4d8a6738fe6c upstream. 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 Signed-off-by: Nicholas Bellinger Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed