diff options
author | Denis Bolotin <[email protected]> | 2019-01-03 12:02:39 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-01-04 12:57:30 -0800 |
commit | 2d533a9287f2011632977e87ce2783f4c689c984 (patch) | |
tree | 4ae62c4cef5e199c64eb06c9eeac4076c16d9b30 /lib/test_overflow.c | |
parent | f8c468e8537925e0c4607263f498a1b7c0c8982e (diff) |
qed: Fix qed_chain_set_prod() for PBL chains with non power of 2 page count
In PBL chains with non power of 2 page count, the producer is not at the
beginning of the chain when index is 0 after a wrap. Therefore, after the
producer index wrap around, page index should be calculated more carefully.
Signed-off-by: Denis Bolotin <[email protected]>
Signed-off-by: Ariel Elior <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions