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 20AB021D5A4 for ; Thu, 9 Jan 2025 15:46:18 +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=1736437581; cv=none; b=ra+Wha5/EaDDYGRqbyQ9DhE49WpFCi52ySgRk/iu5DQ2XHINQjyaWVQIPLPfC1Y0w7h1aBcprEqKHEyyCdivK09l2IakhT/VLecenAzsZgDemvTRvnkAXen68ACPl0QURoaxGFJy0qazhhoWZR1xqWQICE80LVVohpLynyUZaPQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736437581; c=relaxed/simple; bh=UpzsEPgeOoWdOhu1DNZHjh8t4dAN6kynKhs6VZwxps8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=dpSEAbkhSFLhyacJJ2G4EHS6FcsfZM1Og1689xjvDIbvZqPY76/fQdD540A7O2AJQUvdQDXhq/dH9EIV4l2JSyV/SQ5ztvdJF8N9nnZwX/hPpLtm78drETm3K5dmRScC14KxdW1Yvl7ncVB+uIGq/QSgbc5hAffyDCd2AMSCeiM= 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=kU+BUkTt; 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="kU+BUkTt" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1736437580; x=1767973580; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=UpzsEPgeOoWdOhu1DNZHjh8t4dAN6kynKhs6VZwxps8=; b=kU+BUkTtphwXqJYn/GgCDqe6byqptFtlXYijBMtOCOUH+ZbZOArNI3bW LMZK8RSkc+BWaZgf778mUiI2Ao1Tbtou/7jzj/HBgKnBWmPOZjWXbzI8v wgasmWqmXS1dafo6L0enVO4As18dfrNNbWdXljuwUC7oOmsmY9c4pKmi0 lOfZynTan175YF4P7jhfDj6iVSR8y4K7FmpBNtDODzrKGg9KJ6LUqQSKu y7YPTRYqjQd9xj7uMJLFStbegDYvS+YDSZ+wsmLwOzSUqe87JKK2c4eD0 mu0yPki84Fq53Bg4zvG9CbNYqT/0aU7Exuxe+b5rXieJMo8orooGXw5tL g==; X-CSE-ConnectionGUID: s/NxArmrRUmfA+5HGP9IIA== X-CSE-MsgGUID: kgkqooE6TSuJl9JWQkvLog== X-IronPort-AV: E=McAfee;i="6700,10204,11310"; a="35930851" X-IronPort-AV: E=Sophos;i="6.12,301,1728975600"; d="scan'208";a="35930851" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jan 2025 07:46:18 -0800 X-CSE-ConnectionGUID: PAnHJLOnSUWH+6dUpoJbCw== X-CSE-MsgGUID: QF9/XboEQtuthA8KWtlYOQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="134340521" Received: from lkp-server01.sh.intel.com (HELO d63d4d77d921) ([10.239.97.150]) by fmviesa001.fm.intel.com with ESMTP; 09 Jan 2025 07:46:17 -0800 Received: from kbuild by d63d4d77d921 with local (Exim 4.96) (envelope-from ) id 1tVujf-000HlT-0b; Thu, 09 Jan 2025 15:46:15 +0000 Date: Thu, 9 Jan 2025 23:46:11 +0800 From: kernel test robot To: Dave Penkler , gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, Dave Penkler Subject: Re: [PATCH v2] staging: gpib: Modernize gpib_interface_t initialization and make static Message-ID: <202501092356.ElX5uvEq-lkp@intel.com> References: <20250108174121.23044-1-dpenkler@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250108174121.23044-1-dpenkler@gmail.com> Hi Dave, 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/Dave-Penkler/staging-gpib-Modernize-gpib_interface_t-initialization-and-make-static/20250109-014247 base: staging/staging-testing patch link: https://lore.kernel.org/r/20250108174121.23044-1-dpenkler%40gmail.com patch subject: [PATCH v2] staging: gpib: Modernize gpib_interface_t initialization and make static config: x86_64-randconfig-077-20250109 (https://download.01.org/0day-ci/archive/20250109/202501092356.ElX5uvEq-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250109/202501092356.ElX5uvEq-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/202501092356.ElX5uvEq-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/staging/gpib/hp_82335/hp82335.c:175:25: error: static declaration of 'hp82335_interface' follows non-static declaration 175 | static gpib_interface_t hp82335_interface = { | ^~~~~~~~~~~~~~~~~ In file included from drivers/staging/gpib/hp_82335/hp82335.c:11: drivers/staging/gpib/hp_82335/hp82335.h:21:25: note: previous declaration of 'hp82335_interface' with type 'gpib_interface_t' {aka 'struct gpib_interface_struct'} 21 | extern gpib_interface_t hp82335_interface; | ^~~~~~~~~~~~~~~~~ vim +/hp82335_interface +175 drivers/staging/gpib/hp_82335/hp82335.c 174 > 175 static gpib_interface_t hp82335_interface = { 176 .name = "hp82335", 177 .attach = hp82335_attach, 178 .detach = hp82335_detach, 179 .read = hp82335_read, 180 .write = hp82335_write, 181 .command = hp82335_command, 182 .request_system_control = hp82335_request_system_control, 183 .take_control = hp82335_take_control, 184 .go_to_standby = hp82335_go_to_standby, 185 .interface_clear = hp82335_interface_clear, 186 .remote_enable = hp82335_remote_enable, 187 .enable_eos = hp82335_enable_eos, 188 .disable_eos = hp82335_disable_eos, 189 .parallel_poll = hp82335_parallel_poll, 190 .parallel_poll_configure = hp82335_parallel_poll_configure, 191 .parallel_poll_response = hp82335_parallel_poll_response, 192 .local_parallel_poll_mode = NULL, // XXX 193 .line_status = hp82335_line_status, 194 .update_status = hp82335_update_status, 195 .primary_address = hp82335_primary_address, 196 .secondary_address = hp82335_secondary_address, 197 .serial_poll_response = hp82335_serial_poll_response, 198 .serial_poll_status = hp82335_serial_poll_status, 199 .t1_delay = hp82335_t1_delay, 200 .return_to_local = hp82335_return_to_local, 201 }; 202 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki