disp: msm: display error log signature alignment
Ensure SDE_ERROR error log print function name and line number. Add a macro DISP_DEV_ERR as a wrapper of dev_err to ensure origin dev_err will print function name and line number. This would help with analysis of errors reported with automated testing. Expected display error log format: [FUNCTION_NAME:line] ERROR_MESSAGE Change-Id: I354f45b492059d5ba2bb110d56443fd338add7ad Signed-off-by: GG Hou <quic_renjhou@quicinc.com>
This commit is contained in:
@@ -85,6 +85,8 @@ struct msm_gem_vma;
|
||||
|
||||
#define TEARDOWN_DEADLOCK_RETRY_MAX 5
|
||||
|
||||
#define DISP_DEV_ERR(dev, fmt, ...) dev_err(dev, "[%s:%d] " fmt, __func__, __LINE__, ##__VA_ARGS__)
|
||||
|
||||
struct msm_file_private {
|
||||
rwlock_t queuelock;
|
||||
struct list_head submitqueues;
|
||||
|
Reference in New Issue
Block a user