[dpdk-dev] checkpatch failing on map change

Stephen Hemminger stephen at networkplumber.org
Tue Dec 17 17:23:02 CET 2019


On Tue, 17 Dec 2019 07:36:20 +0000
Liron Himi <lironh at marvell.com> wrote:

> Hi,
> 
> 
> One of our drivers is using the rte_cfgfile and meson is failing on 'rte_cfgfile_section_num_entries_by_index' which is undefined.
> 
> After a few debug cycles, I found out that this function is missing from the .map file.
> 
> So I added it and created a patch but  checkpatch is failing with
> 
> 
> 
> ERROR: symbol rte_cfgfile_section_num_entries_by_index is added in the DPDK_20.0 section, but is expected to be added in the EXPERIMENTAL section of the version map
> 
> 
> 
> Do you know what it means and how to fix it? The function is not defined as experimental so I don't understand what is the problem

It means checkpatch is not infallible. It is only an advisor.
In this case, it doesn't understand how to deal with a bug fix.


More information about the dev mailing list