[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100601091144.1ff3e677@nehalam>
Date: Tue, 1 Jun 2010 09:11:44 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: Phillip Lougher <phillip@...gher.demon.co.uk>,
Linux Kernel Development <linux-kernel@...r.kernel.org>
Subject: [PATCH 1/2] squashfs: xattr_handler don't inline
Don't need to explicitly inline this function, it causes a sparse
warning; and GCC will inline it already.
Signed-off-by: Stephen Hemminger <shemminger@...tta.com>
---
Patch against 2.6.35-rc1
--- a/fs/squashfs/xattr.c 2010-06-01 08:38:44.659739327 -0700
+++ b/fs/squashfs/xattr.c 2010-06-01 08:39:29.731326492 -0700
@@ -295,7 +295,7 @@ static const struct xattr_handler squash
.get = squashfs_security_get
};
-static inline const struct xattr_handler *squashfs_xattr_handler(int type)
+static const struct xattr_handler *squashfs_xattr_handler(int type)
{
if (type & ~(SQUASHFS_XATTR_PREFIX_MASK | SQUASHFS_XATTR_VALUE_OOL))
/* ignore unrecognised type */
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists