When I searched the identifier pfifo_fast_ops in the newest kernel v5.12-rc5, I found the result confused the definition and the declaration of the identifier. The result showed pfifo_fast_ops is defined at include/net/sch_generic.h, line 574 (as a externvar). However, it's a declaration of a extern variable instead of a definition, which is like the following:
extern struct Qdisc_ops pfifo_fast_ops;
The definition of pfifo_fast_ops actually locates in net/sched/sch_generic.c, line 782 and is showed in the Referenced part in the result.The definition is:
When I searched the identifier
pfifo_fast_ops
in the newest kernel v5.12-rc5, I found the result confused the definition and the declaration of the identifier. The result showedpfifo_fast_ops
is defined at include/net/sch_generic.h, line 574 (as a externvar). However, it's a declaration of a extern variable instead of a definition, which is like the following:The definition of
pfifo_fast_ops
actually locates in net/sched/sch_generic.c, line 782 and is showed in the Referenced part in the result.The definition is:I don't know whether it's a mistake, plz check it :)