diff options
author | 2021-04-06 14:07:12 -0500 | |
---|---|---|
committer | 2021-04-07 12:44:19 +1000 | |
commit | b07b62ee3342db3af74a8bd056dce810764cc7f1 (patch) | |
tree | 9f213fd432c2c410a0770463c9824ba60bde53ae /checks.c | |
parent | a2def5479950d066dcf829b8c1a22874d0aea9a4 (diff) |
libfdt: Add FDT alignment check to fdt_check_header()
Only checking the FDT alignment in fdt_ro_probe_() means that
fdt_check_header() can pass, but then subsequent API calls fail on
alignment checks. Let's add an alignment check to fdt_check_header() so
alignment errors are found up front.
Cc: Tom Rini <trini@konsulko.com>
Cc: Frank Rowand <frowand.list@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Message-Id: <20210406190712.2118098-1-robh@kernel.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'checks.c')
0 files changed, 0 insertions, 0 deletions