summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorRichard Weinberger <[email protected]>2024-08-02 12:08:43 +0200
committerTom Rini <[email protected]>2024-08-15 16:14:36 -0600
commitc17b2a05dd50a3ba437e6373093a0d6a359cdee0 (patch)
tree510c31373f30f28ce0d63d25b7d18300a58f0e32 /scripts/const_structs.checkpatch
parent1779a58c66a8229ebc18c08c11f9c7e71b3fd982 (diff)
x86: Fix ptrdiff_t for x86_64
sbrk() assumes ptrdiff_t is large enough to enlarge/shrink the heap by LONG_MIN/LONG_MAX. So, use the long type, also to match the rest of the Linux ecosystem. Signed-off-by: Richard Weinberger <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions