]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
NetLabel: use gfp_t instead of int where it makes sense
authorPaul Moore <paul.moore@hp.com>
Fri, 17 Nov 2006 22:38:43 +0000 (17:38 -0500)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:24:04 +0000 (21:24 -0800)
There were a few places in the NetLabel code where the int type was being used
instead of the gfp_t type, this patch corrects this mistake.

Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: James Morris <jmorris@namei.org>
include/net/netlabel.h

index 12c214b9eadf8b8d7da0f7c0eb12c08512193049..ba2f6823805ce812bd2f67606569f0a4374a652e 100644 (file)
@@ -205,7 +205,7 @@ static inline void netlbl_secattr_destroy(struct netlbl_lsm_secattr *secattr)
  * pointer on success, or NULL on failure.
  *
  */
-static inline struct netlbl_lsm_secattr *netlbl_secattr_alloc(int flags)
+static inline struct netlbl_lsm_secattr *netlbl_secattr_alloc(gfp_t flags)
 {
        return kzalloc(sizeof(struct netlbl_lsm_secattr), flags);
 }