Re: [PATCH v6 9/9] media: venus: enable building of Venus video driver

From: kbuild test robot
Date: Tue Feb 07 2017 - 17:39:35 EST


Hi Stanimir,

[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v4.10-rc7 next-20170207]
[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/Qualcomm-video-decoder-encoder-driver/20170207-222503
base: git://linuxtv.org/media_tree.git master
config: arm-allyesconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm

All errors (new ones prefixed by >>):

>> drivers/media/platform/qcom/venus/firmware.c:22:39: fatal error: linux/soc/qcom/mdt_loader.h: No such file or directory
#include <linux/soc/qcom/mdt_loader.h>
^
compilation terminated.

vim +22 drivers/media/platform/qcom/venus/firmware.c

ed2bda7e Stanimir Varbanov 2017-02-07 6 * only version 2 as published by the Free Software Foundation.
ed2bda7e Stanimir Varbanov 2017-02-07 7 *
ed2bda7e Stanimir Varbanov 2017-02-07 8 * This program is distributed in the hope that it will be useful,
ed2bda7e Stanimir Varbanov 2017-02-07 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
ed2bda7e Stanimir Varbanov 2017-02-07 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
ed2bda7e Stanimir Varbanov 2017-02-07 11 * GNU General Public License for more details.
ed2bda7e Stanimir Varbanov 2017-02-07 12 *
ed2bda7e Stanimir Varbanov 2017-02-07 13 */
ed2bda7e Stanimir Varbanov 2017-02-07 14
ed2bda7e Stanimir Varbanov 2017-02-07 15 #include <linux/dma-mapping.h>
ed2bda7e Stanimir Varbanov 2017-02-07 16 #include <linux/firmware.h>
ed2bda7e Stanimir Varbanov 2017-02-07 17 #include <linux/kernel.h>
ed2bda7e Stanimir Varbanov 2017-02-07 18 #include <linux/of.h>
ed2bda7e Stanimir Varbanov 2017-02-07 19 #include <linux/of_reserved_mem.h>
ed2bda7e Stanimir Varbanov 2017-02-07 20 #include <linux/slab.h>
ed2bda7e Stanimir Varbanov 2017-02-07 21 #include <linux/qcom_scm.h>
ed2bda7e Stanimir Varbanov 2017-02-07 @22 #include <linux/soc/qcom/mdt_loader.h>
ed2bda7e Stanimir Varbanov 2017-02-07 23
ed2bda7e Stanimir Varbanov 2017-02-07 24 #define VENUS_FIRMWARE_NAME "venus.mdt"
ed2bda7e Stanimir Varbanov 2017-02-07 25 #define VENUS_PAS_ID 9
ed2bda7e Stanimir Varbanov 2017-02-07 26 #define VENUS_FW_MEM_SIZE SZ_8M
ed2bda7e Stanimir Varbanov 2017-02-07 27
ed2bda7e Stanimir Varbanov 2017-02-07 28 struct firmware_mem {
ed2bda7e Stanimir Varbanov 2017-02-07 29 struct device dev;
ed2bda7e Stanimir Varbanov 2017-02-07 30 void *mem_va;

:::::: The code at line 22 was first introduced by commit
:::::: ed2bda7e5a8a827a8f9e19bf828530d50e34669d media: venus: adding core part and helper functions

:::::: TO: Stanimir Varbanov <stanimir.varbanov@xxxxxxxxxx>
:::::: CC: 0day robot <fengguang.wu@xxxxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip