07/03/2018 17:31, Arnon Warshavsky: > > > Can we add a compile warning for adding new rte_panic's into code? It's > a > > > > > nice tool while debugging, but it probably shouldn't be in any new > > > > production code. > > > > Yes could be nice to automatically detect it in drivers/ or lib/ > > directories. > > > > How do we apply a warning only to new code? via checkpatch?
Yes in devtools/checkpatches.sh