svm: fix fifo unit test 36/29836/2
authorBenoît Ganne <bganne@cisco.com>
Wed, 21 Oct 2020 09:13:24 +0000 (11:13 +0200)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Thu, 12 Nov 2020 12:33:15 +0000 (12:33 +0000)
commitb2a92ff3b97c6ae5f84b48e3a77400afaeb43d29
treedd5842fe07cf8d55429c30777f196574018ad0b7
parent19b477f977b73e67166ec0fc66cc9fb950e30799
svm: fix fifo unit test

 - fix fifo initialization overflowing chunk size
 - stick to the default base virtual address to initialize fifo. ASAN
   can be picky about address space

Type: fix

Change-Id: If9a29138d2c207859d72845e928290c808c4a982
Signed-off-by: Benoît Ganne <bganne@cisco.com>
(cherry picked from commit 07b94558087facbb16c0fa82a79fcbbd9b44c485)
src/plugins/unittest/svm_fifo_test.c