[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <47683ADE.3080107@cosmosbay.com>
Date: Tue, 18 Dec 2007 22:25:50 +0100
From: Eric Dumazet <dada1@...mosbay.com>
To: Andrew Morton <akpm@...ux-foundation.org>
CC: Linux kernel <linux-kernel@...r.kernel.org>
Subject: [PATCH] procfs : Move some extern declaration from fs/proc/proc_misc.c
to include/linux/seq_file.h
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 <dada1@...mosbay.com>
fs/proc/proc_misc.c | 9 ---------
include/linux/seq_file.h | 11 +++++++++++
2 files changed, 11 insertions(+), 9 deletions(-)
View attachment "seq.patch" of type "text/plain" (3361 bytes)
Powered by blists - more mailing lists