diff options
author | Hao Wu <hao.a.wu@intel.com> | 2017-01-05 04:43:21 +0300 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2017-02-21 04:26:08 +0300 |
commit | 54228046533720f0e8282be15eea7aafaf0cd0d6 (patch) | |
tree | 79587bb4a30e33186783f6947dc13b71e80fc964 /BaseTools/Source/Python/Workspace/MetaFileCommentParser.py | |
parent | ce8e582c06ef3d82b1df93a7de289ef7d9905c4a (diff) | |
download | edk2-54228046533720f0e8282be15eea7aafaf0cd0d6.tar.xz |
MdeModulePkg/SdMmc: Avoid assigning 0 to the BlockSize of Trb
Refine code to avoid potential divide by zero when calculating block
number.
Cc: Feng Tian <feng.tian@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/MetaFileCommentParser.py')
0 files changed, 0 insertions, 0 deletions