summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/setup_arch.h
diff options
context:
space:
mode:
authorRoland Dreier <roland@purestorage.com>2012-02-24 01:22:12 (GMT)
committerNicholas Bellinger <nab@linux-iscsi.org>2012-02-25 22:37:50 (GMT)
commit33395fb8a13731c7ef7b175dbf5a4d8a6738fe6c (patch)
treeaccb78603eae5a6ebb407559d5c5546a36a8af9f /arch/x86/include/asm/setup_arch.h
parent355b769e03e2a35f9dae32d95670df2fe3a6b4d2 (diff)
downloadlinux-fsl-qoriq-33395fb8a13731c7ef7b175dbf5a4d8a6738fe6c.tar.xz
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 <roland@purestorage.com> Cc: stable@vger.kernel.org Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'arch/x86/include/asm/setup_arch.h')
0 files changed, 0 insertions, 0 deletions