diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-01-23 19:33:11 +0100 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-01-29 20:22:40 +0100 |
commit | 688e88256f4137b23522b45727a8207983be90a1 (patch) | |
tree | 5505c77a3cc9ac6772308e18116e3055061e5be8 /drivers/i2c/designware_i2c_pci.c | |
parent | 74a614d70ab3c8fe6bea24ad913c8b6eff609680 (diff) |
efi_loader: correct block IO alignment check
If the field Media->IoAlign of the EFI block IO protocol is zero, no
alignment is required. Our code required 4 GiB alignment in this case.
Don't check buffer alignment if Media->IoAlign == 0.
Fixes: f59f0825e8b9 ("efi_loader: parameter checks BLOCK_IO_PROTOCOL")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'drivers/i2c/designware_i2c_pci.c')
0 files changed, 0 insertions, 0 deletions