diff mbox series

venus: hfi_plat: Fix warning for missing function prototype

Message ID 20210113102920.12841-1-stanimir.varbanov@linaro.org
State New
Headers show
Series venus: hfi_plat: Fix warning for missing function prototype | expand

Commit Message

Stanimir Varbanov Jan. 13, 2021, 10:29 a.m. UTC
The bufreq_enc function should be static.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
---
 drivers/media/platform/qcom/venus/hfi_plat_bufs_v6.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

patchwork-bot+linux-arm-msm@kernel.org March 1, 2021, 7:59 p.m. UTC | #1
Hello:

This patch was applied to qcom/linux.git (refs/heads/for-next):

On Wed, 13 Jan 2021 12:29:20 +0200 you wrote:
> The bufreq_enc function should be static.

> 

> Reported-by: kernel test robot <lkp@intel.com>

> Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>

> ---

>  drivers/media/platform/qcom/venus/hfi_plat_bufs_v6.c | 4 ++--

>  1 file changed, 2 insertions(+), 2 deletions(-)


Here is the summary with links:
  - venus: hfi_plat: Fix warning for missing function prototype
    https://git.kernel.org/qcom/c/0f9774dddf6c

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
diff mbox series

Patch

diff --git a/drivers/media/platform/qcom/venus/hfi_plat_bufs_v6.c b/drivers/media/platform/qcom/venus/hfi_plat_bufs_v6.c
index 072e349dd46c..d43d1a53e72d 100644
--- a/drivers/media/platform/qcom/venus/hfi_plat_bufs_v6.c
+++ b/drivers/media/platform/qcom/venus/hfi_plat_bufs_v6.c
@@ -1239,8 +1239,8 @@  static int bufreq_dec(struct hfi_plat_buffers_params *params, u32 buftype,
 	return 0;
 }
 
-int bufreq_enc(struct hfi_plat_buffers_params *params, u32 buftype,
-	       struct hfi_buffer_requirements *bufreq)
+static int bufreq_enc(struct hfi_plat_buffers_params *params, u32 buftype,
+		      struct hfi_buffer_requirements *bufreq)
 {
 	enum hfi_version version = params->version;
 	struct enc_bufsize_ops *enc_ops;