Some 'extern struct seq_operations' are wrongly defined in fs/proc/proc_misc.c (they miss a const qualifier) In order to fix this correctly, move the "extern ... " declaration from .c file to an appropriate include file, as advised by checkpatch.pl Note : "extern struct seq_operations cpuinfo_op;" will be taken into account in a separate patch, since its const status is arch dependant. Signed-off-by: Eric Dumazet fs/proc/proc_misc.c | 9 --------- include/linux/seq_file.h | 11 +++++++++++ 2 files changed, 11 insertions(+), 9 deletions(-)