Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp863420rdg; Wed, 11 Oct 2023 07:36:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGqX6TrjeonlZLBJ2aA3ondfPuxzng1zrLpUrs99OIGngQhhWwu5w0DRRXI7XF0F/SHAFMN X-Received: by 2002:a05:6a20:a11a:b0:15e:108c:35b0 with SMTP id q26-20020a056a20a11a00b0015e108c35b0mr23407830pzk.4.1697034976822; Wed, 11 Oct 2023 07:36:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697034976; cv=none; d=google.com; s=arc-20160816; b=IzKhk4T4yl7OZWEMuxTHEr3Gdrk9DyPtawQim5PP0YQiMZZoQj7XHc3X1PgEktaafW HdVb4LBIrAmHSMTHFtkTbZBbYHRcAaQehNcJjN6cdVfjhIHj2GCIkMxcbXsjKbSjrarQ AD+d6HssesAohatzk8f4JW0D4royjBVPNbGvNw8qVx+JBO+r1TG6kL0Cksd7f2ogDknx DASonfMDP/0BkCUJ31iTbFDf+7jMAiAm1yUFh3QvBVhhFgXQRnlU6DI+kXP8rhg4Nqdm cIDA0QaWb8z2eprjFX398TPUhEy2mZSTN0yuJodtyKG+hqzYDbSeHpS8QYh1SOUlPXnL UduQ== 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=tBYcYtrOkaBrsJLH4L2sc8gri2mG7aNpmBwA0Qo/tuQ=; fh=dFoRpk5NNG2edhpAsUzv4sdv2dkREBL66cjYKe6y9co=; b=jl6ZEd2lddwD07+2Cx6j9QXp3pfFqPBOH02PJ+ZAjSKlVk4MWZzC+MiuNGKkdiucUF kteCsqktK6jK8Ppn8k3nH8EVjhgwVjPPNTdhIKRE1wSphKFAhwR84ZIM5kTomfj23zIf Ul+wWQW22zNR4axkohTW8UPt4uQsGYA0qVGTuIr0VduXFjbUlCi03XfXkAxxuZKTLgP0 Sq/2mtgeQmy2uFEaHR77d7LdOrjhmk26yI5RW2+494xUBcv/pXPVBXyqQ+ISjkFS8Dox 3RmnmQPs0Klq9f98wEw8ti2n/O+cu8L8UB7BZf1fc4xm1ftgVTPZGvYx71txImZTy3Ym D7SA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=FqqUeYLo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id w6-20020a654106000000b005859e0286a0si13963663pgp.241.2023.10.11.07.36.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 07:36:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=FqqUeYLo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id D8563810AF42; Wed, 11 Oct 2023 07:36:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232260AbjJKOgG (ORCPT + 99 others); Wed, 11 Oct 2023 10:36:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229492AbjJKOgF (ORCPT ); Wed, 11 Oct 2023 10:36:05 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA6579D; Wed, 11 Oct 2023 07:36:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697034963; x=1728570963; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=iMysvAu4HmtiroPGPpdiHPdQSFqPeu7h59Zw9qgde50=; b=FqqUeYLoPVYlq3kHHSRA9rZIxGP5TcHBw58t61HD8izTUMgeycfi0wCE waQXrOXCrzziXnpqGgtN7O06nGgpebgCSEA8bfkOdj9xiUuJ/ueCHMa3c MEO8+OhPy+lnp2cFXyQDOaXvLn6VPzqDWvL5e8a7GhwrtitZm5t+4pR9x +u0NyoS/REvbPUdi6jSmg9SdJQ3MCiSs5HQbEFnfZzcx6sbcJ1odAZYpu xkXtw6hmykOY6ExA98e8PIHNrjuBAqRg2yfwQ+AUcooxHHU7Kx6XVrTuD jZKc7VHAWwM/1pGFfe29jl4Ym4tKf0jFYsIH2m5pie6R3xdnqiyLKB6uH A==; X-IronPort-AV: E=McAfee;i="6600,9927,10860"; a="383543388" X-IronPort-AV: E=Sophos;i="6.03,216,1694761200"; d="scan'208";a="383543388" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Oct 2023 07:36:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10860"; a="757586628" X-IronPort-AV: E=Sophos;i="6.03,216,1694761200"; d="scan'208";a="757586628" Received: from lkp-server02.sh.intel.com (HELO f64821696465) ([10.239.97.151]) by fmsmga007.fm.intel.com with ESMTP; 11 Oct 2023 07:35:52 -0700 Received: from kbuild by f64821696465 with local (Exim 4.96) (envelope-from ) id 1qqaJQ-0002K3-21; Wed, 11 Oct 2023 14:35:48 +0000 Date: Wed, 11 Oct 2023 22:35:23 +0800 From: kernel test robot To: Oleksij Rempel , Woojung Huh , UNGLinuxDriver@microchip.com, Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Heiner Kallweit Cc: oe-kbuild-all@lists.linux.dev, netdev@vger.kernel.org, Oleksij Rempel , kernel@pengutronix.de, linux-kernel@vger.kernel.org, Russell King Subject: Re: [PATCH net-next v1 2/3] net: dsa: microchip: ksz8: Enable MIIM PHY Control reg access Message-ID: <202310112224.iYgvjBUy-lkp@intel.com> References: <20231011123856.1443308-2-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231011123856.1443308-2-o.rempel@pengutronix.de> X-Spam-Status: No, score=2.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Wed, 11 Oct 2023 07:36:14 -0700 (PDT) X-Spam-Level: ** Hi Oleksij, kernel test robot noticed the following build warnings: [auto build test WARNING on net-next/main] url: https://github.com/intel-lab-lkp/linux/commits/Oleksij-Rempel/net-dsa-microchip-ksz8-Enable-MIIM-PHY-Control-reg-access/20231011-204502 base: net-next/main patch link: https://lore.kernel.org/r/20231011123856.1443308-2-o.rempel%40pengutronix.de patch subject: [PATCH net-next v1 2/3] net: dsa: microchip: ksz8: Enable MIIM PHY Control reg access config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20231011/202310112224.iYgvjBUy-lkp@intel.com/config) compiler: m68k-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231011/202310112224.iYgvjBUy-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/202310112224.iYgvjBUy-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/net/dsa/microchip/ksz8795.c:646: warning: Function parameter or member 'val' not described in 'ksz8_r_phy_ctrl' vim +646 drivers/net/dsa/microchip/ksz8795.c 634 635 /** 636 * ksz8_r_phy_ctrl - Translates and reads from the SMI interface to a MIIM PHY 637 * Control register (Reg. 31). 638 * @dev: The KSZ device instance. 639 * @port: The port number to be read. 640 * 641 * This function reads the SMI interface and translates the hardware register 642 * bit values into their corresponding control settings for a MIIM PHY Control 643 * register. 644 */ 645 static int ksz8_r_phy_ctrl(struct ksz_device *dev, int port, u16 *val) > 646 { 647 const u16 *regs = dev->info->regs; 648 u8 reg_val; 649 int ret; 650 651 *val = 0; 652 653 ret = ksz_pread8(dev, port, regs[P_LINK_STATUS], ®_val); 654 if (ret < 0) 655 return ret; 656 657 if (reg_val & PORT_MDIX_STATUS) 658 *val |= KSZ886X_CTRL_MDIX_STAT; 659 660 ret = ksz_pread8(dev, port, REG_PORT_LINK_MD_CTRL, ®_val); 661 if (ret < 0) 662 return ret; 663 664 if (reg_val & PORT_FORCE_LINK) 665 *val |= KSZ886X_CTRL_FORCE_LINK; 666 667 if (reg_val & PORT_POWER_SAVING) 668 *val |= KSZ886X_CTRL_PWRSAVE; 669 670 if (reg_val & PORT_PHY_REMOTE_LOOPBACK) 671 *val |= KSZ886X_CTRL_REMOTE_LOOPBACK; 672 673 return 0; 674 } 675 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki