diff options
| author | Jakub Kicinski <[email protected]> | 2018-03-24 03:00:13 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2018-03-24 17:41:24 +0000 |
| commit | e8a4796ee2954db9f7e9b52e5fbc66ef876752f6 (patch) | |
| tree | ccd1d428ff372ff42d8abf3a53d24a6e6b6b37e4 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | tools: bpftool: don't use hex numbers in JSON output (diff) | |
| download | kernel-e8a4796ee2954db9f7e9b52e5fbc66ef876752f6.tar.gz kernel-e8a4796ee2954db9f7e9b52e5fbc66ef876752f6.zip | |
nfp: bpf: fix check of program max insn count
NFP program allocation length is in bytes and NFP program length
is in instructions, fix the comparison of the two.
Fixes: 9314c442d7dd ("nfp: bpf: move translation prepare to offload.c")
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Jiong Wang <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
