Hi Viresh,
I love your patch! Yet something to improve:
[auto build test ERROR on soc/for-next]
[also build test ERROR on vhost/linux-next linus/master v5.14-rc6 next-20210820]
[cannot apply to gpio/for-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Viresh-Kumar/gpio-Add-virtio-bas...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git for-next
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
#
https://github.com/0day-ci/linux/commit/4fe66a15717a74f8f876f70595f050b4d...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Viresh-Kumar/gpio-Add-virtio-based-driver/20210810-182659
git checkout 4fe66a15717a74f8f876f70595f050b4dffda7ae
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> drivers/gpio/gpio-virtio.c:356:4: error: 'VIRTIO_ID_GPIO'
undeclared here (not in a function); did you mean 'VIRTIO_ID_GPU'?
356
| { VIRTIO_ID_GPIO, VIRTIO_DEV_ANY_ID },
| ^~~~~~~~~~~~~~
| VIRTIO_ID_GPU
vim +356 drivers/gpio/gpio-virtio.c
354
355 static const struct virtio_device_id id_table[] = {
356 { VIRTIO_ID_GPIO, VIRTIO_DEV_ANY_ID },
357 {},
358 };
359 MODULE_DEVICE_TABLE(virtio, id_table);
360
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org