Re: [PATCH] lib/test_firmware: add header file to prevent build errors

From: kbuild test robot
Date: Thu Feb 15 2018 - 19:49:06 EST


Hi Randy,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v4.16-rc1 next-20180215]
[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/Randy-Dunlap/lib-test_firmware-add-header-file-to-prevent-build-errors/20180216-040558
config: i386-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

>> lib/test_firmware.c:24:10: fatal error: linux/vfree.h: No such file or directory
#include <linux/vfree.h>
^~~~~~~~~~~~~~~
compilation terminated.

vim +24 lib/test_firmware.c

11
12 #include <linux/init.h>
13 #include <linux/module.h>
14 #include <linux/printk.h>
15 #include <linux/completion.h>
16 #include <linux/firmware.h>
17 #include <linux/device.h>
18 #include <linux/fs.h>
19 #include <linux/miscdevice.h>
20 #include <linux/slab.h>
21 #include <linux/uaccess.h>
22 #include <linux/delay.h>
23 #include <linux/kthread.h>
> 24 #include <linux/vfree.h>
25

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

Attachment: .config.gz
Description: application/gzip