[PATCH 2/5] net: enetc: use EXPORT_SYMBOL_GPL for enetc_phc_index

Jakub Kicinski kuba at kernel.org
Mon Jul 31 11:19:59 PDT 2023


On Mon, 31 Jul 2023 10:38:03 +0200 Christoph Hellwig wrote:
> enetc_phc_index is only used via symbol_get, which was only ever
> intended for very internal symbols like this one.  Use EXPORT_SYMBOL_GPL
> for it so that symbol_get can enforce only being used on
> EXPORT_SYMBOL_GPL symbols.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>

Reviewed-by: Jakub Kicinski <kuba at kernel.org>



More information about the linux-arm-kernel mailing list