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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 74C7FC433F5 for ; Fri, 7 Jan 2022 18:42:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=7gmvRJ2O/DuWzhlaQtf+41p28WM+owIiznfDyFxBy5Y=; b=GCj+SJKS5lsYqG bepV8vXpqfXRMZgZMamN5IuiJe2ECVCQwp0UaV4Vdy+vB3TIas1vlknA4a67EPUcPmzct3FbIJdUH WlgA6hgMvL5JADQhq39JLHll09R3rGIACygrfX/mPFHuhZQzpVDIebvx79uvkT54iYF4I29DgkKyw 9ZNGVc4pzCHxMSRuNN8UnWiB01Gd0rOpZrOuXlWmT1lV/r84VQyZ5/bclHM05ZX+4v5IPq8tb4SHS ME686k2n1ZTaRBu1uNvn27wUZF6Ipcpupxc/ZauDSg9SBRsyIrQ9KZN3tskkM5cWHpI23O0TitfcK LJ5Zsb+8lQgGFsxu2Ytg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n5u8e-004v5Q-CJ; Fri, 07 Jan 2022 18:38:56 +0000 Received: from mga18.intel.com ([134.134.136.126]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n5u8a-004v4b-KN for linux-arm-kernel@lists.infradead.org; Fri, 07 Jan 2022 18:38:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1641580732; x=1673116732; h=date:from:to:cc:subject:message-id:mime-version; bh=k6/1OqGTu6xpjPAfv2jkGIJmuU3Osx5c0vfEXXq/qtk=; b=W7ZrLdN+CZ1eq5mL+Q5oZQqUOFty8OcW41UllfXgalMmCMee6645LyuG Vl96cueAhKQPLBJeWkH5R2UPOVooMiIRyBYaZ8fjawfU1iMjsp75ulw/x tERLkj2N9Bd0QPC/1k0rwJqCBkN533rP900MyJJNaBNkwEYTvtULs/ZRu gxz5AcDnPBBIQynOQLy2LYodSr3bdac3Pjk86YEXnpe2QHT+5XG+mjCfn S/BOWDlDUjxATrWmsUIq3uqZM+c2yczPAAJrtA2xH40lNCDUR0wSfuLau V2/4l2Rc6y+NSc2dCxSQDxhen4MLkIhx9D7mJt+qONqZ/8nfjBjEflxdz A==; X-IronPort-AV: E=McAfee;i="6200,9189,10219"; a="229724544" X-IronPort-AV: E=Sophos;i="5.88,270,1635231600"; d="scan'208";a="229724544" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jan 2022 10:37:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,270,1635231600"; d="scan'208";a="575189297" Received: from lkp-server01.sh.intel.com (HELO e357b3ef1427) ([10.239.97.150]) by fmsmga008.fm.intel.com with ESMTP; 07 Jan 2022 10:37:07 -0800 Received: from kbuild by e357b3ef1427 with local (Exim 4.92) (envelope-from ) id 1n5u6t-000Ivz-1C; Fri, 07 Jan 2022 18:37:07 +0000 Date: Sat, 8 Jan 2022 02:36:58 +0800 From: kernel test robot To: "Russell King (Oracle)" Cc: kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org Subject: [arm:cex7 128/187] drivers/net/dsa/mt7530.c:3060:44: error: 'struct mt7530_priv' has no member named 'pcs_ops' Message-ID: <202201080235.iGcVDS38-lkp@intel.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220107_103852_773330_E2B4BF1A X-CRM114-Status: GOOD ( 13.83 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org tree: git://git.armlinux.org.uk/~rmk/linux-arm.git cex7 head: c0fd07781c7d7d3a273892450c656e1eede8d221 commit: 53b8fb9411f006389a222c44fc1c08295ddfae2b [128/187] net: dsa: mt7530: partially convert to phylink_pcs *EXPERIMENTAL* config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20220108/202201080235.iGcVDS38-lkp@intel.com/config) compiler: arceb-elf-gcc (GCC) 11.2.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git remote add arm git://git.armlinux.org.uk/~rmk/linux-arm.git git fetch --no-tags arm cex7 git checkout 53b8fb9411f006389a222c44fc1c08295ddfae2b # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): drivers/net/dsa/mt7530.c:3026:25: error: initialization of 'int (*)(struct phylink_pcs *, long unsigned int *, const struct phylink_link_state *)' from incompatible pointer type 'void (*)(struct phylink_pcs *, long unsigned int *, const struct phylink_link_state *)' [-Werror=incompatible-pointer-types] 3026 | .pcs_validate = mt753x_pcs_validate, | ^~~~~~~~~~~~~~~~~~~ drivers/net/dsa/mt7530.c:3026:25: note: (near initialization for 'mt7530_pcs_ops.pcs_validate') drivers/net/dsa/mt7530.c:3033:25: error: initialization of 'int (*)(struct phylink_pcs *, long unsigned int *, const struct phylink_link_state *)' from incompatible pointer type 'void (*)(struct phylink_pcs *, long unsigned int *, const struct phylink_link_state *)' [-Werror=incompatible-pointer-types] 3033 | .pcs_validate = mt753x_pcs_validate, | ^~~~~~~~~~~~~~~~~~~ drivers/net/dsa/mt7530.c:3033:25: note: (near initialization for 'mt7531_pcs_ops.pcs_validate') drivers/net/dsa/mt7530.c: In function 'mt753x_setup': >> drivers/net/dsa/mt7530.c:3060:44: error: 'struct mt7530_priv' has no member named 'pcs_ops' 3060 | priv->pcs[i].pcs.ops = priv->pcs_ops; | ^~ cc1: some warnings being treated as errors vim +3060 drivers/net/dsa/mt7530.c 3039 3040 static int 3041 mt753x_setup(struct dsa_switch *ds) 3042 { 3043 struct mt7530_priv *priv = ds->priv; 3044 int ret = priv->info->sw_setup(ds); 3045 int i; 3046 3047 if (ret) 3048 return ret; 3049 3050 ret = mt7530_setup_irq(priv); 3051 if (ret) 3052 return ret; 3053 3054 ret = mt7530_setup_mdio(priv); 3055 if (ret && priv->irq) 3056 mt7530_free_irq_common(priv); 3057 3058 /* Initialise the PCS devices */ 3059 for (i = 0; i < priv->ds->num_ports; i++) { > 3060 priv->pcs[i].pcs.ops = priv->pcs_ops; 3061 priv->pcs[i].priv = priv; 3062 priv->pcs[i].port = i; 3063 } 3064 3065 return ret; 3066 } 3067 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel