diff options
author | Ilya Leoshkevich <[email protected]> | 2021-09-07 11:58:59 +0200 |
---|---|---|
committer | Vasily Gorbik <[email protected]> | 2021-09-16 10:39:55 +0200 |
commit | 1511df6f5e9ef32826f20db2ee81f8527154dc14 (patch) | |
tree | 14f1385f7edd9c645bcf29fc8e8903e8187b4564 /drivers/usb/cdns3/cdns3-trace.c | |
parent | 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f (diff) |
s390/bpf: Fix branch shortening during codegen pass
EMIT6_PCREL() macro assumes that the previous pass generated 6 bytes
of code, which is not the case if branch shortening took place. Fix by
using jit->prg, like all the other EMIT6_PCREL_*() macros.
Reported-by: Johan Almbladh <[email protected]>
Fixes: 4e9b4a6883dd ("s390/bpf: Use relative long branches")
Signed-off-by: Ilya Leoshkevich <[email protected]>
Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions