diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2022-05-31 10:28:45 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-06-01 11:49:44 +0200 |
commit | f3d671c711097a133bc36bd2bde52f1fcca783a6 (patch) | |
tree | 167850545115de075a30b4b1c3c95aea414ac228 /include | |
parent | c4caa500ffebf64795d1c0f6f9d6f179b502c6b7 (diff) | |
download | linux-f3d671c711097a133bc36bd2bde52f1fcca783a6.tar.bz2 |
octeontx2-af: fix error code in is_valid_offset()
The is_valid_offset() function returns success/true if the call to
validate_and_get_cpt_blkaddr() fails.
Fixes: ecad2ce8c48f ("octeontx2-af: cn10k: Add mailbox to configure reassembly timeout")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/YpXDrTPb8qV01JSP@kili
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions