Xi Ruoyao 013106ae67
mlock, mlock2, munlock: Tell the compiler we don't dereference the pointer
Since https://gcc.gnu.org/r11-959, the compiler emits
-Wmaybe-uninitialized if a const pointer to an uninitialized buffer is
passed.  Tell the compiler we don't dereference the pointer to remove
the false alarm.

Link: https://gcc.gnu.org/PR118194
Signed-off-by: Xi Ruoyao <xry111@xry111.site>
Reviewed-by: Sam James <sam@gentoo.org>
2025-01-01 16:08:36 +01:00
..
2024-02-27 10:52:59 -03:00
2024-12-05 15:36:23 +08:00
2021-09-03 22:06:44 +05:30
2024-08-01 05:06:12 -07:00
2024-08-01 05:06:12 -07:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00