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:
@@ -1,8 +1,10 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2012-2021 The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#define pr_fmt(fmt) "[drm:%s:%d] " fmt, __func__, __LINE__
|
||||
#include "msm_drv.h"
|
||||
#include "sde_dsc_helper.h"
|
||||
#include "sde_kms.h"
|
||||
|
Reference in New Issue
Block a user