From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6584710785; Wed, 15 Apr 2026 00:05:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776211522; cv=none; b=QoGb6j0bR/YiuVmfvcVV3ENVlSvHdCxIw58Byl4/3d6j/ErmDUI6v/ojWyJJWRIKWjCNpSjhtF2/cUDl9mZhKSgTHN1GQhGBgh1kCuQKJhf4ByoE1em+bhNg1q9aH9KloThocVt1EJSTo5tXElNkO+wUfsv7hyFlD6m3uFlnSiw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776211522; c=relaxed/simple; bh=QJYIaV4E/IuyvGOiNpoWNfCl5bg8HnBgQPPphrXTlN0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=mg95RvNAEjj/ryQwB+lzb/ibjhst0L6gIY1p2DvNh5L2EIxMHmsdWcKx666hZRDsUGCkYbs9bZD/uuEbVtx75vPTzD51U3qwMxXPbVufA9k5sayeTr8UwxvAziidSJm7SMaon7/pOt7zRTdZTEuIItnfbMuJVZYirsC3cRAxuTo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=ami3MaUS; arc=none smtp.client-ip=192.198.163.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="ami3MaUS" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1776211521; x=1807747521; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=QJYIaV4E/IuyvGOiNpoWNfCl5bg8HnBgQPPphrXTlN0=; b=ami3MaUSFWqxo8jF4Hv85hdciQnRJhtTN7rDaq4tTAuXcJLwpVGUXUoR kx+GiAkj/+qo0icqYzrChY75VOaDDglYXVGJCc2NUf7Dk+bMiF4MoF7ts RZ/+ilMVvoajBHHsIEobqoIrUFNUYaEhxoG1Gt/udpqHCJcerEK4y0vrV 9ZVBmF9oWIayjUL0LeSJxpmY5+pa6EBasx/4Z4RKAIcI7SwcBSKcHRU1B plavl+c5EdT9BQHSqakqj3/VXRFv5t922QizBxB57dZblG6aPMHOGOrzE k7fQBEiayCB0B+aU45V7oOjRBbfmeCIwLsG4nB4uJbuh0XHbB7L2MTNfN g==; X-CSE-ConnectionGUID: J5qCZ99wT2GqQKucS5S8mg== X-CSE-MsgGUID: gGkFpllyT7yYRIGs3JYrKg== X-IronPort-AV: E=McAfee;i="6800,10657,11759"; a="76213640" X-IronPort-AV: E=Sophos;i="6.23,179,1770624000"; d="scan'208";a="76213640" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Apr 2026 17:05:21 -0700 X-CSE-ConnectionGUID: mZ0DOTvRQYeYCuydP7vqmQ== X-CSE-MsgGUID: hZmcqFH2TPy0KShEpm8T3Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,179,1770624000"; d="scan'208";a="253643556" Received: from lkp-server01.sh.intel.com (HELO 7b0b59b3a0d4) ([10.239.97.150]) by fmviesa001.fm.intel.com with ESMTP; 14 Apr 2026 17:05:18 -0700 Received: from kbuild by 7b0b59b3a0d4 with local (Exim 4.98.2) (envelope-from ) id 1wCnkq-000000001zV-0vKp; Wed, 15 Apr 2026 00:05:16 +0000 Date: Wed, 15 Apr 2026 08:04:21 +0800 From: kernel test robot To: Maxwell Doose , gregkh@linuxfoundation.org, tsbogend@alpha.franken.de Cc: oe-kbuild-all@lists.linux.dev, yoelvisoliveros@gmail.com, len.bao@gmx.us, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev Subject: Re: [PATCH] staging: octeon: remove SPI, POW, PKO, and Helper typedef enums Message-ID: <202604150717.26IAjbLy-lkp@intel.com> References: <20260412000226.2711800-1-m32285159@gmail.com> Precedence: bulk X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260412000226.2711800-1-m32285159@gmail.com> Hi Maxwell, kernel test robot noticed the following build errors: [auto build test ERROR on staging/staging-testing] url: https://github.com/intel-lab-lkp/linux/commits/Maxwell-Doose/staging-octeon-remove-SPI-POW-PKO-and-Helper-typedef-enums/20260415-004127 base: staging/staging-testing patch link: https://lore.kernel.org/r/20260412000226.2711800-1-m32285159%40gmail.com patch subject: [PATCH] staging: octeon: remove SPI, POW, PKO, and Helper typedef enums config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20260415/202604150717.26IAjbLy-lkp@intel.com/config) compiler: sh4-linux-gcc (GCC) 15.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260415/202604150717.26IAjbLy-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202604150717.26IAjbLy-lkp@intel.com/ All error/warnings (new ones prefixed by >>): In file included from drivers/staging/octeon/octeon-ethernet.h:41, from drivers/staging/octeon/ethernet.c:23: >> drivers/staging/octeon/octeon-stubs.h:1270:22: error: 'cvmx_helper_interface_mode' defined as wrong kind of tag 1270 | static inline struct cvmx_helper_interface_mode cvmx_helper_interface_get_mode(int | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/staging/octeon/octeon-stubs.h:1270:49: error: return type is an incomplete type 1270 | static inline struct cvmx_helper_interface_mode cvmx_helper_interface_get_mode(int | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/staging/octeon/octeon-stubs.h: In function 'cvmx_helper_interface_get_mode': >> drivers/staging/octeon/octeon-stubs.h:1273:16: error: 'return' with a value, in function returning void [-Wreturn-mismatch] 1273 | return 0; | ^ drivers/staging/octeon/octeon-stubs.h:1270:49: note: declared here 1270 | static inline struct cvmx_helper_interface_mode cvmx_helper_interface_get_mode(int | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/staging/octeon/ethernet.c: In function 'cvm_oct_common_change_mtu': >> drivers/staging/octeon/ethernet.c:252:14: error: void value not ignored as it ought to be 252 | (cvmx_helper_interface_get_mode(interface) != | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/staging/octeon/ethernet.c: In function 'cvm_oct_common_set_multicast_list': drivers/staging/octeon/ethernet.c:298:14: error: void value not ignored as it ought to be 298 | (cvmx_helper_interface_get_mode(interface) != | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/staging/octeon/ethernet.c: In function 'cvm_oct_set_mac_filter': drivers/staging/octeon/ethernet.c:350:14: error: void value not ignored as it ought to be 350 | (cvmx_helper_interface_get_mode(interface) != | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/staging/octeon/ethernet.c: In function 'cvm_oct_probe': >> drivers/staging/octeon/ethernet.c:801:22: error: 'cvmx_helper_interface_mode' defined as wrong kind of tag 801 | enum cvmx_helper_interface_mode imode = | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/staging/octeon/ethernet.c:802:21: error: variable 'imode' has initializer but incomplete type 802 | cvmx_helper_interface_get_mode(interface); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/staging/octeon/ethernet.c:801:49: error: storage size of 'imode' isn't known 801 | enum cvmx_helper_interface_mode imode = | ^~~~~ >> drivers/staging/octeon/ethernet.c:801:49: warning: unused variable 'imode' [-Wunused-variable] -- In file included from drivers/staging/octeon/octeon-ethernet.h:41, from drivers/staging/octeon/ethernet-mdio.c:15: >> drivers/staging/octeon/octeon-stubs.h:1270:22: error: 'cvmx_helper_interface_mode' defined as wrong kind of tag 1270 | static inline struct cvmx_helper_interface_mode cvmx_helper_interface_get_mode(int | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/staging/octeon/octeon-stubs.h:1270:49: error: return type is an incomplete type 1270 | static inline struct cvmx_helper_interface_mode cvmx_helper_interface_get_mode(int | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/staging/octeon/octeon-stubs.h: In function 'cvmx_helper_interface_get_mode': >> drivers/staging/octeon/octeon-stubs.h:1273:16: error: 'return' with a value, in function returning void [-Wreturn-mismatch] 1273 | return 0; | ^ drivers/staging/octeon/octeon-stubs.h:1270:49: note: declared here 1270 | static inline struct cvmx_helper_interface_mode cvmx_helper_interface_get_mode(int | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/cvmx_helper_interface_mode +1270 drivers/staging/octeon/octeon-stubs.h 1269 > 1270 static inline struct cvmx_helper_interface_mode cvmx_helper_interface_get_mode(int 1271 interface) 1272 { > 1273 return 0; 1274 } 1275 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki