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 20726C10F13 for ; Thu, 14 Dec 2023 05:15:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443127AbjLNE7r (ORCPT ); Wed, 13 Dec 2023 23:59:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230251AbjLNE7p (ORCPT ); Wed, 13 Dec 2023 23:59:45 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36890F7 for ; Wed, 13 Dec 2023 20:59:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702529992; x=1734065992; h=date:from:to:cc:subject:message-id:mime-version; bh=x+qW7HVFGmmJj9uVndQW8WWk6ltFQQWjy8x1mxH1S94=; b=Ecetvkhjfld1IJkDfg3g1ly49mDpGI+MIbdpL4o7jC6dbCHJjbOYSXlt y1vO1hauotY0tUJM2Q9CWkEtyf2XkQQzIL1RICX+1ZDQfknjAMPFHsxj7 PfezNAWAGuLcza9cqgZVCTi0qT5ZgA8u+1izSSkBRNo2hG48w4vOj8srl AYcX+ynkmJ8ZmZag0MyCm57Rp6UnD86bUZrem7qKzhtV3jhApruZVG3JA JWJuOVbRlekwgE3/by4A6IGOOH0f5Xz6D/7o7jldJai4u8QXMhVPdhoPr syW/n3mMF8GhrGw0BqqJmhQxwBRCZ+8SEMszHs7TMMDNCr5NaxOV1b0pz Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10923"; a="426200873" X-IronPort-AV: E=Sophos;i="6.04,274,1695711600"; d="scan'208";a="426200873" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2023 20:59:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.04,274,1695711600"; d="scan'208";a="15703074" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by orviesa002.jf.intel.com with ESMTP; 13 Dec 2023 20:59:49 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rDdp6-000LYv-0k; Thu, 14 Dec 2023 04:59:48 +0000 Date: Thu, 14 Dec 2023 12:59:14 +0800 From: kernel test robot To: Jamal Hadi Salim Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org Subject: net/sched/act_meta_skbprio.c:43:25: sparse: sparse: cast to restricted __be32 Message-ID: <202312141253.4bTcywD4-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/torvalds/linux.git master head: 5bd7ef53ffe5ca580e93e74eb8c81ed191ddc4bd commit: 200e10f46936d95a553414f249cefb765194b235 Support to encoding decoding skb prio on IFE action date: 8 years ago config: i386-randconfig-063-20230903 (https://download.01.org/0day-ci/archive/20231214/202312141253.4bTcywD4-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231214/202312141253.4bTcywD4-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/202312141253.4bTcywD4-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> net/sched/act_meta_skbprio.c:43:25: sparse: sparse: cast to restricted __be32 >> net/sched/act_meta_skbprio.c:43:25: sparse: sparse: cast to restricted __be32 >> net/sched/act_meta_skbprio.c:43:25: sparse: sparse: cast to restricted __be32 >> net/sched/act_meta_skbprio.c:43:25: sparse: sparse: cast to restricted __be32 >> net/sched/act_meta_skbprio.c:43:25: sparse: sparse: cast to restricted __be32 >> net/sched/act_meta_skbprio.c:43:25: sparse: sparse: cast to restricted __be32 In file included from include/linux/kernel.h:11, from net/sched/act_meta_skbprio.c:14: include/linux/log2.h:22:1: warning: ignoring attribute 'noreturn' because it conflicts with attribute 'const' [-Wattributes] 22 | int ____ilog2_NaN(void); | ^~~ vim +43 net/sched/act_meta_skbprio.c 38 39 static int skbprio_decode(struct sk_buff *skb, void *data, u16 len) 40 { 41 u32 ifeprio = *(u32 *)data; 42 > 43 skb->priority = ntohl(ifeprio); 44 return 0; 45 } 46 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki