[PATCH 6.12 41/95] efi: stmm: Fix incorrect buffer allocation method