]> git.baikalelectronics.ru Git - kernel.git/commit
x86, efi: correct precedence of operators in setup_efi_pci
authorSasha Levin <sasha.levin@oracle.com>
Thu, 20 Dec 2012 19:11:33 +0000 (14:11 -0500)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 20 Dec 2012 19:47:14 +0000 (11:47 -0800)
commitd0f442cb3f3fb7d01ca94684f7318641f91dd9ce
tree514cd346a2611d285a35de70b108ad11baadc1ba
parent781fc41ea428bf030abb91937a9aa9c8262cff24
x86, efi: correct precedence of operators in setup_efi_pci

With the current code, the condition in the if() doesn't make much sense due to
precedence of operators.

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Link: http://lkml.kernel.org/r/1356030701-16284-25-git-send-email-sasha.levin@oracle.com
Cc: Matt Fleming <matt.fleming@intel.com>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/boot/compressed/eboot.c