]> www.infradead.org Git - users/dwmw2/linux.git/commit
net/sched: Add module alias for sch_fq_pie
authorMichal Koutný <mkoutny@suse.com>
Fri, 15 Mar 2024 16:02:10 +0000 (17:02 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 19 Mar 2024 14:33:25 +0000 (15:33 +0100)
commit9474c62ab65f30f0e56802a52bddf69a9e62b127
tree8bdc45c3a48d2987768f350671da0598cf49188b
parentc9b3b81716c5b92132a6c1d4ac3c48a7b44082ab
net/sched: Add module alias for sch_fq_pie

The commit 2c15a5aee2f3 ("net/sched: Load modules via their alias")
starts loading modules via aliases and not canonical names. The new
aliases were added in commit 241a94abcf46 ("net/sched: Add module
aliases for cls_,sch_,act_ modules") via a Coccinele script.

sch_fq_pie.c is missing module.h header and thus Coccinele did not patch
it. Add the include and module alias manually, so that autoloading works
for sch_fq_pie too.

(Note: commit message in commit 241a94abcf46 ("net/sched: Add module
aliases for cls_,sch_,act_ modules") was mangled due to '#'
misinterpretation. The predicate haskernel is:

| @ haskernel @
| @@
|
| #include <linux/module.h>
|
.)

Fixes: 241a94abcf46 ("net/sched: Add module aliases for cls_,sch_,act_ modules")
Signed-off-by: Michal Koutný <mkoutny@suse.com>
Link: https://lore.kernel.org/r/20240315160210.8379-1-mkoutny@suse.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/sched/sch_fq_pie.c