aboutsummaryrefslogtreecommitdiff
path: root/lib/tsan/tsan_platform_linux.cpp
diff options
context:
space:
mode:
authorNameless <truemedian@gmail.com>2024-09-19 18:03:33 -0500
committerAndrew Kelley <andrew@ziglang.org>2024-09-24 13:30:53 -0700
commit8d76c02f9a7ca664ee669e1f9c1a70b841eb2774 (patch)
tree5af8c3ec7f09b30bf3334835fdc6055230092942 /lib/tsan/tsan_platform_linux.cpp
parent37cd21eb5f23d2bb26e36ca3de76f0a71e16230c (diff)
downloadzig-8d76c02f9a7ca664ee669e1f9c1a70b841eb2774.tar.gz
zig-8d76c02f9a7ca664ee669e1f9c1a70b841eb2774.zip
uefi: erroneous alignment check in pool_allocator
Fixes #21446 Both UefiPoolAllocator and UefiRawPoolAllocator were passing the value of `log2_ptr_align` directly to `mem.alignAllocLen` which expects a alignment value. Both of these calls to `mem.alignAllocLen` are pointless and the result of the alignment both always true, and was thrown away anyway. I have removed these calls entirely.
Diffstat (limited to 'lib/tsan/tsan_platform_linux.cpp')
0 files changed, 0 insertions, 0 deletions