Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1455832 > unrolled thread

Drm compile errors.

Started byJörg Otte <jrg.otte@gmail.com>
First post2016-08-03 16:50 +0200
Last post2016-08-03 19:20 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  Drm compile errors. Jörg Otte <jrg.otte@gmail.com> - 2016-08-03 16:50 +0200
    Re: Drm compile errors. Linus Torvalds <torvalds@linux-foundation.org> - 2016-08-03 18:50 +0200
      Re: Drm compile errors. Jörg Otte <jrg.otte@gmail.com> - 2016-08-03 19:20 +0200

#1455832 — Drm compile errors.

FromJörg Otte <jrg.otte@gmail.com>
Date2016-08-03 16:50 +0200
SubjectDrm compile errors.
Message-ID<s25EB-3Lb-5@gated-at.bofh.it>
Current mainline kernel does not compile for me:

In file included from
/media/jojo/deftoshiba/kernel/linux/drivers/gpu/drm/i915/i915_drv.c:48:0:
/media/jojo/deftoshiba/kernel/linux/drivers/gpu/drm/i915/i915_drv.h:
In function 'i915_debugfs_register':
/media/jojo/deftoshiba/kernel/linux/drivers/gpu/drm/i915/i915_drv.h:3654:48:
error: parameter name omitted
 static inline int i915_debugfs_register(struct drm_i915_private *) {return 0;}
                                                ^
/media/jojo/deftoshiba/kernel/linux/drivers/gpu/drm/i915/i915_drv.h:
In function 'i915_debugfs_unregister':
/media/jojo/deftoshiba/kernel/linux/drivers/gpu/drm/i915/i915_drv.h:3655:51:
error: parameter name omitted
 static inline void i915_debugfs_unregister(struct drm_i915_private *) {}
                                                   ^
make[5]: *** [drivers/gpu/drm/i915/i915_drv.o] Error 1
make[4]: *** [drivers/gpu/drm/i915] Error 2
make[3]: *** [drivers/gpu/drm] Error 2
make[2]: *** [drivers/gpu] Error 2
make[2]: *** Waiting for unfinished jobs....

first known bad kernel: 4.7.0-11470-gd52bd54
last known good kernel: 4.7.0-07962-g07f00f0

Thanks Jörg

[toc] | [next] | [standalone]


#1455891

FromLinus Torvalds <torvalds@linux-foundation.org>
Date2016-08-03 18:50 +0200
Message-ID<s27wJ-4Vz-3@gated-at.bofh.it>
In reply to#1455832

[Multipart message — attachments visible in raw view] — view raw

On Wed, Aug 3, 2016 at 10:43 AM, Jörg Otte <jrg.otte@gmail.com> wrote:
> Current mainline kernel does not compile for me:

You've managed to turn of DEBUG_FS, which is actually fairly hard
considering how many things select it.

Does the attached trivial patch fix it for you?

         Linus

[toc] | [prev] | [next] | [standalone]


#1455908

FromJörg Otte <jrg.otte@gmail.com>
Date2016-08-03 19:20 +0200
Message-ID<s27ZM-5m7-11@gated-at.bofh.it>
In reply to#1455891
2016-08-03 18:49 GMT+02:00 Linus Torvalds <torvalds@linux-foundation.org>:
> On Wed, Aug 3, 2016 at 10:43 AM, Jörg Otte <jrg.otte@gmail.com> wrote:
>> Current mainline kernel does not compile for me:
>
> You've managed to turn of DEBUG_FS, which is actually fairly hard
> considering how many things select it.
>
> Does the attached trivial patch fix it for you?
>
>          Linus

Yes, patch works for me.

Thanks Jörg

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web