mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 07:01:32 +00:00
63a0895d96
Using uninitialized_var() is dangerous as it papers over real bugs[1]
(or can in the future), and suppresses unrelated compiler warnings
(e.g. "unused variable"). If the compiler thinks it is uninitialized,
either simply initialize the variable or make compiler changes.
As recommended[2] by[3] Linus[4], remove the macro. With the recent
change to disable -Wmaybe-uninitialized in v5.7 in commit
|
||
---|---|---|
.. | ||
asm | ||
crypto | ||
generated | ||
linux | ||
ringtest | ||
uapi/linux | ||
vhost_test | ||
virtio-trace | ||
xen | ||
.gitignore | ||
Makefile | ||
virtio_test.c | ||
vringh_test.c |