Skip to contentSkip to conversation

xfs: turn off sign warnings

PATCH In review Dave Chinner 2 participants 2 messages Jan 25, 2010 XFS filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfs: turn off sign warnings

Because they cause warnings in static inline functions conditionally compiled into XFS from the VFS (e.g. fsnotify).

---
 fs/xfs/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
fs/xfs/Makefile +1 -1
index 1926701..5c5a366 100644
@@ -16,7 +16,7 @@
 # Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 #
 
-EXTRA_CFLAGS +=	 -I$(src) -I$(src)/linux-2.6 -Wpointer-sign
+EXTRA_CFLAGS +=	 -I$(src) -I$(src)/linux-2.6
 
 XFS_LINUX := linux-2.6
 
Signature · 6 lines
1.6.5

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Reviewed-by on v1 1/1
#1 lore raw
Quoted 2 lines · Dave Chinner

Because they cause warnings in static inline functions conditionally compiled into XFS from the VFS (e.g. fsnotify).

Ok. As I already mention I feared something like this could happen. Would be great to get it on for the whole kernel.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs