Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1718345 > unrolled thread
| Started by | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| First post | 2017-08-23 15:30 +0200 |
| Last post | 2017-08-24 14:20 +0200 |
| Articles | 4 — 4 participants |
Back to article view | Back to linux.kernel
[PATCH] ARM: OMAP2+: fix missing variable declaration Arnd Bergmann <arnd@arndb.de> - 2017-08-23 15:30 +0200
Re: [PATCH] ARM: OMAP2+: fix missing variable declaration Laurent Pinchart <laurent.pinchart@ideasonboard.com> - 2017-08-23 16:00 +0200
Re: [PATCH] ARM: OMAP2+: fix missing variable declaration Tony Lindgren <tony@atomide.com> - 2017-08-23 17:00 +0200
Re: [PATCH] ARM: OMAP2+: fix missing variable declaration Tomi Valkeinen <tomi.valkeinen@ti.com> - 2017-08-24 14:20 +0200
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Date | 2017-08-23 15:30 +0200 |
| Subject | [PATCH] ARM: OMAP2+: fix missing variable declaration |
| Message-ID | <uhDTk-14P-9@gated-at.bofh.it> |
The function that was added doesn't actually build:
arch/arm/mach-omap2/display.c: In function 'omapdss_init_fbdev':
arch/arm/mach-omap2/display.c:184:2: error: 'r' undeclared (first use in this function)
This adds a declaration for 'r' to fix it.
Fixes: 5ce783025c82 ("ARM: OMAP2+: Don't register omapdss device for omapdrm")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
arch/arm/mach-omap2/display.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c
index 798fc718fffe..b3f6eb5d04a2 100644
--- a/arch/arm/mach-omap2/display.c
+++ b/arch/arm/mach-omap2/display.c
@@ -172,6 +172,7 @@ static int __init omapdss_init_fbdev(void)
.set_min_bus_tput = omap_dss_set_min_bus_tput,
};
struct device_node *node;
+ int r;
board_data.version = omap_display_get_version();
if (board_data.version == OMAPDSS_VER_UNKNOWN) {
--
2.9.0
[toc] | [next] | [standalone]
| From | Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
|---|---|
| Date | 2017-08-23 16:00 +0200 |
| Message-ID | <uhEmm-1ex-19@gated-at.bofh.it> |
| In reply to | #1718345 |
Hi Arnd,
On Wednesday, 23 August 2017 16:28:19 EEST Arnd Bergmann wrote:
> The function that was added doesn't actually build:
>
> arch/arm/mach-omap2/display.c: In function 'omapdss_init_fbdev':
> arch/arm/mach-omap2/display.c:184:2: error: 'r' undeclared (first use in
> this function)
>
> This adds a declaration for 'r' to fix it.
>
> Fixes: 5ce783025c82 ("ARM: OMAP2+: Don't register omapdss device for
> omapdrm")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Looks like I haven't tested the patch with CONFIG_FB_OMAP2 enabled after the
last rebase. I'm very sorry about that :-(
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tomi, I assume you will pick this up and sent it to Dave for v4.14-rc1.
> ---
> arch/arm/mach-omap2/display.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c
> index 798fc718fffe..b3f6eb5d04a2 100644
> --- a/arch/arm/mach-omap2/display.c
> +++ b/arch/arm/mach-omap2/display.c
> @@ -172,6 +172,7 @@ static int __init omapdss_init_fbdev(void)
> .set_min_bus_tput = omap_dss_set_min_bus_tput,
> };
> struct device_node *node;
> + int r;
>
> board_data.version = omap_display_get_version();
> if (board_data.version == OMAPDSS_VER_UNKNOWN) {
--
Regards,
Laurent Pinchart
[toc] | [prev] | [next] | [standalone]
| From | Tony Lindgren <tony@atomide.com> |
|---|---|
| Date | 2017-08-23 17:00 +0200 |
| Message-ID | <uhFip-1PN-13@gated-at.bofh.it> |
| In reply to | #1718376 |
* Laurent Pinchart <laurent.pinchart@ideasonboard.com> [170823 06:53]:
> Hi Arnd,
>
> On Wednesday, 23 August 2017 16:28:19 EEST Arnd Bergmann wrote:
> > The function that was added doesn't actually build:
> >
> > arch/arm/mach-omap2/display.c: In function 'omapdss_init_fbdev':
> > arch/arm/mach-omap2/display.c:184:2: error: 'r' undeclared (first use in
> > this function)
> >
> > This adds a declaration for 'r' to fix it.
> >
> > Fixes: 5ce783025c82 ("ARM: OMAP2+: Don't register omapdss device for
> > omapdrm")
> > Signed-off-by: Arnd Bergmann <arnd@arndb.de>
>
> Looks like I haven't tested the patch with CONFIG_FB_OMAP2 enabled after the
> last rebase. I'm very sorry about that :-(
>
> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
>
> Tomi, I assume you will pick this up and sent it to Dave for v4.14-rc1.
Acked-by: Tony Lindgren <tony@atomide.com>
[toc] | [prev] | [next] | [standalone]
| From | Tomi Valkeinen <tomi.valkeinen@ti.com> |
|---|---|
| Date | 2017-08-24 14:20 +0200 |
| Message-ID | <uhZh7-6r5-3@gated-at.bofh.it> |
| In reply to | #1718376 |
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
On 23/08/17 16:53, Laurent Pinchart wrote:
> Hi Arnd,
>
> On Wednesday, 23 August 2017 16:28:19 EEST Arnd Bergmann wrote:
>> The function that was added doesn't actually build:
>>
>> arch/arm/mach-omap2/display.c: In function 'omapdss_init_fbdev':
>> arch/arm/mach-omap2/display.c:184:2: error: 'r' undeclared (first use in
>> this function)
>>
>> This adds a declaration for 'r' to fix it.
>>
>> Fixes: 5ce783025c82 ("ARM: OMAP2+: Don't register omapdss device for
>> omapdrm")
>> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
>
> Looks like I haven't tested the patch with CONFIG_FB_OMAP2 enabled after the
> last rebase. I'm very sorry about that :-(
>
> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
>
> Tomi, I assume you will pick this up and sent it to Dave for v4.14-rc1.
Yep, I'll pick it up. I could swear I tested omapfb build, but...
Obviously not.
Tomi
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web