Re: [PATCH v2] mm: Create the new vm_fault_t type
From: kbuild test robot
Date: Tue Nov 06 2018 - 08:27:56 EST
Hi Souptick,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on linus/master]
[also build test WARNING on v4.20-rc1 next-20181106]
[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/Souptick-Joarder/mm-Create-the-new-vm_fault_t-type/20181106-171908
config: i386-randconfig-h1-11061829 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All warnings (new ones prefixed by >>):
>> drivers//dma-buf/udmabuf.c:34:2: warning: initialization from incompatible pointer type
.fault = udmabuf_vm_fault,
^
drivers//dma-buf/udmabuf.c:34:2: warning: (near initialization for 'udmabuf_vm_ops.fault')
vim +34 drivers//dma-buf/udmabuf.c
fbb0de79 Gerd Hoffmann 2018-08-27 32
fbb0de79 Gerd Hoffmann 2018-08-27 33 static const struct vm_operations_struct udmabuf_vm_ops = {
fbb0de79 Gerd Hoffmann 2018-08-27 @34 .fault = udmabuf_vm_fault,
fbb0de79 Gerd Hoffmann 2018-08-27 35 };
fbb0de79 Gerd Hoffmann 2018-08-27 36
:::::: The code at line 34 was first introduced by commit
:::::: fbb0de795078190a9834b3409e4b009cfb18a6d4 Add udmabuf misc device
:::::: TO: Gerd Hoffmann <kraxel@xxxxxxxxxx>
:::::: CC: Gerd Hoffmann <kraxel@xxxxxxxxxx>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip