From: Rakib Mullick Date: Mon, 29 Apr 2013 22:05:13 +0000 (-0700) Subject: kernel/auditsc.c: use kzalloc instead of kmalloc+memset X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~128^2~146 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f68613f39cdc242fa2e872ac04a802e7cc7b7cb;p=pandora-kernel.git kernel/auditsc.c: use kzalloc instead of kmalloc+memset In audit_alloc_context() use kzalloc instead of kmalloc+memset. Also rename audit_zero_context() to audit_set_context(), to represent it's inner workings properly. [akpm@linux-foundation.org: remove audit_set_context() altogether - fold it into its caller] Signed-off-by: Rakib Mullick Cc: Al Viro Cc: Eric Paris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed