Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp579513pxj; Thu, 17 Jun 2021 09:06:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx8Do3gS/Jj5k44qNAhuGrzhyw2/08mPknCkPOAYDd+Fg2NQaXRdkPyUXpzEkqFTnbbQ8G6 X-Received: by 2002:adf:f40d:: with SMTP id g13mr2098051wro.413.1623945976980; Thu, 17 Jun 2021 09:06:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623945976; cv=none; d=google.com; s=arc-20160816; b=R/9Yd+GL6lJCrI0w4bDddaSEY3nkNatjlum5dKvIxnbjP3OH5Vmy7IJtJF5+ZrpS/o ah0UWWxdqXonz49oW7BvoQ/u1bh7GZWrGyiwK132zYQv5aJL3DHJn5TZo30hv3mdlP58 xl1tLkrF7/HfPVFBZ7060woJUSm17qJFrbCbF/0FfW2o/j/xv0DnqYPTlW54xfePV+dh iQuGn60q+wkGUMwAolx6Ueav5kIP3gQ08DnUR3yMNZ9IVUUoRAGyO+UhoW4Zgf1uhv/J Y0QHtXh5Qvkb8qVoXjbpcH0uh6W4Trg3Pl5uS1eS7IaaiWO9bVRtsAjLy0kfOFAYbkux ZVXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=a29pFACEv6Vr9juoX51YPLl+BKvt20NaolhEQ/txeV0=; b=ocPF5MSjTpWlmJJVtSumiH5Emr+qQHvY1XGeD4XYQaRC4WHl2kpJtpXcViHeZ/qFGU yl0n4FNx/kpg+Ga+4Qe6gH+RcauCUHJnoCUoOqJxOC3IYPKIXD0cXHXbOWdJmSMMMInW q2Y9N7Dsgs2e9iJ4T/c50u8OI4WC2lWNKP6t0jA8dNY6KoxADqepuBNSFC4+DOfs203O j63oJBxLkp5RUA3PnWBD5RDia2HHoxvROSJqWxjcCCdpfu3SVetrywdlRYMnXOa4Lv80 ocVT+bqGAIJGv/UVDuB1xM1+0Oxk8GqmhdpYtLyKv2nK932RGLv/jVOt5dsHukdQgAe1 32lQ== 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=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h6si5707853ejp.651.2021.06.17.09.05.47; Thu, 17 Jun 2021 09:06:16 -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=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231960AbhFQMz6 (ORCPT + 99 others); Thu, 17 Jun 2021 08:55:58 -0400 Received: from szxga08-in.huawei.com ([45.249.212.255]:8259 "EHLO szxga08-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231757AbhFQMz5 (ORCPT ); Thu, 17 Jun 2021 08:55:57 -0400 Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.56]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4G5MLP0rLQz1BNL2; Thu, 17 Jun 2021 20:48:45 +0800 (CST) Received: from dggpeml500020.china.huawei.com (7.185.36.88) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Thu, 17 Jun 2021 20:53:47 +0800 Received: from [10.174.177.174] (10.174.177.174) by dggpeml500020.china.huawei.com (7.185.36.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Thu, 17 Jun 2021 20:53:47 +0800 Subject: Re: [PATCH -next v3] media: staging: atomisp: use list_splice_init in atomisp_compat_css20.c To: Andy Shevchenko CC: kernel test robot , , , , , , , , , , References: <20210611081004.1348026-1-libaokun1@huawei.com> <202106171617.BN97N8mw-lkp@intel.com> From: "libaokun (A)" Message-ID: <9595aed0-99b1-ed5c-3f89-fa69dba41cf0@huawei.com> Date: Thu, 17 Jun 2021 20:53:46 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.174.177.174] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpeml500020.china.huawei.com (7.185.36.88) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thank you for your advice. I'll follow your advice strictly. Best Regards. 在 2021/6/17 20:41, Andy Shevchenko 写道: > 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; >>> | ^~~~~~~