History

efi/cper: Add a cper_mem_err_status_str() to decode error description

Introduce a new helper function cper_mem_err_status_str() to decode the error status value into a human readable string. [ bp: Massage. ]

Shuai Xue committed 4 years ago

Commit bdae7961 parent b2fa90e2 files · +30 −1Browse files

Showing the changes to include (1 of 2 files). Show all

Unified · Split

include/linux/cper.h+1−0
@@ -558,6 +558,7 @@ extern const char *const cper_proc_error_type_strs[4]; · 557 unmodified lines
558558 u64 cper_next_record_id(void);
559559 const char *cper_severity_str(unsigned int);
560560 const char *cper_mem_err_type_str(unsigned int);
561+const char *cper_mem_err_status_str(u64 status);
561562 void cper_print_bits(const char *prefix, unsigned int bits,
562563 const char * const strs[], unsigned int strs_size);
563564 void cper_mem_err_pack(const struct cper_sec_mem_err *,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t