lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 19 Aug 2011 23:32:45 +0200 (CEST)
From:	Jesper Juhl <jj@...osbits.net>
To:	linux-kernel@...r.kernel.org
cc:	linux-ntfs-dev@...ts.sourceforge.net,
	Anton Altaparmakov <anton@...era.com>
Subject: [PATCH 2/3] Add documentation comment for ntfs_free()

From: Jesper Juhl <jj@...osbits.net>

Signed-off-by: Jesper Juhl <jj@...osbits.net>
---
 fs/ntfs/malloc.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/fs/ntfs/malloc.h b/fs/ntfs/malloc.h
index d833e37..174408b 100644
--- a/fs/ntfs/malloc.h
+++ b/fs/ntfs/malloc.h
@@ -83,6 +83,12 @@ static inline void *ntfs_malloc_nofs_nofail(unsigned long size)
 	return __ntfs_malloc(size, GFP_NOFS | __GFP_HIGHMEM | __GFP_NOFAIL);
 }
 
+/**
+ * ntfs_free - free memory allocated by ntfs_malloc*
+ * @addr:	pointer to the memory to be freed
+ *
+ * Frees the memory pointed to by @addr. It is safe to pass a NULL pointer.
+ */
 static inline void ntfs_free(void *addr)
 {
 	if (!addr)
-- 
1.7.6


-- 
Jesper Juhl <jj@...osbits.net>       http://www.chaosbits.net/
Don't top-post http://www.catb.org/jargon/html/T/top-post.html
Plain text mails only, please.

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ