disp: msm: sde: fix wrong message arguments in sde
Fix debug message arguments in sde which are found with -Wformat-extra-args and -Wstrict-prototypes compilation flag and add compile flags to msm compilation. Change-Id: Ic7f30e0cab3ea16b7f2a34658262b6f51da259e9 Signed-off-by: Raviteja Tamatam <quic_travitej@quicinc.com> Signed-off-by: Nilaan Gunabalachandran <quic_ngunabal@quicinc.com>
This commit is contained in:

committed by
Nilaan Gunabalachandran

parent
a2d05648c2
commit
4f8c2cf667
@@ -659,7 +659,7 @@ static struct notifier_block sde_md_notify_blk = {
|
||||
.priority = INT_MAX,
|
||||
};
|
||||
|
||||
static int sde_register_md_panic_notifer()
|
||||
static int sde_register_md_panic_notifer(void)
|
||||
{
|
||||
qcom_va_md_register("display", &sde_md_notify_blk);
|
||||
return 0;
|
||||
@@ -682,7 +682,7 @@ void sde_mini_dump_add_va_region(const char *name, u32 size, void *virt_addr)
|
||||
return;
|
||||
}
|
||||
#else
|
||||
static int sde_register_md_panic_notifer()
|
||||
static int sde_register_md_panic_notifer(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user