1.Remove redundant header file and adjust the header files sequence. 2.Use right character format for printf.
Signed-off-by: Xiaofei Tan tanxiaofei@huawei.com --- ras-memory-failure-handler.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/ras-memory-failure-handler.c b/ras-memory-failure-handler.c index 85a8633..c74541f 100644 --- a/ras-memory-failure-handler.c +++ b/ras-memory-failure-handler.c @@ -15,11 +15,10 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <traceevent/kbuffer.h> -#include "ras-memory-failure-handler.h" #include "ras-record.h" #include "ras-logger.h" #include "ras-report.h" +#include "ras-memory-failure-handler.h"
/* Memory failure - various types of pages */ enum mf_action_page_type {