Re: [kbuild-all] Re: [PATCH v11] i2c: virtio: add a virtio i2c frontend driver

From: Rong Chen
Date: Fri Jul 02 2021 - 02:39:05 EST




On 7/2/21 11:12 AM, Jie Deng wrote:

On 2021/7/1 18:00, kernel test robot wrote:
Hi Jie,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on wsa/i2c/for-next]
[also build test ERROR on linux/master linus/master v5.13 next-20210630]
[cannot apply to vhost/linux-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/Jie-Deng/i2c-virtio-add-a-virtio-i2c-frontend-driver/20210701-112619
base: https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-next
config: i386-randconfig-c021-20210630 (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/e8dedd2a8577148d7655d0affe35adf34efbbf15
         git remote add linux-review https://github.com/0day-ci/linux
         git fetch --no-tags linux-review Jie-Deng/i2c-virtio-add-a-virtio-i2c-frontend-driver/20210701-112619
         git checkout e8dedd2a8577148d7655d0affe35adf34efbbf15
         # save the attached .config to linux build tree
         mkdir build_dir
         make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

    In file included from <command-line>:32:
./usr/include/linux/virtio_i2c.h:12:10: fatal error: linux/bits.h: No such file or directory
       12 | #include <linux/bits.h>
          |          ^~~~~~~~~~~~~~
    compilation terminated.


I didn't see this error. Why did you say no such file? Anything wrong ?

https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git/tree/include/linux/bits.h

Thank you !


Hi Jie,

The problem is reproducible, I guess it's due to bits.h not in include/uapi/linux.

Best Regards,
Rong Chen