RE: [PATCH for mce-inject.git] add a validation for each newcome mce.

This patch is to add a sanity check for each newcome mce; if mce is
invalid, mce-inject will error out.

Currently it just checks if cpu is valid, and can be extended with
other checking in future.

Signed-off-by: Haicheng Li <haicheng.li@intel.com>

1 file changed
tree: 42aa9b33521fef1997866d2ca905f67811293a63
  1. test/
  2. inject.h
  3. Makefile
  4. mce-inject.8
  5. mce-inject.c
  6. mce.h
  7. mce.lex
  8. mce.y
  9. parser.h
  10. README
  11. util.c
  12. util.h