diff options
author | Jakub Kicinski | 2018-03-29 02:48:33 +0200 |
---|---|---|
committer | Alexei Starovoitov | 2018-03-29 04:36:13 +0200 |
commit | e59ac634908f4ea90066e6db7dd7ae8ca02815ff (patch) | |
tree | a258186a27ba1cc4afa7823df80d828e79d74195 /drivers/char/hangcheck-timer.c | |
parent | nfp: bpf: add map deletes from the datapath (diff) | |
download | kernel-qcow2-linux-e59ac634908f4ea90066e6db7dd7ae8ca02815ff.tar.gz kernel-qcow2-linux-e59ac634908f4ea90066e6db7dd7ae8ca02815ff.tar.xz kernel-qcow2-linux-e59ac634908f4ea90066e6db7dd7ae8ca02815ff.zip |
bpf: add parenthesis around argument of BPF_LDST_BYTES()
BPF_LDST_BYTES() does not put it's argument in parenthesis
when referencing it. This makes it impossible to pass pointers
obtained by address-of operator (e.g. BPF_LDST_BYTES(&insn)).
Add the parenthesis.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'drivers/char/hangcheck-timer.c')
0 files changed, 0 insertions, 0 deletions