* net/sched/act_meta_skbprio.c:43:25: sparse: sparse: cast to restricted __be32
@ 2023-12-14 4:59 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-12-14 4:59 UTC (permalink / raw)
To: Jamal Hadi Salim; +Cc: oe-kbuild-all, linux-kernel
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 <lkp@intel.com>
| 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-12-14 5:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-14 4:59 net/sched/act_meta_skbprio.c:43:25: sparse: sparse: cast to restricted __be32 kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®