[dpdk-dev] [PATCH] eal: register rte_panic user callback

Thomas Monjalon thomas at monjalon.net
Wed Mar 7 18:17:29 CET 2018


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





More information about the dev mailing list