[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201109231338.55363.hartleys@visionengravers.com>
Date: Fri, 23 Sep 2011 13:38:55 -0700
From: H Hartley Sweeten <hartleys@...ionengravers.com>
To: Linux Kernel <linux-kernel@...r.kernel.org>
CC: <ecryptfs@...r.kernel.org>, <tyhicks@...ux.vnet.ibm.com>,
<kirkland@...onical.com>
Subject: [PATCH] ecryptfs/crypto.c: local functions should be static
This quiets the sparse noise:
warning: symbol 'ecryptfs_encode_for_filename' was not declared. Should it be static?
Signed-off-by: H Hartley Sweeten <hsweeten@...ionengravers.com>
Cc: Tyler Hicks <tyhicks@...ux.vnet.ibm.com>
Cc: Dustin Kirkland <kirkland@...onical.com>
---
diff --git a/fs/ecryptfs/crypto.c b/fs/ecryptfs/crypto.c
index 58609bd..0d4f5fc 100644
--- a/fs/ecryptfs/crypto.c
+++ b/fs/ecryptfs/crypto.c
@@ -1969,8 +1969,8 @@ static const unsigned char filename_rev_map[] = {
* @src: Source location for the filename to encode
* @src_size: Size of the source in bytes
*/
-void ecryptfs_encode_for_filename(unsigned char *dst, size_t *dst_size,
- unsigned char *src, size_t src_size)
+static void ecryptfs_encode_for_filename(unsigned char *dst, size_t *dst_size,
+ unsigned char *src, size_t src_size)
{
size_t num_blocks;
size_t block_num = 0;
--
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