From: Andrew Morton kernel/cpuset.c: In function 'cpuset_task_status_allowed': kernel/cpuset.c:2232: error: 'buffer' undeclared (first use in this function) kernel/cpuset.c:2232: error: (Each undeclared identifier is reported only once kernel/cpuset.c:2232: error: for each function it appears in.) Cc: Andrew Morgan Cc: Eric W. Biederman Signed-off-by: Andrew Morton --- kernel/cpuset.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -puN kernel/cpuset.c~proc-seqfile-convert-proc_pid_status-to-properly-handle-pid-namespaces-fix kernel/cpuset.c --- a/kernel/cpuset.c~proc-seqfile-convert-proc_pid_status-to-properly-handle-pid-namespaces-fix +++ a/kernel/cpuset.c @@ -2304,7 +2304,6 @@ const struct file_operations proc_cpuset /* Display task cpus_allowed, mems_allowed in /proc//status file. */ void cpuset_task_status_allowed(struct seq_file *m, struct task_struct *task) { - int len; seq_printf(m, "Cpus_allowed:\t"); m->count += cpumask_scnprintf(m->buf + m->count, m->size - m->count, task->cpus_allowed); @@ -2312,5 +2311,5 @@ void cpuset_task_status_allowed(struct s seq_printf(m, "Mems_allowed:\t"); m->count += nodemask_scnprintf(m->buf + m->count, m->size - m->count, task->mems_allowed); - seq_printf(buffer, "\n"); + seq_printf(m, "\n"); } _