[PATCH dgc-xfs] xfs: xfs_ioctl_setattr_check_projid can be static

2015-02-01 Thread kbuild test robot
fs/xfs/xfs_ioctl.c:1146:1: sparse: symbol 'xfs_ioctl_setattr_check_projid' was 
not declared. Should it be static?

Signed-off-by: Fengguang Wu 
---
 xfs_ioctl.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/xfs/xfs_ioctl.c b/fs/xfs/xfs_ioctl.c
index 1f186d2..1060513 100644
--- a/fs/xfs/xfs_ioctl.c
+++ b/fs/xfs/xfs_ioctl.c
@@ -1142,7 +1142,7 @@ xfs_ioctl_setattr_check_extsize(
return 0;
 }
 
-int
+static int
 xfs_ioctl_setattr_check_projid(
struct xfs_inode*ip,
struct fsxattr  *fa)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH dgc-xfs] xfs: xfs_ioctl_setattr_check_projid can be static

2015-02-01 Thread kbuild test robot
fs/xfs/xfs_ioctl.c:1146:1: sparse: symbol 'xfs_ioctl_setattr_check_projid' was 
not declared. Should it be static?

Signed-off-by: Fengguang Wu fengguang...@intel.com
---
 xfs_ioctl.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/xfs/xfs_ioctl.c b/fs/xfs/xfs_ioctl.c
index 1f186d2..1060513 100644
--- a/fs/xfs/xfs_ioctl.c
+++ b/fs/xfs/xfs_ioctl.c
@@ -1142,7 +1142,7 @@ xfs_ioctl_setattr_check_extsize(
return 0;
 }
 
-int
+static int
 xfs_ioctl_setattr_check_projid(
struct xfs_inode*ip,
struct fsxattr  *fa)
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/