From: Stephen Hemminger <shemminger@vyatta.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Phillip Lougher <phillip@lougher.demon.co.uk>,
Linux Kernel Development <linux-kernel@vger.kernel.org>
Subject: [PATCH 1/2] squashfs: xattr_handler don't inline
Date: Tue, 1 Jun 2010 09:11:44 -0700 [thread overview]
Message-ID: <20100601091144.1ff3e677@nehalam> (raw)
In-Reply-To: <AANLkTilWjRvjl5M_4lenw3aMI57eDYjOV96k3KmxrNwB@mail.gmail.com>
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@vyatta.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 */
next prev parent reply other threads:[~2010-06-01 16:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-26 0:59 [GIT PULL] Squashfs updates for 2.6.35 Phillip Lougher
2010-05-29 14:21 ` Geert Uytterhoeven
2010-06-01 16:11 ` Stephen Hemminger [this message]
2010-06-01 16:14 ` [PATCH 2/2] squashfs: fix unsigned warnings Stephen Hemminger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100601091144.1ff3e677@nehalam \
--to=shemminger@vyatta.com \
--cc=geert@linux-m68k.org \
--cc=linux-kernel@vger.kernel.org \
--cc=phillip@lougher.demon.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.