diff options
author | Theodore Ts'o <tytso@mit.edu> | 2023-01-27 15:35:12 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2023-01-27 15:46:45 -0500 |
commit | d6ed24794e408a51cee2429841cc452323da4af8 (patch) | |
tree | 64df7fc4bc423172ad494f46a42fd682e46ed8af /tests/f_unused_itable/name | |
parent | 4d91d64b5a97a27b9e5fbc6cff11ca69ea887cf6 (diff) | |
download | e2fsprogs-d6ed24794e408a51cee2429841cc452323da4af8.tar.gz |
e2fsck: double cast a pointer to suppress a bogus compiler warning in kfree()
The C standard is wrong[1] with respect to the function signature of
free(), while the kernel's kfree() is correct. Unfortunately, this
leads to compiler warnings.
Sayeth Dennis Ritchie: "Noalias must go. This is non-negotiable"[2].
Noalias went. The confusion around const, alas, still remains.
[1] https://yarchive.net/comp/const.html
[2] https://www.lysator.liu.se/c/dmr-on-noalias.html
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tests/f_unused_itable/name')
0 files changed, 0 insertions, 0 deletions