* [PATCH 3/3 v2] xfs: include header files for prototypes
[not found] ` <20090305133917.GC14854@lst.de>
@ 2009-03-05 14:20 ` Hannes Eder
2009-03-05 21:29 ` Christoph Hellwig
0 siblings, 1 reply; 2+ messages in thread
From: Hannes Eder @ 2009-03-05 14:20 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: kernel-janitors, linux-kernel, xfs
Fix this sparse warnings:
fs/xfs/linux-2.6/xfs_ioctl.c:72:1: warning: symbol 'xfs_find_handle' was not declared. Should it be static?
fs/xfs/linux-2.6/xfs_ioctl.c:249:1: warning: symbol 'xfs_open_by_handle' was not declared. Should it be static?
fs/xfs/linux-2.6/xfs_ioctl.c:361:1: warning: symbol 'xfs_readlink_by_handle' was not declared. Should it be static?
fs/xfs/linux-2.6/xfs_ioctl.c:496:1: warning: symbol 'xfs_attrmulti_attr_get' was not declared. Should it be static?
fs/xfs/linux-2.6/xfs_ioctl.c:525:1: warning: symbol 'xfs_attrmulti_attr_set' was not declared. Should it be static?
fs/xfs/linux-2.6/xfs_ioctl.c:555:1: warning: symbol 'xfs_attrmulti_attr_remove' was not declared. Should it be static?
fs/xfs/linux-2.6/xfs_ioctl.c:657:1: warning: symbol 'xfs_ioc_space' was not declared. Should it be static?
fs/xfs/linux-2.6/xfs_ioctl.c:1340:1: warning: symbol 'xfs_file_ioctl' was not declared. Should it be static?
fs/xfs/support/debug.c:65:1: warning: symbol 'xfs_fs_vcmn_err' was not declared. Should it be static?
fs/xfs/support/debug.c:112:1: warning: symbol 'xfs_hex_dump' was not declared. Should it be static?
Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Acked-by: Christoph Hellwig <hch@lst.de>
---
On Thu, Mar 5, 2009 at 2:39 PM, Christoph Hellwig <hch@lst.de> wrote:
> looks good, except for a tiny nit-pick:
I still treat this as a Acked-by: ... Ok?
>> +++ b/fs/xfs/support/debug.c
>> @@ -19,6 +19,7 @@
>> #include "debug.h"
>>
>> /* xfs_mount.h drags a lot of crap in, sorry.. */
>> +#include "xfs_error.h"
>> #include "xfs_sb.h"
>> #include "xfs_inum.h"
>> #include "xfs_ag.h"
>
> as xfs_mount.h doesn't require xfs_error.h it should be included
> above that comment.
hm. but that way it is still included before xfs_mount.h.
fs/xfs/linux-2.6/xfs_ioctl.c | 1 +
fs/xfs/support/debug.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/xfs/linux-2.6/xfs_ioctl.c b/fs/xfs/linux-2.6/xfs_ioctl.c
index 6f04493..d0b4994 100644
--- a/fs/xfs/linux-2.6/xfs_ioctl.c
+++ b/fs/xfs/linux-2.6/xfs_ioctl.c
@@ -34,6 +34,7 @@
#include "xfs_dir2_sf.h"
#include "xfs_dinode.h"
#include "xfs_inode.h"
+#include "xfs_ioctl.h"
#include "xfs_btree.h"
#include "xfs_ialloc.h"
#include "xfs_rtalloc.h"
diff --git a/fs/xfs/support/debug.c b/fs/xfs/support/debug.c
index ae54829..930bb34 100644
--- a/fs/xfs/support/debug.c
+++ b/fs/xfs/support/debug.c
@@ -17,6 +17,7 @@
*/
#include <xfs.h>
#include "debug.h"
+#include "xfs_error.h"
/* xfs_mount.h drags a lot of crap in, sorry.. */
#include "xfs_sb.h"
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 3/3 v2] xfs: include header files for prototypes
2009-03-05 14:20 ` [PATCH 3/3 v2] xfs: include header files for prototypes Hannes Eder
@ 2009-03-05 21:29 ` Christoph Hellwig
0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2009-03-05 21:29 UTC (permalink / raw)
To: Hannes Eder; +Cc: kernel-janitors, xfs, Christoph Hellwig, linux-kernel
On Thu, Mar 05, 2009 at 03:20:25PM +0100, Hannes Eder wrote:
> I still treat this as a Acked-by: ... Ok?
Should be a review, as far as you can review these sort of patches..
> hm. but that way it is still included before xfs_mount.h.
Sure, but the point is entirely the comment which describes the block
of includes below.
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-05 21:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20090304183136.525.13769.stgit@f10box.hanneseder.net>
[not found] ` <20090304183418.525.22262.stgit@f10box.hanneseder.net>
[not found] ` <20090305133917.GC14854@lst.de>
2009-03-05 14:20 ` [PATCH 3/3 v2] xfs: include header files for prototypes Hannes Eder
2009-03-05 21:29 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox