* [PATCH] ecryptfs/crypto.c: local functions should be static
@ 2011-09-23 20:38 H Hartley Sweeten
0 siblings, 0 replies; only message in thread
From: H Hartley Sweeten @ 2011-09-23 20:38 UTC (permalink / raw)
To: Linux Kernel; +Cc: ecryptfs, tyhicks, kirkland
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@visionengravers.com>
Cc: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
Cc: Dustin Kirkland <kirkland@canonical.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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-09-23 20:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-23 20:38 [PATCH] ecryptfs/crypto.c: local functions should be static H Hartley Sweeten
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®