diff options
author | Jamie Iles <[email protected]> | 2021-09-22 17:56:00 +0100 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2021-12-10 15:54:46 +0100 |
commit | f18f98110f2b179792cb70d85cba697320a3790f (patch) | |
tree | b0657195e0daf3765fc3da69c6d8267a7bfbd0ee /net/lapb/lapb_timer.c | |
parent | 313ece22600bcda85aa654af42628385abff215f (diff) |
i3c: fix incorrect address slot lookup on 64-bit
The address slot bitmap is an array of unsigned long's which are the
same size as an int on 32-bit platforms but not 64-bit. Loading the
bitmap into an int could result in the incorrect status being returned
for a slot and slots being reported as the wrong status.
Fixes: 3a379bbcea0a ("i3c: Add core I3C infrastructure")
Cc: Boris Brezillon <[email protected]>
Cc: Alexandre Belloni <[email protected]>
Signed-off-by: Jamie Iles <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions