From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-qk0-f194.google.com ([209.85.220.194]:35980 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751366AbdFZPjl (ORCPT ); Mon, 26 Jun 2017 11:39:41 -0400 Received: by mail-qk0-f194.google.com with SMTP id r62so627086qkf.3 for ; Mon, 26 Jun 2017 08:39:41 -0700 (PDT) Date: Mon, 26 Jun 2017 12:39:36 -0300 From: Gustavo Padovan To: kbuild test robot Cc: kbuild-all@01.org, linux-media@vger.kernel.org, Hans Verkuil , Javier Martinez Canillas , Mauro Carvalho Chehab , Shuah Khan , Gustavo Padovan Subject: Re: [PATCH 01/12] [media] vb2: add explicit fence user API Message-ID: <20170626153936.GB3090@jade> References: <20170616073915.5027-2-gustavo@padovan.org> <201706182254.xqhcA9D6%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201706182254.xqhcA9D6%fengguang.wu@intel.com> Sender: linux-media-owner@vger.kernel.org List-ID: 2017-06-18 kbuild test robot : > Hi Gustavo, > > [auto build test ERROR on linuxtv-media/master] > [also build test ERROR on v4.12-rc5 next-20170616] > [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/Gustavo-Padovan/vb2-add-explicit-fence-user-API/20170618-210740 > base: git://linuxtv.org/media_tree.git master > config: x86_64-allmodconfig (attached as .config) > compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 > reproduce: > # save the attached .config to linux build tree > make ARCH=x86_64 > > All error/warnings (new ones prefixed by >>): > > drivers/staging/media//atomisp/pci/atomisp2/atomisp_ioctl.c: In function 'atomisp_qbuf': > >> drivers/staging/media//atomisp/pci/atomisp2/atomisp_ioctl.c:1297:10: error: 'struct v4l2_buffer' has no member named 'reserved2'; did you mean 'reserved'? > (buf->reserved2 & ATOMISP_BUFFER_HAS_PER_FRAME_SETTING)) { > ^~ > drivers/staging/media//atomisp/pci/atomisp2/atomisp_ioctl.c:1299:50: error: 'struct v4l2_buffer' has no member named 'reserved2'; did you mean 'reserved'? > pipe->frame_request_config_id[buf->index] = buf->reserved2 & > ^~ > drivers/staging/media//atomisp/pci/atomisp2/atomisp_ioctl.c: In function 'atomisp_dqbuf': > drivers/staging/media//atomisp/pci/atomisp2/atomisp_ioctl.c:1483:5: error: 'struct v4l2_buffer' has no member named 'reserved2'; did you mean 'reserved'? > buf->reserved2 = pipe->frame_config_id[buf->index]; > ^~ > In file included from include/linux/printk.h:329:0, > from include/linux/kernel.h:13, > from include/linux/delay.h:21, > from drivers/staging/media//atomisp/pci/atomisp2/atomisp_ioctl.c:24: > drivers/staging/media//atomisp/pci/atomisp2/atomisp_ioctl.c:1488:6: error: 'struct v4l2_buffer' has no member named 'reserved2'; did you mean 'reserved'? > buf->reserved2); > ^ Ouch! Seems the reserved2 was burned down by 2 drivers accessing it without any care for the uAPI. I'll change my patches to use the 'reserved' field instead. Gustavo