* [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'
@ 2023-05-26 9:15 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-05-26 9:15 UTC (permalink / raw)
To: Liu Shixin; +Cc: oe-kbuild-all, Stanimir Varbanov, Bjorn Andersson
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-05-26 9:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-26 9:15 [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' kernel test robot
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.