Skip to contentSkip to conversation

drm: fix implicit declaration build error on ia64

PATCH Applied Jani Nikula 3 participants 3 messages Sep 16, 2016 – Sep 19, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm: fix implicit declaration build error on ia64

drivers/gpu/drm/drm_dp_helper.c: In function 'drm_dp_downstream_debug':

Quoted 2 lines
Quoted 2 lines

drivers/gpu/drm/drm_dp_helper.c:551:2: error: implicit declaration of function 'seq_printf' [-Werror=implicit-function-declaration]

seq_printf(m, "\tDP branch device present: %s\n", ^

Quoted 2 lines
Quoted 2 lines

drivers/gpu/drm/drm_dp_helper.c:559:3: error: implicit declaration of function 'seq_puts' [-Werror=implicit-function-declaration]

     seq_puts(m, "\t\tType: DisplayPort\n");
     ^

References: https://lists.freedesktop.org/archives/intel-gfx/2016-September/106638.html

Fixes 80209e5f2c42 ("drm: Add DP branch device info on debugfs")
Cc Mika Kahola <[email protected]>

---

The commit being fixed is only in drm-intel tree. I failed at actually testing this, but I presume this is the fix...

---
 drivers/gpu/drm/drm_dp_helper.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/drm_dp_helper.c +1 -0
index a5365142cdba..894a6ac6f6e7 100644
@@ -27,6 +27,7 @@
 #include <linux/errno.h>
 #include <linux/sched.h>
 #include <linux/i2c.h>
+#include <linux/seq_file.h>
 #include <drm/drm_dp_helper.h>
 #include <drm/drmP.h>
 
Signature · 6 lines
2.1.4

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#1 lore raw

✓ Fi.CI.BAT: success for drm: fix implicit declaration build error on ia64

== Series Details ==

== Series Details ==

Series: drm: fix implicit declaration build error on ia64
URL : https://patchwork.freedesktop.org/series/12562/
State : success

== Summary ==

Series 12562v1 drm: fix implicit declaration build error on ia64
https://patchwork.freedesktop.org/api/1.0/series/12562/revisions/1/mbox/

Test gem_exec_gttfill:

        Subgroup basic:
                skip       -> PASS       (fi-snb-2600)
fi-bdw-5557u     total:244  pass:229  dwarn:0   dfail:0   fail:0   skip:15 
fi-bsw-n3050     total:244  pass:202  dwarn:0   dfail:0   fail:0   skip:42 
fi-hsw-4770k     total:244  pass:226  dwarn:0   dfail:0   fail:0   skip:18 
fi-hsw-4770r     total:244  pass:222  dwarn:0   dfail:0   fail:0   skip:22 
fi-ilk-650       total:244  pass:183  dwarn:0   dfail:0   fail:1   skip:60 
fi-ivb-3520m     total:244  pass:219  dwarn:0   dfail:0   fail:0   skip:25 
fi-ivb-3770      total:244  pass:207  dwarn:0   dfail:0   fail:0   skip:37 
fi-skl-6260u     total:244  pass:230  dwarn:0   dfail:0   fail:0   skip:14 
fi-skl-6700hq    total:244  pass:221  dwarn:0   dfail:0   fail:1   skip:22 
fi-skl-6700k     total:244  pass:219  dwarn:1   dfail:0   fail:0   skip:24 
fi-skl-6770hq    total:244  pass:228  dwarn:1   dfail:0   fail:1   skip:14 
fi-snb-2520m     total:244  pass:208  dwarn:0   dfail:0   fail:0   skip:36 
fi-snb-2600      total:244  pass:207  dwarn:0   dfail:0   fail:0   skip:37 

Results at /archive/results/CI_IGT_test/Patchwork_2544/

34dbfefb846a49ab348a0f2f40bfafcf6961df2e drm-intel-nightly: 2016y-09m-16d-07h-43m-26s UTC integration manifest 9534623 drm: fix implicit declaration build error on ia64

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#2 lore raw
In reply to Jani Nikula
Quoted 7 lines · Jani Nikula

drivers/gpu/drm/drm_dp_helper.c: In function 'drm_dp_downstream_debug':

Quoted 2 lines
Quoted 2 lines

drivers/gpu/drm/drm_dp_helper.c:551:2: error: implicit declaration of function 'seq_printf' [-Werror=implicit-function-declaration]

seq_printf(m, "\tDP branch device present: %s\n", ^

Quoted 2 lines
Quoted 2 lines

drivers/gpu/drm/drm_dp_helper.c:559:3: error: implicit declaration of function 'seq_puts' [-Werror=implicit-function-declaration]

Quoted 8 lines
     seq_puts(m, "\t\tType: DisplayPort\n");
     ^

References: https://lists.freedesktop.org/archives/intel-gfx/2016-September/106638.html

Fixes 80209e5f2c42 ("drm: Add DP branch device info on debugfs")
Cc Mika Kahola <[email protected]>

Applied to drm-misc (yeah wrong branch, but easier that way ...).

Thanks, Daniel

Quoted 28 lines

---

The commit being fixed is only in drm-intel tree. I failed at actually testing this, but I presume this is the fix...

---
 drivers/gpu/drm/drm_dp_helper.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/drm_dp_helper.c +1 -0
index a5365142cdba..894a6ac6f6e7 100644
@@ -27,6 +27,7 @@
 #include <linux/errno.h>
 #include <linux/sched.h>
 #include <linux/i2c.h>
+#include <linux/seq_file.h>
 #include <drm/drm_dp_helper.h>
 #include <drm/drmP.h>
 
Signature · 6 lines
2.1.4

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel