* [ext3:quota_interface 18/31] fs/quota/quota.c:69:14: sparse: symbol 'qtype_enforce_flag' was not declared. Should it be static?
@ 2015-01-21 23:34 kbuild test robot
2015-01-21 23:34 ` [PATCH ext3] quota: qtype_enforce_flag() can be static kbuild test robot
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2015-01-21 23:34 UTC (permalink / raw)
To: Jan Kara; +Cc: kbuild-all, linux-kernel
tree: git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git quota_interface
head: 9ba4f6c1cc8a43d25369db0f43af9220bfcd1b92
commit: 34c3165e700a877be816f226c5b14fe90919e74e [18/31] quota: Wire up ->quota_{enable,disable} callbacks into Q_QUOTA{ON,OFF}
reproduce:
# apt-get install sparse
git checkout 34c3165e700a877be816f226c5b14fe90919e74e
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__
sparse warnings: (new ones prefixed by >>)
>> fs/quota/quota.c:69:14: sparse: symbol 'qtype_enforce_flag' was not declared. Should it be static?
Please review and possibly fold the followup patch.
---
0-DAY kernel test infrastructure Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild Intel Corporation
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH ext3] quota: qtype_enforce_flag() can be static
2015-01-21 23:34 [ext3:quota_interface 18/31] fs/quota/quota.c:69:14: sparse: symbol 'qtype_enforce_flag' was not declared. Should it be static? kbuild test robot
@ 2015-01-21 23:34 ` kbuild test robot
0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2015-01-21 23:34 UTC (permalink / raw)
To: Jan Kara; +Cc: kbuild-all, linux-kernel
fs/quota/quota.c:69:14: sparse: symbol 'qtype_enforce_flag' was not declared. Should it be static?
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
quota.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/quota/quota.c b/fs/quota/quota.c
index a5b7c35..7283117 100644
--- a/fs/quota/quota.c
+++ b/fs/quota/quota.c
@@ -66,7 +66,7 @@ static int quota_sync_all(int type)
return ret;
}
-unsigned int qtype_enforce_flag(int type)
+static unsigned int qtype_enforce_flag(int type)
{
switch (type) {
case USRQUOTA:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-01-21 23:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-21 23:34 [ext3:quota_interface 18/31] fs/quota/quota.c:69:14: sparse: symbol 'qtype_enforce_flag' was not declared. Should it be static? kbuild test robot
2015-01-21 23:34 ` [PATCH ext3] quota: qtype_enforce_flag() can be static kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®