Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp656449pxj; Thu, 17 Jun 2021 10:44:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQ/H18qwMXRitxIZ7GPwl9m6FM26QA8iIITo/ddvgpqaWw1RGf6sF47XLm4mUkMa0MsTh6 X-Received: by 2002:a05:6e02:13d1:: with SMTP id v17mr4352332ilj.214.1623951845394; Thu, 17 Jun 2021 10:44:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623951845; cv=none; d=google.com; s=arc-20160816; b=svPZGyju9TfYC5RFUrK/qDtS/qtLOPNuE8czhPS1ZPIKoVWdfiLtAqACFp063oJwl0 KI1poM1NTqYcZfJYeKXTaxvbkZ8lgSMFmE2rXaa0QBBYN5ATy/m8SWvaJSGGl9CmAttE wrirjl4tzKY08vCu/YumoEKmyZEFOeOdSzRTvwQMZOVEpRpzqn9rmQOb/Yfiu6ItDqlB Za1HMxtbtrPkIIeytTIgrGYFG2xeebYzkUx20Mhdd8zAdDOq7s2DdL1HGzhoRm+C8JKG V0DVNT6iHjufICu5MEbr8LEHiRx8USulhtfPgboHmqwIPH16jeOtjR9rLYZk2cOoTNLd i4Pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:ironport-sdr :ironport-sdr; bh=Y/ZgfBDzsJwfvzAEW/S0F92oUfAywM81VyPEgG11NjU=; b=bO5DLdVMh/HwNDdXvt+dbAaNEQr6+Y4jioC7NI112Qt+s9sNvr6UUDPuKp+nTloBTC mmscfYqagCB7Zi0/VcSe686w5FZZnm5IpX/l2ohNL0LG9vlc1lmcSmmhriFGkcxG6z50 hpkHYm6lS7nuklRblsktlNJ5XvewhHx/QNwGafJjWoTOH+XS89PhWUokHusTVAIYNkwi VfEDBkFDKWkO7ws/GSMsFX3kWsrJqOE1e3x9oMKqEd6HFgPR7Moz4XQX4i8G0qOd+9zU 81vSXAc69TO4s9yJAOYyyKoxUfTEiWFSl5mB6XC9Ie4A1LZjdSDx1uXjtDn6jV6zO0Yk Pd/w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n3si6078070ili.116.2021.06.17.10.43.52; Thu, 17 Jun 2021 10:44:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231446AbhFQMnr (ORCPT + 99 others); Thu, 17 Jun 2021 08:43:47 -0400 Received: from mga02.intel.com ([134.134.136.20]:51984 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229891AbhFQMnr (ORCPT ); Thu, 17 Jun 2021 08:43:47 -0400 IronPort-SDR: 4MhOBV7INAHhjx/JLrU0wkxXh+E58nltD62/yWlZ7w16dIkig33SsuC+8BgNVec0ZxHq4HCqDk VDH0VUe5x8JA== X-IronPort-AV: E=McAfee;i="6200,9189,10017"; a="193487923" X-IronPort-AV: E=Sophos;i="5.83,280,1616482800"; d="scan'208";a="193487923" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jun 2021 05:41:39 -0700 IronPort-SDR: +Lhz+pz9Dy+dov93trqEkBpD8LKyTxVijDNA07kQJ3g/EKsoFv/IT/gP0LSSIdenc0qxPcg9Gn srh3cfaa9OEw== X-IronPort-AV: E=Sophos;i="5.83,280,1616482800"; d="scan'208";a="485278416" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jun 2021 05:41:35 -0700 Received: from andy by smile with local (Exim 4.94.2) (envelope-from ) id 1ltrKu-003LFy-KC; Thu, 17 Jun 2021 15:41:32 +0300 Date: Thu, 17 Jun 2021 15:41:32 +0300 From: Andy Shevchenko To: "libaokun (A)" Cc: kernel test robot , mchehab@kernel.org, sakari.ailus@linux.intel.com, gregkh@linuxfoundation.org, kaixuxia@tencent.com, gustavoars@kernel.org, linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, kbuild-all@lists.01.org, weiyongjun1@huawei.com Subject: Re: [PATCH -next v3] media: staging: atomisp: use list_splice_init in atomisp_compat_css20.c Message-ID: References: <20210611081004.1348026-1-libaokun1@huawei.com> <202106171617.BN97N8mw-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 17, 2021 at 08:14:28PM +0800, libaokun (A) wrote: > Sorry, I only tested it with 'x86_64.config'. > > I'm about to send a patch v4 with the changes to fix the error under your > config. Please, do not top-post! Problem here that you tested without additional warnings enabled. Next time try to start with `make W=1 ...` If you have installed Sparse tool, the better option would be `make W=1 C=1 CF=-D__CHECK_ENDIAN__ ...` > 在 2021/6/17 16:52, kernel test robot 写道: > > Hi Baokun, > > > > Thank you for the patch! Yet something to improve: > > > > [auto build test ERROR on next-20210616] > > > > url: https://github.com/0day-ci/linux/commits/Baokun-Li/media-staging-atomisp-use-list_splice_init-in-atomisp_compat_css20-c/20210617-043443 > > base: c7d4c1fd91ab4a6d2620497921a9c6bf54650ab8 > > config: i386-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/05c714d7b4e1722a75f949e40c5305f3ba28d048 > > git remote add linux-review https://github.com/0day-ci/linux > > git fetch --no-tags linux-review Baokun-Li/media-staging-atomisp-use-list_splice_init-in-atomisp_compat_css20-c/20210617-043443 > > git checkout 05c714d7b4e1722a75f949e40c5305f3ba28d048 > > # save the attached .config to linux build tree > > make W=1 ARCH=i386 > > > > If you fix the issue, kindly add following tag as appropriate > > Reported-by: kernel test robot > > > > All errors (new ones prefixed by >>): > > > > drivers/staging/media/atomisp/pci/atomisp_compat_css20.c: In function 'atomisp_css_stop': > > > > drivers/staging/media/atomisp/pci/atomisp_compat_css20.c:2156:50: error: 'struct atomisp_sub_device' has no member named 'asd' > > 2156 | list_splice_init(&asd->metadata_in_css[i], &asd->asd->metadata[i]); > > | ^~ > > drivers/staging/media/atomisp/pci/atomisp_compat_css20.c:2157:49: error: 'struct atomisp_sub_device' has no member named 'asd' > > 2157 | list_splice_init(&asd->metadata_ready[i], &asd->asd->metadata[i]); > > | ^~ > > drivers/staging/media/atomisp/pci/atomisp_compat_css20.c:2107:31: warning: unused variable 'md_buf' [-Wunused-variable] > > 2107 | struct atomisp_metadata_buf *md_buf; > > | ^~~~~~ > > drivers/staging/media/atomisp/pci/atomisp_compat_css20.c:2106:26: warning: unused variable 'dis_buf' [-Wunused-variable] > > 2106 | struct atomisp_dis_buf *dis_buf; > > | ^~~~~~~ -- With Best Regards, Andy Shevchenko