Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1418634rda; Mon, 23 Oct 2023 11:58:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF426KfOGqxx8vaz2+7lslL2GOc3GD20LKviXpNOM8PMKyiE6P4ghz/k8K7j/kJiTtwdCGw X-Received: by 2002:a05:6359:d12:b0:168:e777:adf9 with SMTP id gp18-20020a0563590d1200b00168e777adf9mr1735130rwb.18.1698087504566; Mon, 23 Oct 2023 11:58:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698087504; cv=none; d=google.com; s=arc-20160816; b=bKZ1Viyff7mII92r7uDDRgVsvTrUSxrL/kbfFPDLVnFlVbqWjY/l3BI6KVUjYOWgmX 7dvgpa2HyprQVuJHZOt3uyek0x/gOvlLXfZE/0WrIocBzgBmaq2ecu1coLCvdM41nWgq d0qJvhpOwVxbZg+nWVr//8noSuVWBpfscc0NDzUwhF18fvEbHDFagfB5swKqf3+Asbgr prrhcz05dwcL09E3sW9tuQwKLYtQOk2BfhJJGcfoWtpcX68nymHf2TqoJy6pJ8B3+UEZ z0OAY5x4Er4/Fi/UblGJG9roQzYHJuq4azmwllqOPsD+ZO4v0I9+v5m6jh4A6tvdnPG4 GgRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=qxNIN+T89ll4L9vfq9HmbTWfaaDCb6zPtzEnP6GPs9M=; fh=AGSuPP7R4bg70WULy2fWCyCs+Kftqm9tQAEAI4DqSDE=; b=jEOdOofPlDsa19y+BFnJ80ZB5OFhvXTKriCpP0FlZgVw8T6ayC+wwsMn7HukqGSTWj SUpovHv1H/H47DOx8VDsn/IvWpByeXa899VKABKbh1y2yLoVIVrGw4zQpoNdcmb5FLNF zegdMAlsR71TtkvnPnVtH93jF7J8mNP0DhVstTDvLOqicvsW0kTaNmePEb3GL8nvVC2t 7GUb6oOLqqfSWEZfLyT2fU6UShvheaptulxVHDqg9EWanmRbi9/gwk1dIlD/r/jI4r/8 vxOJlMki4Sjq7yDmGpwNf59jyjbqmamhJ+wDWlV4xLpH5KTuZ5JWEWJItrSBW6kxw0E/ /qIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=kpJfEVdr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id bx28-20020a056a02051c00b005b837c29d22si7491886pgb.177.2023.10.23.11.58.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 11:58:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=kpJfEVdr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id C74F38054EC2; Mon, 23 Oct 2023 11:58:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230345AbjJWS6P (ORCPT + 99 others); Mon, 23 Oct 2023 14:58:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229491AbjJWS6N (ORCPT ); Mon, 23 Oct 2023 14:58:13 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B566A100; Mon, 23 Oct 2023 11:58:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698087491; x=1729623491; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=jfRzDBKygKvxCl+MnO+GjTDOLBtOdkySu7nZa6XOIwI=; b=kpJfEVdrj4Lrrwwe6FaCiAtul2vI5hxMxxDJmWHS3x5QVp9lijD2kVre 7L9fkbwFOESV6gt4eMO/jqcbrWnZerjSNOHMXuCB4VCw0pb3OrFdtH/5i ORhjckzQkyWxeLWKzvk3vggyJhcmj+dhYeSMClrfTNg72gmufpGF4NmAy XPGstctKOD3Tb+HXegkHXtxDb88xlqELilpc0T43tyoHEO8zjqmqFTGHq 4lVJ9uKbu6uYcthsAbVHfZVrTgyuS78PFbK+zPU9zR83fypckgEACi7Jt DXZ6ETMm2n6178DcXVuYZ3ZXGGiM8E3VKUS7RticGq0QL0pkiNQrtY+J7 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10872"; a="390791172" X-IronPort-AV: E=Sophos;i="6.03,246,1694761200"; d="scan'208";a="390791172" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Oct 2023 11:58:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10872"; a="931781013" X-IronPort-AV: E=Sophos;i="6.03,246,1694761200"; d="scan'208";a="931781013" Received: from lkp-server01.sh.intel.com (HELO 8917679a5d3e) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 23 Oct 2023 11:58:07 -0700 Received: from kbuild by 8917679a5d3e with local (Exim 4.96) (envelope-from ) id 1qv07p-0007AX-0n; Mon, 23 Oct 2023 18:58:05 +0000 Date: Tue, 24 Oct 2023 02:57:17 +0800 From: kernel test robot To: Ivan Vecera , netdev@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, Jesse Brandeburg , Tony Nguyen , Eric Dumazet , Jakub Kicinski , Paolo Abeni , intel-wired-lan@lists.osuosl.org, linux-kernel@vger.kernel.org, Jacob Keller , mschmidt@redhat.com, dacampbe@redhat.com, poros@redhat.com Subject: Re: [PATCH iwl-next 2/3] i40e: Add other helpers to check version of running firmware and AQ API Message-ID: <202310240231.6eF5YKB4-lkp@intel.com> References: <20231023162928.245583-3-ivecera@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231023162928.245583-3-ivecera@redhat.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 23 Oct 2023 11:58:21 -0700 (PDT) Hi Ivan, kernel test robot noticed the following build warnings: [auto build test WARNING on tnguy-next-queue/dev-queue] url: https://github.com/intel-lab-lkp/linux/commits/Ivan-Vecera/i40e-Move-i40e_is_aq_api_ver_ge-helper/20231024-003221 base: https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue.git dev-queue patch link: https://lore.kernel.org/r/20231023162928.245583-3-ivecera%40redhat.com patch subject: [PATCH iwl-next 2/3] i40e: Add other helpers to check version of running firmware and AQ API config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20231024/202310240231.6eF5YKB4-lkp@intel.com/config) compiler: alpha-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231024/202310240231.6eF5YKB4-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/202310240231.6eF5YKB4-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from drivers/net/ethernet/intel/i40e/i40e_dcb.h:7, from drivers/net/ethernet/intel/i40e/i40e.h:15, from drivers/net/ethernet/intel/i40e/i40e_main.c:13: >> drivers/net/ethernet/intel/i40e/i40e_type.h:632:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] 632 | static bool inline i40e_is_fw_ver_ge(struct i40e_hw *hw, u16 maj, u16 min) | ^~~~~~ drivers/net/ethernet/intel/i40e/i40e_type.h:646:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] 646 | static bool inline i40e_is_fw_ver_lt(struct i40e_hw *hw, u16 maj, u16 min) | ^~~~~~ drivers/net/ethernet/intel/i40e/i40e_type.h:659:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] 659 | static bool inline i40e_is_fw_ver_eq(struct i40e_hw *hw, u16 maj, u16 min) | ^~~~~~ -- In file included from drivers/net/ethernet/intel/i40e/i40e_dcb.h:7, from drivers/net/ethernet/intel/i40e/i40e.h:15, from drivers/net/ethernet/intel/i40e/i40e_ptp.c:6: >> drivers/net/ethernet/intel/i40e/i40e_type.h:632:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] 632 | static bool inline i40e_is_fw_ver_ge(struct i40e_hw *hw, u16 maj, u16 min) | ^~~~~~ drivers/net/ethernet/intel/i40e/i40e_type.h:646:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] 646 | static bool inline i40e_is_fw_ver_lt(struct i40e_hw *hw, u16 maj, u16 min) | ^~~~~~ drivers/net/ethernet/intel/i40e/i40e_type.h:659:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] 659 | static bool inline i40e_is_fw_ver_eq(struct i40e_hw *hw, u16 maj, u16 min) | ^~~~~~ drivers/net/ethernet/intel/i40e/i40e_ptp.c: In function 'i40e_ptp_init': drivers/net/ethernet/intel/i40e/i40e_ptp.c:1353:27: warning: '%s' directive output may be truncated writing up to 287 bytes into a region of size 64 [-Wformat-truncation=] 1353 | "%s", sdp_desc[i].name); | ^~ In function 'i40e_init_pin_config', inlined from 'i40e_ptp_create_clock' at drivers/net/ethernet/intel/i40e/i40e_ptp.c:1392:13, inlined from 'i40e_ptp_init' at drivers/net/ethernet/intel/i40e/i40e_ptp.c:1497:8: drivers/net/ethernet/intel/i40e/i40e_ptp.c:1351:17: note: 'snprintf' output between 1 and 288 bytes into a destination of size 64 1351 | snprintf(pf->ptp_caps.pin_config[i].name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1352 | sizeof(pf->ptp_caps.pin_config[i].name), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1353 | "%s", sdp_desc[i].name); | ~~~~~~~~~~~~~~~~~~~~~~~ vim +/inline +632 drivers/net/ethernet/intel/i40e/i40e_type.h 623 624 /** 625 * i40e_is_fw_ver_ge 626 * @hw: pointer to i40e_hw structure 627 * @maj: API major value to compare 628 * @min: API minor value to compare 629 * 630 * Assert whether current firmware version is greater/equal than provided. 631 **/ > 632 static bool inline i40e_is_fw_ver_ge(struct i40e_hw *hw, u16 maj, u16 min) 633 { 634 return (hw->aq.fw_maj_ver > maj || 635 (hw->aq.fw_maj_ver == maj && hw->aq.fw_min_ver >= min)); 636 } 637 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki