From patchwork Wed Jan 13 10:29:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 362073 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp398446jap; Wed, 13 Jan 2021 02:31:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJx6TA6EclivlHlDx4OyA/o63rc5xbKg87Cx3ayjlFu4IG1UjOa5Y7bC+wyJXcoGtZ1dlXbY X-Received: by 2002:a17:907:b09:: with SMTP id h9mr1085050ejl.155.1610533889120; Wed, 13 Jan 2021 02:31:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610533889; cv=none; d=google.com; s=arc-20160816; b=KdVoCRaYPkx2bK0MDpxsYEd47TWtwx6t8gWNqszbI+kJGVeYxWnWhq6pB5nxb6B857 og+9z+E4S+VFvVaCUJDIEjvSbmpVBaV7ztw7ADJRj3orrsBYrTRnur59Oj8cqqybN0U8 K/kSrRt2i/HgfyAWhwcVzGZwAdcyxrIUAdpFQP3BOX2JYAfVjhLFoVAE/IcpruuGXqLP SDCGx6VS+gMX+MiaoMQTTxKD2wEFCD+Hwne0oI9UMhV0Mu+mLTB0jyWxh75Gpp+Kh2m4 zWQDwQ3DmDrGwgnMM0LMRvxT8W1s+PwwYTAJtradfEtCw7RnKw8aHZX1DXreDk++yYZR QIxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=O1ISGW1RaU0XNG0J5lpJPahfmekjOSoZHUoUK6eXzeY=; b=gdLQyxMV53HQ/mQtVou7HRhd+n7aaSPJ0HLc6jXSrQ7iymex7MqhDCuUEv+ZdItYWE PFv0QAB6EDY52LzdqfSl42cej/qvTtR3JOarsoR50EOeWl6s/dq0VXXns07RZke+YaLN RusP/UidpBwHVVR15Yj56+s70YQCK/KOTznCqqHVJRZpJdQUGkiW5kwFitsTaB8dIEia UliOzwwMXLVwF5gop3OI6M3eDO9Or043gDTjVsyd0UCR1pxRIINP5dei1mk3zWnFa4k/ cs0QeuEvQFuII3J8qBOlyGjSH3irikkYnxeMuPYZXJZ4r5V9t7mUt8fRmVIcC6FM559Y I8uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="tpSYzA/7"; spf=pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z17si723466ejf.132.2021.01.13.02.31.28; Wed, 13 Jan 2021 02:31:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="tpSYzA/7"; spf=pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726980AbhAMKaL (ORCPT + 3 others); Wed, 13 Jan 2021 05:30:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726898AbhAMKaL (ORCPT ); Wed, 13 Jan 2021 05:30:11 -0500 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 217B2C061795 for ; Wed, 13 Jan 2021 02:29:31 -0800 (PST) Received: by mail-ej1-x633.google.com with SMTP id d17so2290218ejy.9 for ; Wed, 13 Jan 2021 02:29:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=O1ISGW1RaU0XNG0J5lpJPahfmekjOSoZHUoUK6eXzeY=; b=tpSYzA/7Owm4gVFs36ogemVFjXeDYR+jzWi4Cp4UMcA7mHlFrB0cpVoAAfLcJR6kET Q6CT4ymmP+DRgWCQVXkiHK3BKdzJgWcpWWRokCgPIGP3vBHT8iVYqaKy/vBq494I0G3O Y5SkiVY7r51r4dU6H779DFjkUJ10nGvUIuv3lNYF7UVMQSi9hxmnZTB5lDVH5Kt2wym0 Tv1OARpOnqnjQObG16qloUrd8XMdBsraAmWCwfwDpsJx6WWtBFGPiDKgCsgmRXisNNGl 1nkuMIK2jPkcOLTed9cRLlwkRmPVpWtgMKlJPASVIIf3Nhp7uLKkCFw3cec+DUQkWCL/ U3GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=O1ISGW1RaU0XNG0J5lpJPahfmekjOSoZHUoUK6eXzeY=; b=gb0SySWqNK3ukJvzZvuCn0J5mv2DpwYAGLiG07rS/7yK4WUvLOOQthtOe6+cdseGY6 wolxWEX3kVyOKkl7GAjKoXckx9SWOzlVSci3c81+NUU5BjMziO7TVPtZTGEE26kegRe3 eJVabjEP946nRLf3DkgE0H8zo6HKQFN0ZSZet9E6/6/W6g6V3Nce2Z/IpK45LnPZ+Nlg RfA3v6rOIedX0BM2OPXkIdCexbstIJNeYOCHAXhEPkLsz03iEWwE0sTDHJHSGuTdW/e+ cMaSBoOjSUzUF2FDxfSsv3lyXa0u616B59k7YVFAqg9UHhJZmIPDTFnR6NrBIDE2V/lR MrLg== X-Gm-Message-State: AOAM533iAxX06WU7UQFb6NOw86goZqxlUpCmUfK31iIkNaWPLB4fCyXB ZN/n1UVbBxPx/nbfuNQclt60TcPuKposDoaX X-Received: by 2002:a17:906:1288:: with SMTP id k8mr1063584ejb.206.1610533769627; Wed, 13 Jan 2021 02:29:29 -0800 (PST) Received: from localhost.localdomain (hst-221-90.medicom.bg. [84.238.221.90]) by smtp.gmail.com with ESMTPSA id h12sm551253ejx.81.2021.01.13.02.29.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 02:29:28 -0800 (PST) From: Stanimir Varbanov To: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Mauro Carvalho Chehab , Stanimir Varbanov Subject: [PATCH] venus: hfi_plat: Fix warning for missing function prototype Date: Wed, 13 Jan 2021 12:29:20 +0200 Message-Id: <20210113102920.12841-1-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The bufreq_enc function should be static. Reported-by: kernel test robot Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/hfi_plat_bufs_v6.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1 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;