_hid_files structure as const, we ensure
that it cannot be accidentally modified. This change improves safety.
Suggested-by: Thomas Weißschuh
Suggested-by: Ricardo B. Marliere
Reviewed-by: Ricardo B. Marliere
Signed-off-by: Luis Felipe Hernandez
---
Changes in v2:
* Remove redundant commit
Will do, thank you for the review Ricardo!
Best,
Felipe
_hid_files structure as const, we ensure
that it cannot be accidentally modified at runtime. This change improves
safety and aligns with the recommendation from commit 7abc9b53bd51
("sysctl: allow registration of const struct ctl_table").
Signed-off-by: Luis Felipe Hernandez
---
Suggested-