disp: msm: fix compilation errors for dlkm compilation
Fix dlkm compilation errors that are due to the use of -Werror flags used by the build system. Change-Id: I5e1e9bc63c1361d73e4930aab123212717872ecb Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
此提交包含在:
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2012-2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <linux/slab.h>
|
||||
@@ -212,7 +212,7 @@ static void dp_altmode_register(void *priv)
|
||||
|
||||
altmode->amclient = altmode_register_client(altmode->dev, &cd);
|
||||
if (IS_ERR_OR_NULL(altmode->amclient))
|
||||
DP_ERR("failed to register as client: %d\n",
|
||||
DP_ERR("failed to register as client: %ld\n",
|
||||
PTR_ERR(altmode->amclient));
|
||||
else
|
||||
DP_DEBUG("success\n");
|
||||
|
新增問題並參考
封鎖使用者