[PATCH] staging: kpc2000: To make symbols static
gregkh at linuxfoundation.org
gregkh at linuxfoundation.org
Mon Jun 10 15:53:53 UTC 2019
On Mon, Jun 10, 2019 at 05:50:01AM +0000, Rishiraj Manwatkar wrote:
> This patch makes 4 symbols static as suggested by Sparse tool.
>
> Signed-off-by: Rishiraj Manwatkar <manwatkar at outlook.com>
Your subject line is very odd, what does that really mean?
> ---
> drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c b/drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c
> index cda057569163..e4056607af0b 100644
> --- a/drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c
> +++ b/drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c
> @@ -36,14 +36,14 @@ struct kpc_dma_device *kpc_dma_lookup_device(int minor)
> return c;
> }
>
> -void kpc_dma_add_device(struct kpc_dma_device *ldev)
> +static void kpc_dma_add_device(struct kpc_dma_device *ldev)
This patch does not apply to my latest tree, can you rebase it against
the staging-next branch of staging.git on git.kernel.org and resend?
thanks,
greg k-h
More information about the devel
mailing list