From: Fabio Estevam <festevam@gmail.com>
To: robdclark@gmail.com
Cc: jonathan@marek.ca, dri-devel@lists.freedesktop.org,
bjorn.andersson@linaro.org, andy.gross@linaro.org,
shawnguo@kernel.org, cphealy@gmail.com
Subject: [PATCH] qcom-scm: Include <linux/err.h> header
Date: Wed, 26 Dec 2018 10:06:19 -0200 [thread overview]
Message-ID: <20181226120619.18879-1-festevam@gmail.com> (raw)
Since commit e6f6d63ed14c ("drm/msm: add headless gpu device for imx5")
the DRM_MSM symbol can be selected by SOC_IMX5 causing the following
error when building imx_v6_v7_defconfig:
In file included from ../drivers/gpu/drm/msm/adreno/a5xx_gpu.c:17:0:
../include/linux/qcom_scm.h: In function 'qcom_scm_set_cold_boot_addr':
../include/linux/qcom_scm.h:73:10: error: 'ENODEV' undeclared (first use in this function)
return -ENODEV;
Include the <linux/err.h> header file to fix this problem.
Reported-by: kernelci.org bot <bot@kernelci.org>
Fixes: e6f6d63ed14c ("drm/msm: add headless gpu device for imx5")
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
include/linux/qcom_scm.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/qcom_scm.h b/include/linux/qcom_scm.h
index 06996ad4f2bc..ce5a476fd733 100644
--- a/include/linux/qcom_scm.h
+++ b/include/linux/qcom_scm.h
@@ -13,6 +13,7 @@
#ifndef __QCOM_SCM_H
#define __QCOM_SCM_H
+#include <linux/err.h>
#include <linux/types.h>
#include <linux/cpumask.h>
--
2.17.1
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2018-12-26 12:06 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-26 12:06 Fabio Estevam [this message]
2018-12-28 19:31 ` [PATCH] qcom-scm: Include <linux/err.h> header Bjorn Andersson
2018-12-28 15:39 ` Jonathan marek
2018-12-29 0:12 ` Bjorn Andersson
2018-12-28 19:52 ` Fabio Estevam
2018-12-28 19:56 ` Fabio Estevam
2018-12-28 20:08 ` Fabio Estevam
2018-12-28 20:00 ` Fabio Estevam
2018-12-29 0:27 ` Bjorn Andersson
2018-12-29 12:19 ` Fabio Estevam
2018-12-29 19:51 ` Andy Gross
2019-01-14 19:50 ` Amit Kucheria
2019-01-14 19:53 ` Chris Healy
2019-01-14 20:02 ` Fabio Estevam
2019-01-14 20:09 ` Chris Healy
2019-01-04 21:15 ` Guenter Roeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181226120619.18879-1-festevam@gmail.com \
--to=festevam@gmail.com \
--cc=andy.gross@linaro.org \
--cc=bjorn.andersson@linaro.org \
--cc=cphealy@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=jonathan@marek.ca \
--cc=robdclark@gmail.com \
--cc=shawnguo@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox