aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2018-01-17 18:50:55 -0800
committerDavid S. Miller <[email protected]>2018-01-19 15:44:18 -0500
commitaa3f4b69a794f5ac1bdc501eaf964ce48901836e (patch)
treec759a3ca0c11efe7ed3949ffba1b891d96376796 /scripts/gdb/linux/lists.py
parent3c1693f012bdc0a9ff1bf030f7abc9961e94211f (diff)
nfp: core: make scalar CPP helpers fail on short accesses
Currently the helpers for accessing 4 or 8 byte values over the CPP bus return the length of IO on success. If the IO was short caller has to deal with error handling. The short IO for 4/8B values is completely impractical. Make the helpers return an error if full access was not possible. Fix the few places which are actually dealing with errors correctly, most call sites already only deal with negative return codes. Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Dirk van der Merwe <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions