Repository navigation
Commit 9dd979b
kcsan: Silence -Wmissing-prototypes warning with W=1
The functions here should not be forward declared for explicit use
elsewhere in the kernel, as they should only be emitted by the compiler
due to sanitizer instrumentation. Add forward declarations a line above
their definition to shut up warnings in W=1 builds.
Link: https://lkml.kernel.org/r/202006060103.jSCpnV1g%lkp@intel.com
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>1 parent 2888557 commit 9dd979b
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
754 | 754 | | |
755 | 755 | | |
756 | 756 | | |
| 757 | + | |
757 | 758 | | |
758 | 759 | | |
759 | 760 | | |
| |||
762 | 763 | | |
763 | 764 | | |
764 | 765 | | |
| 766 | + | |
765 | 767 | | |
766 | 768 | | |
767 | 769 | | |
| |||
777 | 779 | | |
778 | 780 | | |
779 | 781 | | |
| 782 | + | |
780 | 783 | | |
781 | 784 | | |
782 | 785 | | |
783 | 786 | | |
784 | 787 | | |
785 | 788 | | |
| 789 | + | |
786 | 790 | | |
787 | 791 | | |
788 | 792 | | |
| |||
799 | 803 | | |
800 | 804 | | |
801 | 805 | | |
| 806 | + | |
802 | 807 | | |
803 | 808 | | |
804 | 809 | | |
| |||
811 | 816 | | |
812 | 817 | | |
813 | 818 | | |
| 819 | + | |
814 | 820 | | |
815 | 821 | | |
816 | 822 | | |
| |||
836 | 842 | | |
837 | 843 | | |
838 | 844 | | |
| 845 | + | |
839 | 846 | | |
840 | 847 | | |
841 | 848 | | |
842 | 849 | | |
| 850 | + | |
843 | 851 | | |
844 | 852 | | |
845 | 853 | | |
846 | 854 | | |
| 855 | + | |
847 | 856 | | |
848 | 857 | | |
849 | 858 | | |
| |||
0 commit comments