Skip to content

Commit 49b02a1

Browse files
vbnogueirakuba-moo
authored andcommitted
net: sched: Fill in MODULE_DESCRIPTION for act_gate
W=1 builds now warn if module is built without a MODULE_DESCRIPTION(). Gate is the only TC action that is lacking such description. Fill MODULE_DESCRIPTION for Gate TC ACTION. Signed-off-by: Victor Nogueira <victor@mojatatu.com> Acked-by: Jamal Hadi Salim <jhs@mojatatu.com> Reviewed-by: Vinicius Costa Gomes <vinicius.gomes@intel.com> Link: https://lore.kernel.org/r/20231027155045.46291-2-victor@mojatatu.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent ff269e2 commit 49b02a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/sched/act_gate.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -677,4 +677,5 @@ static void __exit gate_cleanup_module(void)
677677

678678
module_init(gate_init_module);
679679
module_exit(gate_cleanup_module);
680+
MODULE_DESCRIPTION("TC gate action");
680681
MODULE_LICENSE("GPL v2");

0 commit comments

Comments
 (0)