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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 26B21C43334 for ; Wed, 6 Jul 2022 08:41:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232502AbiGFIlo (ORCPT ); Wed, 6 Jul 2022 04:41:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232381AbiGFIlm (ORCPT ); Wed, 6 Jul 2022 04:41:42 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50C1F24BE2 for ; Wed, 6 Jul 2022 01:41:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1657096901; x=1688632901; h=date:from:to:cc:subject:message-id:mime-version; bh=7udfgNra6mujz5rBRUlQoR8QCZrJarCTZMIThcKPVRQ=; b=mwyN1qg7Vm4a8jr6TQiS15LRPTM3kiG4bQ8e+NHq8Iws9bXLuaTdRvoV xlVcYQJ2uKU+ZFYnEE+IBXdoqluBwX6jn8JAGDdF+BPR4D1lmToLa191h KG4OcD7ZzskmpPd3MXRqgZozQ4CKt/B0l3dCEqkHKU0PYfSIoFClGUmNZ 2BX1j3jDK/26Qw1UcULMMxmeqLkkG+vq4yTK5hWHj7LQWmi8Y3p/l9DBA 8+RDspFNgd6In9SVQ5Rdt9KKp4C2SMaRH8Xrqs037fgIswa1l2AdtnyG/ abuTKxMMXS34V1JT/0XCN5UF0n6GABgMn2H8a1wCkvBEE8FjkmXbQPCHZ Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10399"; a="282436478" X-IronPort-AV: E=Sophos;i="5.92,249,1650956400"; d="scan'208";a="282436478" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jul 2022 01:41:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,249,1650956400"; d="scan'208";a="735486426" Received: from lkp-server01.sh.intel.com (HELO 68b931ab7ac1) ([10.239.97.150]) by fmsmga001.fm.intel.com with ESMTP; 06 Jul 2022 01:41:34 -0700 Received: from kbuild by 68b931ab7ac1 with local (Exim 4.95) (envelope-from ) id 1o90bF-000KHV-SS; Wed, 06 Jul 2022 08:41:33 +0000 Date: Wed, 6 Jul 2022 16:41:16 +0800 From: kernel test robot To: Moshe Tal Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Saeed Mahameed , Tariq Toukan Subject: [saeed:net-next 1/52] drivers/net/ethernet/mellanox/mlx5/core/en_main.c:3404:12: warning: stack frame size (1104) exceeds limit (1024) in 'mlx5e_setup_tc_mqprio' Message-ID: <202207061612.xOfK0eiz-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tree: https://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git net-next head: f42c9d1eb0a1e2c7f986e0c2f6b362fddd0cdae7 commit: b229566876d91a99322a682e98beaa68dc38f9c9 [1/52] net/mlx5e: Fix mqprio_rl handling on devlink reload config: powerpc-powernv_defconfig (https://download.01.org/0day-ci/archive/20220706/202207061612.xOfK0eiz-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project f553287b588916de09c66e3e32bf75e5060f967f) 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 # install powerpc cross compiling tool for clang build # apt-get install binutils-powerpc-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git/commit/?id=b229566876d91a99322a682e98beaa68dc38f9c9 git remote add saeed https://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git git fetch --no-tags saeed net-next git checkout b229566876d91a99322a682e98beaa68dc38f9c9 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash drivers/net/ethernet/mellanox/mlx5/core/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/net/ethernet/mellanox/mlx5/core/en_main.c:3404:12: warning: stack frame size (1104) exceeds limit (1024) in 'mlx5e_setup_tc_mqprio' [-Wframe-larger-than] static int mlx5e_setup_tc_mqprio(struct mlx5e_priv *priv, ^ 1 warning generated. vim +/mlx5e_setup_tc_mqprio +3404 drivers/net/ethernet/mellanox/mlx5/core/en_main.c b229566876d91a Moshe Tal 2022-05-04 3403 e2aeac448f06ac Tariq Toukan 2021-07-06 @3404 static int mlx5e_setup_tc_mqprio(struct mlx5e_priv *priv, e2aeac448f06ac Tariq Toukan 2021-07-06 3405 struct tc_mqprio_qopt_offload *mqprio) e2aeac448f06ac Tariq Toukan 2021-07-06 3406 { e2aeac448f06ac Tariq Toukan 2021-07-06 3407 /* MQPRIO is another toplevel qdisc that can't be attached e2aeac448f06ac Tariq Toukan 2021-07-06 3408 * simultaneously with the offloaded HTB. e2aeac448f06ac Tariq Toukan 2021-07-06 3409 */ e2aeac448f06ac Tariq Toukan 2021-07-06 3410 if (WARN_ON(priv->htb.maj_id)) e2aeac448f06ac Tariq Toukan 2021-07-06 3411 return -EINVAL; e2aeac448f06ac Tariq Toukan 2021-07-06 3412 e2aeac448f06ac Tariq Toukan 2021-07-06 3413 switch (mqprio->mode) { e2aeac448f06ac Tariq Toukan 2021-07-06 3414 case TC_MQPRIO_MODE_DCB: e2aeac448f06ac Tariq Toukan 2021-07-06 3415 return mlx5e_setup_tc_mqprio_dcb(priv, &mqprio->qopt); ec60c4581bd952 Tariq Toukan 2021-08-11 3416 case TC_MQPRIO_MODE_CHANNEL: ec60c4581bd952 Tariq Toukan 2021-08-11 3417 return mlx5e_setup_tc_mqprio_channel(priv, mqprio); e2aeac448f06ac Tariq Toukan 2021-07-06 3418 default: e2aeac448f06ac Tariq Toukan 2021-07-06 3419 return -EOPNOTSUPP; e2aeac448f06ac Tariq Toukan 2021-07-06 3420 } e2aeac448f06ac Tariq Toukan 2021-07-06 3421 } e2aeac448f06ac Tariq Toukan 2021-07-06 3422 :::::: The code at line 3404 was first introduced by commit :::::: e2aeac448f06ac6c6bee41a7ebecf814f7a57eef net/mlx5e: Maintain MQPRIO mode parameter :::::: TO: Tariq Toukan :::::: CC: Saeed Mahameed -- 0-DAY CI Kernel Test Service https://01.org/lkp