[PATCH] gpu: host1x: make 'host1x_cdma_wait_pushbuffer_space' static

Thierry Reding thierry.reding at gmail.com
Thu Oct 17 13:30:07 UTC 2019


On Thu, Oct 17, 2019 at 12:04:27PM +0100, Ben Dooks (Codethink) wrote:
> The host1x_cdma_wait_pushbuffer_space function is not declared
> or directly called from outside the file it is in, so make it
> static.
> 
> Fixes the following sparse warnign:
> drivers/gpu/host1x/cdma.c:235:5: warning: symbol 'host1x_cdma_wait_pushbuffer_space' was not declared. Should it be static?
> 
> Signed-off-by: Ben Dooks <ben.dooks at codethink.co.uk>
> ---
> Cc: Thierry Reding <thierry.reding at gmail.com>
> Cc: dri-devel at lists.freedesktop.org
> Cc: linux-tegra at vger.kernel.org
> ---
>  drivers/gpu/host1x/cdma.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Applied, thanks.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20191017/881d9975/attachment-0001.sig>


More information about the dri-devel mailing list