All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Liu Shixin <liushixin2@huawei.com>
Cc: oe-kbuild-all@lists.linux.dev,
	Stanimir Varbanov <stanimir.k.varbanov@gmail.com>,
	Bjorn Andersson <andersson@kernel.org>
Subject: [svarbanov-media-tree:venus-for-next-v6.5 2/15] drivers/media/platform/qcom/venus/hfi_venus.c:843:16: error: too few arguments to function 'venus_iface_cmdq_write'
Date: Fri, 26 May 2023 17:15:03 +0800	[thread overview]
Message-ID: <202305261710.LATF7SyM-lkp@intel.com> (raw)

tree:   git://linuxtv.org/svarbanov/media_tree venus-for-next-v6.5
head:   deb41a0dfc76f12c81de0f4c721d02f45c776ef2
commit: ac42b3241bba706b577c25708bcc377e7d2b072b [2/15] media: venus: simplify the return expression of venus_sys_set_* function
config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20230526/202305261710.LATF7SyM-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
        mkdir -p ~/bin
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git remote add svarbanov-media-tree git://linuxtv.org/svarbanov/media_tree
        git fetch --no-tags svarbanov-media-tree venus-for-next-v6.5
        git checkout ac42b3241bba706b577c25708bcc377e7d2b072b
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 ~/bin/make.cross W=1 O=build_dir ARCH=powerpc olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 ~/bin/make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash drivers/media/platform/qcom/venus/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202305261710.LATF7SyM-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/media/platform/qcom/venus/hfi_venus.c: In function 'venus_sys_set_debug':
>> drivers/media/platform/qcom/venus/hfi_venus.c:843:16: error: too few arguments to function 'venus_iface_cmdq_write'
     843 |         return venus_iface_cmdq_write(hdev, pkt);
         |                ^~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/qcom/venus/hfi_venus.c:412:12: note: declared here
     412 | static int venus_iface_cmdq_write(struct venus_hfi_device *hdev, void *pkt, bool sync)
         |            ^~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/qcom/venus/hfi_venus.c: In function 'venus_sys_set_coverage':
   drivers/media/platform/qcom/venus/hfi_venus.c:855:16: error: too few arguments to function 'venus_iface_cmdq_write'
     855 |         return venus_iface_cmdq_write(hdev, pkt);
         |                ^~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/qcom/venus/hfi_venus.c:412:12: note: declared here
     412 | static int venus_iface_cmdq_write(struct venus_hfi_device *hdev, void *pkt, bool sync)
         |            ^~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/qcom/venus/hfi_venus.c: In function 'venus_sys_set_idle_message':
   drivers/media/platform/qcom/venus/hfi_venus.c:871:16: error: too few arguments to function 'venus_iface_cmdq_write'
     871 |         return venus_iface_cmdq_write(hdev, pkt);
         |                ^~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/qcom/venus/hfi_venus.c:412:12: note: declared here
     412 | static int venus_iface_cmdq_write(struct venus_hfi_device *hdev, void *pkt, bool sync)
         |            ^~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/qcom/venus/hfi_venus.c: In function 'venus_sys_set_debug':
   drivers/media/platform/qcom/venus/hfi_venus.c:844:1: error: control reaches end of non-void function [-Werror=return-type]
     844 | }
         | ^
   drivers/media/platform/qcom/venus/hfi_venus.c: In function 'venus_sys_set_idle_message':
   drivers/media/platform/qcom/venus/hfi_venus.c:872:1: error: control reaches end of non-void function [-Werror=return-type]
     872 | }
         | ^
   drivers/media/platform/qcom/venus/hfi_venus.c: In function 'venus_sys_set_coverage':
   drivers/media/platform/qcom/venus/hfi_venus.c:856:1: error: control reaches end of non-void function [-Werror=return-type]
     856 | }
         | ^
   cc1: some warnings being treated as errors


vim +/venus_iface_cmdq_write +843 drivers/media/platform/qcom/venus/hfi_venus.c

   833	
   834	static int venus_sys_set_debug(struct venus_hfi_device *hdev, u32 debug)
   835	{
   836		struct hfi_sys_set_property_pkt *pkt;
   837		u8 packet[IFACEQ_VAR_SMALL_PKT_SIZE];
   838	
   839		pkt = (struct hfi_sys_set_property_pkt *)packet;
   840	
   841		pkt_sys_debug_config(pkt, HFI_DEBUG_MODE_QUEUE, debug);
   842	
 > 843		return venus_iface_cmdq_write(hdev, pkt);
   844	}
   845	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2023-05-26  9:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202305261710.LATF7SyM-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=andersson@kernel.org \
    --cc=liushixin2@huawei.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=stanimir.k.varbanov@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.