summaryrefslogtreecommitdiffstats
path: root/kernel/bounds.c
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2013-11-05 10:48:02 -0500
committerEric Paris <eparis@redhat.com>2013-11-05 11:08:35 -0500
commite13f91e3c57986a609c10ddf94af0546a2a97dce (patch)
tree71c58b8eaa95bcffb554052794f3c99e767104da /kernel/bounds.c
parent64fbff9ae0a0a843365d922e0057fc785f23f0e3 (diff)
downloadop-kernel-dev-e13f91e3c57986a609c10ddf94af0546a2a97dce.zip
op-kernel-dev-e13f91e3c57986a609c10ddf94af0546a2a97dce.tar.gz
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 <eparis@redhat.com>
Diffstat (limited to 'kernel/bounds.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud