diff options
author | Peter Zijlstra <peterz@infradead.org> | 2023-06-09 11:28:30 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2023-06-26 11:14:19 +0200 |
commit | b5ec6fd286dfa466f64cb0e56ed768092d0342ae (patch) | |
tree | b6e7a35481a0432d3d720546bb417095e0607750 /scripts/checkpatch.pl | |
parent | locking: Introduce __cleanup() based infrastructure (diff) | |
download | linux-b5ec6fd286dfa466f64cb0e56ed768092d0342ae.tar.xz linux-b5ec6fd286dfa466f64cb0e56ed768092d0342ae.zip |
kbuild: Drop -Wdeclaration-after-statement
With the advent on scope-based resource management it comes really
tedious to abide by the contraints of -Wdeclaration-after-statement.
It will still be recommeneded to place declarations at the start of a
scope where possible, but it will no longer be enforced.
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/CAHk-%3Dwi-RyoUhbChiVaJZoZXheAwnJ7OO%3DGxe85BkPAd93TwDA%40mail.gmail.com
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions