MdeModulePkg SataControllerDxe: Use compare logic in if condition
authorStar Zeng <star.zeng@intel.com>
Mon, 2 Jul 2018 09:07:54 +0000 (17:07 +0800)
committerStar Zeng <star.zeng@intel.com>
Tue, 3 Jul 2018 06:44:08 +0000 (14:44 +0800)
commitcd69c8738391d9ce6c09cf5118c913cc7cd41d8b
treeabbd8e1f20d41468d3a627e6280cf77c939ce4e9
parent5f46352300f64d79c43cbfc67bb7a5f94bb982b8
MdeModulePkg SataControllerDxe: Use compare logic in if condition

Use compare logic in if condition to fix ECC issue.
It is caused by aa4240edff41034d709938a15b42cf4fd3214386.

Cc: Hao Wu <hao.a.wu@intel.com>
Cc: Dandan Bi <dandan.bi@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
MdeModulePkg/Bus/Pci/SataControllerDxe/SataController.c