]> git.dujemihanovic.xyz Git - u-boot.git/commit
mach-snapdragon: Fix overwriting last digit of serial number
authorJan-Christoph Tebbe <jan-christoph.tebbe@ithinx.io>
Mon, 16 Mar 2020 16:51:51 +0000 (17:51 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 3 Apr 2020 15:47:47 +0000 (11:47 -0400)
commit740370282e0caa9fab1c5865fe9b9a58ac008c5f
tree8dc2e3aabb84207568a90301fea826f1f3843905
parent9d15d1d1c24f6d3a2bcc7f35c706d8c76c2960b0
mach-snapdragon: Fix overwriting last digit of serial number

When generating the MAC address based on the boards serial number
the last digit was overwritten with the null termination. That way
boards with serial numbers close to each other would use the same
MAC address.

Signed-off-by: Jan-Christoph Tebbe <Jan-Christoph.Tebbe@ithinx.io>
arch/arm/mach-snapdragon/misc.c