Skip to content

Commit 646b1f4

Browse files
committed
cpu: 'suppressFuncErrors' -> 'pkt->suppressFuncError()' fix
Change-Id: If4aa71e9f6332df2a3daa51b69eaad97f6603f6b
1 parent 585ce62 commit 646b1f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cpu/testers/memtest/memtest.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ MemTest::completeRequest(PacketPtr pkt, bool functional)
151151
const uint8_t *pkt_data = pkt->getConstPtr<uint8_t>();
152152

153153
if (pkt->isError()) {
154-
if (!functional || !suppressFuncErrors)
154+
if (!functional || !pkt->suppressFuncError() || !suppressFuncErrors)
155155
panic( "%s access failed at %#x\n",
156156
pkt->isWrite() ? "Write" : "Read", req->getPaddr());
157157
} else {

0 commit comments

Comments
 (0)