On Thu, 4 Jul 2019 at 08:27, Denis Efremov <[email protected]> wrote:
>
> The function drm_client_close is declared as static and marked as
> EXPORT_SYMBOL. It's a bit confusing for an internal function to be
> exported. The area of visibility for such function is its .c file
> and all other modules. Other *.c files of the same module can't use it,
> despite all other modules can. Relying on the fact that this is the
> internal function and it's not a crucial part of the API, the patch
> removes the EXPORT_SYMBOL marking of drm_client_close.
>
> Signed-off-by: Denis Efremov <[email protected]>

Nice one:
Reviewed-by: Emil Velikov <[email protected]>

Out of curiosity: Did you use some tool to spot this?

-Emil

Reply via email to