summaryrefslogtreecommitdiff
path: root/arch/arm64/kernel/alternative.c
diff options
context:
space:
mode:
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2017-06-29 16:35:29 +0200
committerWill Deacon <will.deacon@arm.com>2017-06-29 16:32:43 +0100
commit67831edf8a826750b43d5612792a9c3bc449f227 (patch)
tree5a53bb219622b65c88d2487ee7dc2893556f4c6f /arch/arm64/kernel/alternative.c
parent50a4b05609929003ce98987bb901ee10fe21fb20 (diff)
arm64: fix endianness annotation in get_kaslr_seed()
In the flattened device tree format, all integer properties are in big-endian order. Here the property "kaslr-seed" is read from the fdt and then correctly converted to native order (via fdt64_to_cpu()) but the pointer used for this is not annotated as being for big-endian. Fix this by declaring the pointer as fdt64_t instead of u64 (fdt64_t being itself typedefed to __be64). Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel/alternative.c')
0 files changed, 0 insertions, 0 deletions