aboutsummaryrefslogtreecommitdiffstats
path: root/security/integrity/ima/ima_main.c
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2010-03-09 17:59:59 -0600
committerJames Morris <jmorris@namei.org>2010-03-10 15:59:54 +1100
commita19c5bbefb37ebe22fb42bd3861a8d3b2a2652a1 (patch)
tree4850853aca5c1ac564af02cd3240748579f32ba8 /security/integrity/ima/ima_main.c
parentSecurity: key: keyring: fix some code style issues (diff)
downloadlinux-dev-a19c5bbefb37ebe22fb42bd3861a8d3b2a2652a1.tar.xz
linux-dev-a19c5bbefb37ebe22fb42bd3861a8d3b2a2652a1.zip
security/ima: replace gcc specific __FUNCTION__ with __func__
As noted by checkpatch.pl, __func__ should be used instead of gcc specific __FUNCTION__. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to '')
-rw-r--r--security/integrity/ima/ima_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/integrity/ima/ima_main.c b/security/integrity/ima/ima_main.c
index 294b005d6520..983037fb9a9d 100644
--- a/security/integrity/ima/ima_main.c
+++ b/security/integrity/ima/ima_main.c
@@ -194,7 +194,7 @@ static void ima_dec_counts(struct ima_iint_cache *iint, struct inode *inode,
(iint->writecount < 0)) &&
!ima_limit_imbalance(file)) {
printk(KERN_INFO "%s: open/free imbalance (r:%ld w:%ld o:%ld)\n",
- __FUNCTION__, iint->readcount, iint->writecount,
+ __func__, iint->readcount, iint->writecount,
iint->opencount);
dump_stack();
}