Merge branch 'bpf-verifier-disassembly-improvements'
authorDavid S. Miller <davem@davemloft.net>
Thu, 28 Sep 2017 17:23:19 +0000 (10:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Sep 2017 17:23:19 +0000 (10:23 -0700)
Edward Cree says:

====================
bpf/verifier: disassembly improvements

Fix the output of print_bpf_insn() for ALU ops that don't look like
 compound assignment (i.e. BPF_END and BPF_NEG).

Sample output for a short test program:
0: (b4) (u32) r0 = (u32) 0
1: (dc) r0 = be32 r0
2: (84) r0 = (u32) -r0
3: (95) exit
processed 4 insns, stack depth 0
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge