Re: [PATCH 1/2] KEYS: trusted: fix DCP blob payload length assignment

From: Jarkko Sakkinen
Date: Wed Jul 17 2024 - 06:08:29 EST


On Wed Jul 3, 2024 at 3:53 PM EEST, David Gstir wrote:
> The DCP trusted key type uses the wrong helper function to store
> the blob's payload length which can lead to the wrong byte order
> being used in case this would ever run on big endian architectures.
>
> Fix by using correct helper function.
>
> Signed-off-by: David Gstir <david@xxxxxxxxxxxxx>
> Suggested-by: Richard Weinberger <richard@xxxxxx>

You cannot suggest a change that you author yourself.

> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202405240610.fj53EK0q-lkp@xxxxxxxxx/
> Fixes: 2e8a0f40a39c ("KEYS: trusted: Introduce NXP DCP-backed trusted keys")

Tags are in wrong order. For next round:

Cc: stable@xxxxxxxxxxxxxxx # v6.10+
Fixes: 2e8a0f40a39c ("KEYS: trusted: Introduce NXP DCP-backed trusted keys")
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Closes: https://lore.kernel.org/oe-kbuild-all/202405240610.fj53EK0q-lkp@xxxxxxxxx/
Signed-off-by: David Gstir <david@xxxxxxxxxxxxx>
Signed-off-by: Jarkko Sakkinen <jarkko@xxxxxxxxxx>


BR, Jarkko