From: Eric Paris Date: Tue, 5 Nov 2013 15:48:02 +0000 (-0500) Subject: audit: use memset instead of trying to initialize field by field X-Git-Tag: v3.13-rc1~19^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e13f91e3c57986a609c10ddf94af0546a2a97dce;p=pandora-kernel.git audit: use memset instead of trying to initialize field by field We currently are setting fields to 0 to initialize the structure declared on the stack. This is a bad idea as if the structure has holes or unpacked space these will not be initialized. Just use memset. This is not a performance critical section of code. Signed-off-by: Eric Paris --- Reading git-diff-tree failed