From: Paul Moore Date: Fri, 17 Nov 2006 22:38:43 +0000 (-0500) Subject: NetLabel: use gfp_t instead of int where it makes sense X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1f758d93548fb3c6297c05a351a4ba532de6a497;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git NetLabel: use gfp_t instead of int where it makes sense 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 Signed-off-by: James Morris --- diff --git a/include/net/netlabel.h b/include/net/netlabel.h index 12c214b9eadf..ba2f6823805c 100644 --- a/include/net/netlabel.h +++ b/include/net/netlabel.h @@ -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); }