From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============5856482161370652970==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [cxl:preview 46/53] drivers/cxl/core/memdev.c:222:6: warning: no previous prototype for 'detach_memdev' Date: Sat, 22 Jan 2022 20:22:21 +0800 Message-ID: <202201222059.SHcoDfgc-lkp@intel.com> List-Id: --===============5856482161370652970== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable tree: https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git preview head: e675fabdbbcdb6e32dba688a20fb0bd42e0e2d5d commit: 2b2d6579d0ee25b92d9af10c407c11cb4e3e0afe [46/53] cxl/mem: Add the c= xl_mem driver config: x86_64-randconfig-a011 (https://download.01.org/0day-ci/archive/202= 20122/202201222059.SHcoDfgc-lkp(a)intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=3D1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git/commi= t/?id=3D2b2d6579d0ee25b92d9af10c407c11cb4e3e0afe git remote add cxl https://git.kernel.org/pub/scm/linux/kernel/git/= cxl/cxl.git git fetch --no-tags cxl preview git checkout 2b2d6579d0ee25b92d9af10c407c11cb4e3e0afe # save the config file to linux build tree mkdir build_dir make W=3D1 O=3Dbuild_dir ARCH=3Dx86_64 SHELL=3D/bin/bash drivers/cx= l/core/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/cxl/core/memdev.c:222:6: warning: no previous prototype for 'det= ach_memdev' [-Wmissing-prototypes] 222 | void detach_memdev(struct work_struct *work) | ^~~~~~~~~~~~~ vim +/detach_memdev +222 drivers/cxl/core/memdev.c 221 = > 222 void detach_memdev(struct work_struct *work) 223 { 224 struct cxl_memdev *cxlmd; 225 = 226 cxlmd =3D container_of(work, typeof(*cxlmd), detach_work); 227 device_release_driver(&cxlmd->dev); 228 put_device(&cxlmd->dev); 229 } 230 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============5856482161370652970==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4E999C433F5 for ; Sat, 22 Jan 2022 12:22:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234523AbiAVMWp (ORCPT ); Sat, 22 Jan 2022 07:22:45 -0500 Received: from mga01.intel.com ([192.55.52.88]:33890 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234479AbiAVMWi (ORCPT ); Sat, 22 Jan 2022 07:22:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642854158; x=1674390158; h=date:from:to:cc:subject:message-id:mime-version; bh=07Dw7OH6jrDKST0UyRRL7x6OugU1Ewa6plPn2z6juj8=; b=i8aRZk2cgbw9TP2zEOUEj7ALe95WYR0Y53bez8XoWiyRqh+nl8Fgd00w 8Fy41F+fDwvsyex/7aJGXG0te6KW1z2jAZcqLzgrDMIS1KY1RSuVVeQJK z9ynCHSHBa1urvzcsFPNkoOvYF9zOYE4txgcpV+WDboeDsbs64ruLEI8B lwyyTqWv1/jfO25QATr6gvulaceSetdQwABsYdFfPheZSBaO64V8inhz9 Faiy/XOauDuI6DEl8dChzsKsZkJ1dgWF5A9SLzWlGp/bTnCGnB49OmTiP WwoRuFCIRTjr0RUapdWC4m2//PjELWFTMDpcTBEaYjMlq2WOAN8a0H5Mz w==; X-IronPort-AV: E=McAfee;i="6200,9189,10234"; a="270249714" X-IronPort-AV: E=Sophos;i="5.88,308,1635231600"; d="scan'208";a="270249714" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jan 2022 04:22:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,308,1635231600"; d="scan'208";a="765964666" Received: from lkp-server01.sh.intel.com (HELO 276f1b88eecb) ([10.239.97.150]) by fmsmga006.fm.intel.com with ESMTP; 22 Jan 2022 04:22:36 -0800 Received: from kbuild by 276f1b88eecb with local (Exim 4.92) (envelope-from ) id 1nBFPg-000GNR-38; Sat, 22 Jan 2022 12:22:36 +0000 Date: Sat, 22 Jan 2022 20:22:21 +0800 From: kernel test robot To: Ben Widawsky Cc: kbuild-all@lists.01.org, Alison Schofield , Vishal Verma , Ira Weiny , Ben Widawsky , Dan Williams , linux-kernel@vger.kernel.org Subject: [cxl:preview 46/53] drivers/cxl/core/memdev.c:222:6: warning: no previous prototype for 'detach_memdev' Message-ID: <202201222059.SHcoDfgc-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tree: https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git preview head: e675fabdbbcdb6e32dba688a20fb0bd42e0e2d5d commit: 2b2d6579d0ee25b92d9af10c407c11cb4e3e0afe [46/53] cxl/mem: Add the cxl_mem driver config: x86_64-randconfig-a011 (https://download.01.org/0day-ci/archive/20220122/202201222059.SHcoDfgc-lkp@intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git/commit/?id=2b2d6579d0ee25b92d9af10c407c11cb4e3e0afe git remote add cxl https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git git fetch --no-tags cxl preview git checkout 2b2d6579d0ee25b92d9af10c407c11cb4e3e0afe # save the config file to linux build tree mkdir build_dir make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/cxl/core/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/cxl/core/memdev.c:222:6: warning: no previous prototype for 'detach_memdev' [-Wmissing-prototypes] 222 | void detach_memdev(struct work_struct *work) | ^~~~~~~~~~~~~ vim +/detach_memdev +222 drivers/cxl/core/memdev.c 221 > 222 void detach_memdev(struct work_struct *work) 223 { 224 struct cxl_memdev *cxlmd; 225 226 cxlmd = container_of(work, typeof(*cxlmd), detach_work); 227 device_release_driver(&cxlmd->dev); 228 put_device(&cxlmd->dev); 229 } 230 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org