diff options
author | Alison Schofield <[email protected]> | 2023-04-18 20:26:30 -0700 |
---|---|---|
committer | Dan Williams <[email protected]> | 2023-04-23 12:08:39 -0700 |
commit | 371c16101ee8a076cbe93ab95bbefdb43927003e (patch) | |
tree | 83544301745fec764678e014d88f7420bd480239 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 50d527f52cbf0680c87d11a254383ca730c5c19f (diff) |
tools/testing/cxl: Mock the Inject Poison mailbox command
Mock the injection of poison by storing the device:address entries in
mock_poison_list[]. Enforce a limit of 8 poison injections per memdev
device and 128 total entries for the cxl_test mock driver.
Introducing the mock_poison[] list here, makes it available for use in
the mock of Clear Poison, and the mock of Get Poison List.
Signed-off-by: Alison Schofield <[email protected]>
Reviewed-by: Dave Jiang <[email protected]>
Link: https://lore.kernel.org/r/f6b7f03541eaa8c2260d3eafadd04afe3f0d7962.1681874357.git.alison.schofield@intel.com
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions