[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201806141053.5d3oaamc%fengguang.wu@intel.com>
Date: Thu, 14 Jun 2018 11:08:09 +0800
From: kbuild test robot <lkp@...el.com>
To: Stanimir Varbanov <stanimir.varbanov@...aro.org>
Cc: kbuild-all@...org, Mauro Carvalho Chehab <mchehab@...nel.org>,
Hans Verkuil <hverkuil@...all.nl>, linux-media@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-msm@...r.kernel.org,
Vikash Garodia <vgarodia@...eaurora.org>,
Tomasz Figa <tfiga@...omium.org>,
Stanimir Varbanov <stanimir.varbanov@...aro.org>
Subject: Re: [PATCH v3 12/27] venus: hfi_parser: add common capability parser
Hi Stanimir,
I love your patch! Yet something to improve:
[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v4.17 next-20180613]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Stanimir-Varbanov/Venus-updates/20180613-233225
base: git://linuxtv.org/media_tree.git master
config: powerpc-allmodconfig (attached as .config)
compiler: powerpc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=7.2.0 make.cross ARCH=powerpc
Note: the linux-review/Stanimir-Varbanov/Venus-updates/20180613-233225 HEAD 14ff811c9a95add10f8f724b37cc0dbbce8d6f33 builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
drivers/media/platform/qcom/venus/hfi_parser.c: In function 'parse_alloc_mode':
>> drivers/media/platform/qcom/venus/hfi_parser.c:77:44: error: 'inst' undeclared (first use in this function); did you mean 'insl'?
if (*type == HFI_BUFFER_MODE_DYNAMIC && inst)
^~~~
insl
drivers/media/platform/qcom/venus/hfi_parser.c:77:44: note: each undeclared identifier is reported only once for each function it appears in
vim +77 drivers/media/platform/qcom/venus/hfi_parser.c
61
62 static void
63 parse_alloc_mode(struct venus_core *core, u32 codecs, u32 domain, void *data)
64 {
65 struct hfi_buffer_alloc_mode_supported *mode = data;
66 u32 num_entries = mode->num_entries;
67 u32 *type;
68
69 if (num_entries > MAX_ALLOC_MODE_ENTRIES)
70 return;
71
72 type = mode->data;
73
74 while (num_entries--) {
75 if (mode->buffer_type == HFI_BUFFER_OUTPUT ||
76 mode->buffer_type == HFI_BUFFER_OUTPUT2) {
> 77 if (*type == HFI_BUFFER_MODE_DYNAMIC && inst)
78 inst->cap_bufs_mode_dynamic = true;
79
80 for_each_codec(core->caps, ARRAY_SIZE(core->caps),
81 codecs, domain, fill_buf_mode, type, 1);
82 }
83
84 type++;
85 }
86 }
87
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (56780 bytes)
Powered by blists - more mailing lists