diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2016-04-13 00:10:53 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-15 03:40:42 +0200 |
commit | 02413cabd6b67f1444f153ea85d44076deae2056 (patch) | |
tree | 8d656100a8e523f2f9a5256884f6c868c0ae94df /sound/pci | |
parent | bpf: convert relevant helper args to ARG_PTR_TO_RAW_STACK (diff) | |
download | linux-02413cabd6b67f1444f153ea85d44076deae2056.tar.xz linux-02413cabd6b67f1444f153ea85d44076deae2056.zip |
bpf, samples: don't zero data when not needed
Remove the zero initialization in the sample programs where appropriate.
Note that this is an optimization which is now possible, old programs
still doing the zero initialization are just fine as well. Also, make
sure we don't have padding issues when we don't memset() the entire
struct anymore.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions