All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Gajjar, Akash" <Akash_Gajjar-nmGgyN9QBj3QT0dZR+AlfA@public.gmane.org>
To: "jonathan-eSc4qw6YbEQ@public.gmane.org"
	<jonathan-eSc4qw6YbEQ@public.gmane.org>,
	"robdclark-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org"
	<robdclark-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: "linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"freedreno-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org"
	<freedreno-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>,
	"dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org"
	<dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>
Subject: iMX6 build issue on Mainline Kernel
Date: Wed, 2 Jan 2019 08:02:52 +0000	[thread overview]
Message-ID: <1546416171582.2789@mentor.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 575 bytes --]

Hi Rob, Jonathan,



I was compiling mainline kernel for imx6 SOC based board with imx_v6_v7_defconfig and found it is failing.
It shows below error.

./include/linux/qcom_scm.h:73:10: error: 'ENODEV' undeclared (first use in this function)
  return -ENODEV;

Digging inside I found commit ID e6f6d63e adds SOC_IMX5, which eventually breaks build for imx6 platform config.
adding header #include <uapi/asm-generic/errno-base.h> in qcom_scm.h solves problem.


Please correct me that is it right way to resolve and upstream this fix.

Thanks,

Akash Gajjar

[-- Attachment #1.2: Type: text/html, Size: 1080 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Freedreno mailing list
Freedreno@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/freedreno

                 reply	other threads:[~2019-01-02  8:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1546416171582.2789@mentor.com \
    --to=akash_gajjar-nmggyn9qbj3qt0dzr+alfa@public.gmane.org \
    --cc=dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    --cc=freedreno-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    --cc=jonathan-eSc4qw6YbEQ@public.gmane.org \
    --cc=linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=robdclark-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.