On Tue, Jul 21, 2020 at 4:27 AM 'Gal Pressman' via Clang Built Linux <clang-built-linux@xxxxxxxxxxxxxxxx> wrote: > > On 20/07/2020 20:08, kernel test robot wrote: > > Hi Gal, > > > > I love your patch! Yet something to improve: > > > > [auto build test ERROR on 5f0b2a6093a4d9aab093964c65083fe801ef1e58] > > > > url: https://github.com/0day-ci/linux/commits/Gal-Pressman/Add-support-for-0xefa1-device/20200720-160419 > > base: 5f0b2a6093a4d9aab093964c65083fe801ef1e58 > > config: x86_64-allyesconfig (attached as .config) > > compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project cf1105069648446d58adfb7a6cc590013d6886ba) > > Uh, looks like I use some gcc specific stuff here.. I guess it's time to start > checking clang compilation as well :). > > Will fix and resubmit. >> drivers/infiniband/hw/efa/efa_verbs.c:1539:18: error: invalid application of 'sizeof' to an incomplete type 'struct (anonymous struct at drivers/infiniband/hw/efa/efa_verbs.c:1529:2) []' for (i = 0; i < ARRAY_SIZE(user_comp_handshakes); i++) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ is user_comp_handshakes forward declared but not defined for an allyesconfig? -- Thanks, ~Nick Desaulniers