[dpdk-dev] [PATCH v7 11/11] devtools: prevent new instances of rte_panic and rte_exit

Stephen Hemminger stephen at networkplumber.org
Wed Apr 25 00:52:53 CEST 2018


On Wed, 25 Apr 2018 01:16:53 +0300
Arnon Warshavsky <arnon at qwilt.com> wrote:

> This patch adds a new function that is called
> per every checked patch,
> and alerts for new instances of rte_panic/rte_exit.
> The check excludes comments, and alerts in the case
> of a positive balance between additions and removals.
> 
> Signed-off-by: Arnon Warshavsky <arnon at qwilt.com>

Why not just mark the functions as deprecated with compiler attribute.


More information about the dev mailing list