diff options
author | David E. Box <david.e.box@linux.intel.com> | 2024-04-10 19:58:52 -0700 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2024-04-29 10:51:56 +0200 |
commit | a66f962f67ebbbdf7c82c6652180930c0169cf13 (patch) | |
tree | 1f34cb9ed26166d75ad0785766701eab623d36dc /drivers/usb/gadget | |
parent | 46b5e5eb1d41175bcf360d32f7b30f48cdbf99dc (diff) |
tools/arch/x86/intel_sdsi: Fix maximum meter bundle length
The maximum number of bundles in the meter certificate was set to 8 which
is much less than the maximum. Instead, since the bundles appear at the end
of the file, set it based on the remaining file size from the bundle start
position.
Fixes: 7fdc03a7370f ("tools/arch/x86: intel_sdsi: Add support for reading meter certificates")
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20240411025856.2782476-6-david.e.box@linux.intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/usb/gadget')
0 files changed, 0 insertions, 0 deletions