e5b215570b
1. RAS error injection debugfs interface has been changed which is using ras_ctrl instead of *_err_inject. 2. Remove ASSERT_SUCCESS for fwrite, because fwrite returns the size of written item but not the error number. 3. Using throw exception instead of return to avoid a segment fault. Change-Id: I6c4d9c2f7e66719faec99abd1552105a08c238a4 Signed-off-by: Eric Huang <JinhuiEric.Huang@amd.com>