Skip to content

Commit

Permalink
net: sched: Fill in missing MODULE_DESCRIPTION for classifiers
Browse files Browse the repository at this point in the history
W=1 builds now warn if module is built without a MODULE_DESCRIPTION().

Fill in missing MODULE_DESCRIPTIONs for TC classifiers.

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-3-victor@mojatatu.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
Victor Nogueira authored and Jakub Kicinski committed Nov 2, 2023
1 parent 49b02a1 commit a9c9277
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions net/sched/cls_basic.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,4 +341,5 @@ static void __exit exit_basic(void)

module_init(init_basic)
module_exit(exit_basic)
MODULE_DESCRIPTION("TC basic classifier");
MODULE_LICENSE("GPL");
1 change: 1 addition & 0 deletions net/sched/cls_cgroup.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,4 +222,5 @@ static void __exit exit_cgroup_cls(void)

module_init(init_cgroup_cls);
module_exit(exit_cgroup_cls);
MODULE_DESCRIPTION("TC cgroup classifier");
MODULE_LICENSE("GPL");
1 change: 1 addition & 0 deletions net/sched/cls_fw.c
Original file line number Diff line number Diff line change
Expand Up @@ -446,4 +446,5 @@ static void __exit exit_fw(void)

module_init(init_fw)
module_exit(exit_fw)
MODULE_DESCRIPTION("SKB mark based TC classifier");
MODULE_LICENSE("GPL");
1 change: 1 addition & 0 deletions net/sched/cls_route.c
Original file line number Diff line number Diff line change
Expand Up @@ -684,4 +684,5 @@ static void __exit exit_route4(void)

module_init(init_route4)
module_exit(exit_route4)
MODULE_DESCRIPTION("Routing table realm based TC classifier");
MODULE_LICENSE("GPL");
1 change: 1 addition & 0 deletions net/sched/cls_u32.c
Original file line number Diff line number Diff line change
Expand Up @@ -1489,4 +1489,5 @@ static void __exit exit_u32(void)

module_init(init_u32)
module_exit(exit_u32)
MODULE_DESCRIPTION("Universal 32bit based TC Classifier");
MODULE_LICENSE("GPL");

0 comments on commit a9c9277

Please sign in to comment.