On Wed, Jun 13, 2018 at 08:56:31AM +0200, Michal Simek wrote: > cpu_cmd() is reading cpu number via simple_strtoul() which is always > unsigned type. > Platform code implementations are not expecting that nr can be negative > and there is not checking in the code for that too. > > This patch is using u32 type for cpu number to make sure that platform > code get proper value range. > > Signed-off-by: Michal Simek <michal.si...@xilinx.com>
Applied to u-boot/master, thanks! -- Tom
signature.asc
Description: PGP signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot