[ovs-dev] [PATCH V2 3/3] datapath: Check the export of public functions in linux/compat/linux/.

Jesse Gross jesse at nicira.com
Sat Apr 25 23:25:20 UTC 2015


On Sat, Apr 25, 2015 at 1:08 AM, Alex Wang <alexw at nicira.com> wrote:
> This commit adds check in datapath/Makefile to make sure that all public
> functions and exported symbols in linux/compat/ are either rpl_ or ovs_
> prefixed, except those defined in compat/build-aux/export-check-whitelist.
>
> Signed-off-by: Alex Wang <alexw at nicira.com>
> ---
> PATCH->V2:
> - Add check for EXPORT_SYMBOL_GPL().  The exported function must have
>   rpl_ or ovs_ as prefix.

I would probably expand the export check to also look for
EXPORT_SYMBOL(), in case those sneak in as well.

Otherwise:
Acked-by: Jesse Gross <jesse at nicira.com>

Thanks!



More information about the dev mailing list