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 A8204C433F5 for ; Sat, 8 Jan 2022 06:09:19 +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=+PN7oVkis66LqWPCrbIzCr7UIxdRlEV9+uf6D0uogb0=; b=LIX1oDSU8NRuY+ mzopBQJuhHvqHFmOPWUWu1dv1pgOvEBDA6E1/yjzWFNoD7ms2/8N2cIfvXHPyJQW4wXs24w/SviQd Hgy46se6/8LBxvL0KEy81TsiTnWQeSNC8lq6r78q3n6Qd6O+oU1ewRBqncpu40hDuqZgxqZFNQzQd knz+t70zaU7bg7HvNVyvlQu/5DFivk133CctXje30qeaYLxY+4MXl4jF/9IUSvBmEWFo3IE9zfliJ +QNGQwASUU4Rmax/UgKl0f7fJHmn8XPMkVdLaKOH3BOIIxmYxFQGG7Jy8x02MQkTec4ARxVwPq8mR yAiNFTDZvZdxFzbeDBZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n64tK-0061Wv-Qn; Sat, 08 Jan 2022 06:07:50 +0000 Received: from mga02.intel.com ([134.134.136.20]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n64tG-0061VT-Qj for linux-arm-kernel@lists.infradead.org; Sat, 08 Jan 2022 06:07:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1641622066; x=1673158066; h=date:from:to:cc:subject:message-id:mime-version; bh=96F1Ni6gH9VSQA5OFzHhmekUcFJbbNPpXUfRntSDwVg=; b=NSXt10E6FupoMCxc+8bSV+0j7ucezBXI/Q4bEWhSZxLlS8Q1U1dMTk9I OkPwbiWkfxM9s21bUv3fA6piTg6xpEFyXwuXHf4rqcTzM4AkpNJrnGlsC fmQyrjh/Dzf1ss4vTT8elfYsE8wWqcpzI9MUla6nsTF8VEJUzW+TmFWuY qSPodxy0nuPCpZnubpLwjdSR5QXA1Bj9rVK8Vs5Vz6HRjegBBi1SCkS4J 0bipcpjgb44+m6jd01r9WsXfqer5iCQpQKdRpepzesSfSi9If8bDPaq5T 1R8Yc6tJ4CW3BtAYWDZfZBH/E+TrtQ1jEmo+mX8hT1UepP66x9kp3dFIF g==; X-IronPort-AV: E=McAfee;i="6200,9189,10220"; a="230329253" X-IronPort-AV: E=Sophos;i="5.88,272,1635231600"; d="scan'208";a="230329253" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jan 2022 22:07:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,272,1635231600"; d="scan'208";a="471533961" Received: from lkp-server01.sh.intel.com (HELO 276f1b88eecb) ([10.239.97.150]) by orsmga003.jf.intel.com with ESMTP; 07 Jan 2022 22:07:39 -0800 Received: from kbuild by 276f1b88eecb with local (Exim 4.92) (envelope-from ) id 1n64t8-0000Jk-Mo; Sat, 08 Jan 2022 06:07:38 +0000 Date: Sat, 8 Jan 2022 14:07:17 +0800 From: kernel test robot To: "Russell King (Oracle)" Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org Subject: [arm:net-queue 171/174] drivers/net/dsa/mt7530.c:3005:18: error: incompatible function pointer types initializing 'int (*)(struct phylink_pcs *, unsigned int, unsigned long *, const struct phylink_link_state *)' with an expression of type 'void (struct phylink_pcs *, unsigned lo... Message-ID: <202201081440.qAwUArEv-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_220746_936958_636D8D83 X-CRM114-Status: GOOD ( 13.50 ) 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 net-queue head: 9ceab2608ffe3f543e1118044bc86bc6ccb93255 commit: a5d401c6c8d1f84dcfa1a267166ad8ce85cda26f [171/174] net: phylink: pass mode into pcs_validate() config: i386-randconfig-a005-20220106 (https://download.01.org/0day-ci/archive/20220108/202201081440.qAwUArEv-lkp@intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project ca7ffe09dc6e525109e3cd570cc5182ce568be13) 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 net-queue git checkout a5d401c6c8d1f84dcfa1a267166ad8ce85cda26f # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 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:3005:18: error: incompatible function pointer types initializing 'int (*)(struct phylink_pcs *, unsigned int, unsigned long *, const struct phylink_link_state *)' with an expression of type 'void (struct phylink_pcs *, unsigned long *, const struct phylink_link_state *)' [-Werror,-Wincompatible-function-pointer-types] .pcs_validate = mt753x_pcs_validate, ^~~~~~~~~~~~~~~~~~~ drivers/net/dsa/mt7530.c:3012:18: error: incompatible function pointer types initializing 'int (*)(struct phylink_pcs *, unsigned int, unsigned long *, const struct phylink_link_state *)' with an expression of type 'void (struct phylink_pcs *, unsigned long *, const struct phylink_link_state *)' [-Werror,-Wincompatible-function-pointer-types] .pcs_validate = mt753x_pcs_validate, ^~~~~~~~~~~~~~~~~~~ drivers/net/dsa/mt7530.c:3039:32: error: no member named 'pcs_ops' in 'struct mt7530_priv' priv->pcs[i].pcs.ops = priv->pcs_ops; ~~~~ ^ 3 errors generated. vim +3005 drivers/net/dsa/mt7530.c c288575f7810a5 Landen Chao 2020-09-11 3003 0ecdf3ab2ae1d3 Russell King (Oracle 2021-11-21 3004) static const struct phylink_pcs_ops mt7530_pcs_ops = { 0ecdf3ab2ae1d3 Russell King (Oracle 2021-11-21 @3005) .pcs_validate = mt753x_pcs_validate, 0ecdf3ab2ae1d3 Russell King (Oracle 2021-11-21 3006) .pcs_get_state = mt7530_pcs_get_state, 0ecdf3ab2ae1d3 Russell King (Oracle 2021-11-21 3007) .pcs_config = mt753x_pcs_config, 0ecdf3ab2ae1d3 Russell King (Oracle 2021-11-21 3008) .pcs_an_restart = mt7530_pcs_an_restart, 0ecdf3ab2ae1d3 Russell King (Oracle 2021-11-21 3009) }; 88bdef8be9f649 Landen Chao 2020-09-11 3010 :::::: The code at line 3005 was first introduced by commit :::::: 0ecdf3ab2ae1d35480614337758d8db5060885cf net: dsa: mt7530: partially convert to phylink_pcs *EXPERIMENTAL* :::::: TO: Russell King (Oracle) :::::: CC: Russell King (Oracle) --- 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