All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: kernel-janitors@vger.kernel.org
Subject: [glommer-memcg:slab-common/slabinfo 20/21] mm/slab.c:4352:6: error: conflicting types for 'slabinfo_
Date: Thu, 27 Sep 2012 17:48:47 +0000	[thread overview]
Message-ID: <20120927174847.GB5517@localhost> (raw)

Hi Glauber,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/glommer/memcg.git slab-common/slabinfo
head:   0521160acc51bc8385807752e69dd38d976aef22
commit: 0521160acc51bc8385807752e69dd38d976aef22 [20/21] sl[au]b: process slabinfo_show in common code
config: blackfin-BF533-EZKIT_defconfig

All error/warnings:

In file included from mm/slab.c:90:0:
mm/slab.h:63:53: warning: 'struct seq_file' declared inside parameter list [enabled by default]
mm/slab.h:63:53: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
mm/slab.h:65:10: warning: 'struct file' declared inside parameter list [enabled by default]
mm/slab.c:4352:6: error: conflicting types for 'slabinfo_show_stats'
In file included from mm/slab.c:90:0:
mm/slab.h:63:6: note: previous declaration of 'slabinfo_show_stats' was here
mm/slab.c:4393:9: error: conflicting types for 'slabinfo_write'
In file included from mm/slab.c:90:0:
mm/slab.h:64:9: note: previous declaration of 'slabinfo_write' was here

vim +4352 mm/slab.c

0521160a (Glauber Costa  2012-09-26  4346) 	sinfo->shared_avail = shared_avail;
0521160a (Glauber Costa  2012-09-26  4347) 	sinfo->limit = cachep->limit;
0521160a (Glauber Costa  2012-09-26  4348) 	sinfo->batchcount = cachep->batchcount;
0521160a (Glauber Costa  2012-09-26  4349) 	sinfo->shared = cachep->shared;
0521160a (Glauber Costa  2012-09-26  4350) }
0521160a (Glauber Costa  2012-09-26  4351) 
0521160a (Glauber Costa  2012-09-26 @4352) void slabinfo_show_stats(struct seq_file *m, struct kmem_cache *cachep)
0521160a (Glauber Costa  2012-09-26  4353) {
^1da177e (Linus Torvalds 2005-04-16  4354) #if STATS
b28a02de (Pekka Enberg   2006-01-08  4355) 	{			/* list3 stats */

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu, Yuanhan Liu                              Intel Corporation

                 reply	other threads:[~2012-09-27 17:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120927174847.GB5517@localhost \
    --to=fengguang.wu@intel.com \
    --cc=kernel-janitors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.