Content-Type: multipart/mixed; boundary="===============5536709162606416882==" MIME-Version: 1.0 From: libaokun (A) To: kbuild-all@lists.01.org Subject: Re: [PATCH -next v3] media: staging: atomisp: use list_splice_init in atomisp_compat_css20.c Date: Thu, 17 Jun 2021 20:53:46 +0800 Message-ID: <9595aed0-99b1-ed5c-3f89-fa69dba41cf0@huawei.com> In-Reply-To: List-Id: --===============5536709162606416882== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Thank you for your advice. I'll follow your advice strictly. Best Regards. =E5=9C=A8 2021/6/17 20:41, Andy Shevchenko =E5=86=99=E9=81=93: > 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=3D1 ...` > > If you have installed Sparse tool, the better option would be > `make W=3D1 C=3D1 CF=3D-D__CHECK_ENDIAN__ ...` > >> =E5=9C=A8 2021/6/17 16:52, kernel test robot =E5=86=99=E9=81=93: >>> 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-stagin= g-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=3D1 build): >>> # https://github.com/0day-ci/linux/commit/05c714d7b4e1722a75f= 949e40c5305f3ba28d048 >>> git remote add linux-review https://github.com/0day-ci/linux >>> git fetch --no-tags linux-review Baokun-Li/media-staging-atom= isp-use-list_splice_init-in-atomisp_compat_css20-c/20210617-043443 >>> git checkout 05c714d7b4e1722a75f949e40c5305f3ba28d048 >>> # save the attached .config to linux build tree >>> make W=3D1 ARCH=3Di386 >>> >>> 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 funct= ion 'atomisp_css_stop': >>>>> drivers/staging/media/atomisp/pci/atomisp_compat_css20.c:2156:50: err= or: 'struct atomisp_sub_device' has no member named 'asd' >>> 2156 | list_splice_init(&asd->metadata_in_css[i], &asd->asd->me= tadata[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->met= adata[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; >>> | ^~~~~~~ --===============5536709162606416882==--