diff options
author | Srinivas Kandagatla <[email protected]> | 2021-08-09 09:24:25 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-08-13 10:22:30 +0200 |
commit | 9659281ce78de0f15a4aa124da8f7450b1399c09 (patch) | |
tree | c14bb2fe4c437ece974e68aa7bb3d5ee838f74df /lib/test_overflow.c | |
parent | 36a21d51725af2ce0700c6ebcb6b9594aac658a6 (diff) |
slimbus: messaging: start transaction ids from 1 instead of zero
As tid is unsigned its hard to figure out if the tid is valid or
invalid. So Start the transaction ids from 1 instead of zero
so that we could differentiate between a valid tid and invalid tids
This is useful in cases where controller would add a tid for controller
specific transfers.
Fixes: d3062a210930 ("slimbus: messaging: add slim_alloc/free_txn_tid()")
Cc: <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions