* linux-next: build failure after merge of the final tree @ 2011-05-20 6:32 Stephen Rothwell 2012-02-16 5:29 ` linux-next: build failure after merge of the final tree (fbdev tree related) Stephen Rothwell 2013-10-28 14:23 ` linux-next: build failure after merge of the final tree (fbdev tree related) Stephen Rothwell 0 siblings, 2 replies; 7+ messages in thread From: Stephen Rothwell @ 2011-05-20 6:32 UTC (permalink / raw) To: Linus; +Cc: linux-next, linux-kernel, Paul Mundt, linux-fbdev Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/video/udlfb.c: In function 'dlfb_compress_hline': drivers/video/udlfb.c:421: error: implicit declaration of function 'prefetch_range' Presumably caused by commit e66eed651fd1 ("list: remove prefetching from regular list iterators"). We need to include preempt.h explictly, now. I have included this patch for today: From: Stephen Rothwell <sfr@canb.auug.org.au> Date: Fri, 20 May 2011 16:29:01 +1000 Subject: [PATCH] udlfb: include prefetch.h explicitly Commit e66eed651fd1 ("list: remove prefetching from regular list iterators") removed the include of prefetch.h from list.h, so we need to include it explicitly, now. fixes this build error on powerpc: drivers/video/udlfb.c: In function 'dlfb_compress_hline': drivers/video/udlfb.c:421: error: implicit declaration of function 'prefetch_range' Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> --- drivers/video/udlfb.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/video/udlfb.c b/drivers/video/udlfb.c index 68041d9..4c299cc 100644 --- a/drivers/video/udlfb.c +++ b/drivers/video/udlfb.c @@ -28,6 +28,7 @@ #include <linux/vmalloc.h> #include <linux/slab.h> #include <linux/delay.h> +#include <linux/prefetch.h> #include <video/udlfb.h> #include "edid.h" -- 1.7.5.1 -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ ^ permalink raw reply related [flat|nested] 7+ messages in thread
* linux-next: build failure after merge of the final tree (fbdev tree related) 2011-05-20 6:32 linux-next: build failure after merge of the final tree Stephen Rothwell @ 2012-02-16 5:29 ` Stephen Rothwell 2012-02-19 21:33 ` [PATCH] i740fb: fix compile error when CONFIG_MTRR is not selected Florian Tobias Schandinat 2013-10-28 14:23 ` linux-next: build failure after merge of the final tree (fbdev tree related) Stephen Rothwell 1 sibling, 1 reply; 7+ messages in thread From: Stephen Rothwell @ 2012-02-16 5:29 UTC (permalink / raw) To: Florian Tobias Schandinat, linux-fbdev Cc: linux-next, linux-kernel, Ondrej Zary [-- Attachment #1: Type: text/plain, Size: 504 bytes --] Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/video/i740fb.c: In function 'i740fb_remove': drivers/video/i740fb.c:1192:7: error: 'par' undeclared (first use in this function) Caused by commit 5350c65f4f15 ("Resurrect Intel740 driver: i740fb") from the fbdev tree. CONFIG_MTRR is not defined for this build ... I have reverted that commit for today. -- Cheers, Stephen Rothwell sfr@canb.auug.org.au [-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH] i740fb: fix compile error when CONFIG_MTRR is not selected 2012-02-16 5:29 ` linux-next: build failure after merge of the final tree (fbdev tree related) Stephen Rothwell @ 2012-02-19 21:33 ` Florian Tobias Schandinat 2012-02-20 20:49 ` Ondrej Zary 0 siblings, 1 reply; 7+ messages in thread From: Florian Tobias Schandinat @ 2012-02-19 21:33 UTC (permalink / raw) To: linux-fbdev Cc: linux-kernel, Florian Tobias Schandinat, Ondrej Zary, Stephen Rothwell, linux-next Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> --- drivers/video/i740fb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/video/i740fb.c b/drivers/video/i740fb.c index 8be0302..fe574d8 100644 --- a/drivers/video/i740fb.c +++ b/drivers/video/i740fb.c @@ -1179,9 +1179,9 @@ static void __devexit i740fb_remove(struct pci_dev *dev) struct fb_info *info = pci_get_drvdata(dev); if (info) { -#ifdef CONFIG_MTRR struct i740fb_par *par = info->par; +#ifdef CONFIG_MTRR if (par->mtrr_reg >= 0) { mtrr_del(par->mtrr_reg, 0, 0); par->mtrr_reg = -1; -- 1.7.2.5 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] i740fb: fix compile error when CONFIG_MTRR is not selected 2012-02-19 21:33 ` [PATCH] i740fb: fix compile error when CONFIG_MTRR is not selected Florian Tobias Schandinat @ 2012-02-20 20:49 ` Ondrej Zary 0 siblings, 0 replies; 7+ messages in thread From: Ondrej Zary @ 2012-02-20 20:49 UTC (permalink / raw) To: Florian Tobias Schandinat Cc: linux-fbdev, linux-kernel, Stephen Rothwell, linux-next On Sunday 19 February 2012 22:33:31 Florian Tobias Schandinat wrote: > Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> > --- > drivers/video/i740fb.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/video/i740fb.c b/drivers/video/i740fb.c > index 8be0302..fe574d8 100644 > --- a/drivers/video/i740fb.c > +++ b/drivers/video/i740fb.c > @@ -1179,9 +1179,9 @@ static void __devexit i740fb_remove(struct pci_dev > *dev) struct fb_info *info = pci_get_drvdata(dev); > > if (info) { > -#ifdef CONFIG_MTRR > struct i740fb_par *par = info->par; > > +#ifdef CONFIG_MTRR > if (par->mtrr_reg >= 0) { > mtrr_del(par->mtrr_reg, 0, 0); > par->mtrr_reg = -1; Thanks for fixing my stupid bug. I thought that I tested it without CONFIG_MTRR. But obviously didn't. -- Ondrej Zary ^ permalink raw reply [flat|nested] 7+ messages in thread
* linux-next: build failure after merge of the final tree (fbdev tree related) 2011-05-20 6:32 linux-next: build failure after merge of the final tree Stephen Rothwell 2012-02-16 5:29 ` linux-next: build failure after merge of the final tree (fbdev tree related) Stephen Rothwell @ 2013-10-28 14:23 ` Stephen Rothwell 2013-10-28 14:39 ` Michal Simek 2013-10-29 8:50 ` Tomi Valkeinen 1 sibling, 2 replies; 7+ messages in thread From: Stephen Rothwell @ 2013-10-28 14:23 UTC (permalink / raw) To: Jean-Christophe PLAGNIOL-VILLARD, Florian Tobias Schandinat, Tomi Valkeinen, linux-fbdev Cc: linux-next, linux-kernel, Michal Simek [-- Attachment #1: Type: text/plain, Size: 1702 bytes --] Hi all, After merging the final tree, today's linux-next build (powerpc ppc44x_defconfig) failed like this: drivers/video/xilinxfb.c: In function 'xilinxfb_of_probe': drivers/video/xilinxfb.c:431:30: error: 'op' undeclared (first use in this function) Caused by commit 353846fb8bb7 ("video: xilinxfb: Use standard variable name convention") from the fbdev tree. I have applied the following fix patch for today: From: Stephen Rothwell <sfr@canb.auug.org.au> Date: Tue, 29 Oct 2013 01:18:22 +1100 Subject: [PATCH] video: xilinxfb: Fix for "Use standard variable name convention" Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> --- drivers/video/xilinxfb.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/video/xilinxfb.c b/drivers/video/xilinxfb.c index 9eedf9673b7f..6ff1a91e9dfd 100644 --- a/drivers/video/xilinxfb.c +++ b/drivers/video/xilinxfb.c @@ -428,11 +428,11 @@ static int xilinxfb_of_probe(struct platform_device *pdev) #ifdef CONFIG_PPC_DCR else { int start; - start = dcr_resource_start(op->dev.of_node, 0); - drvdata->dcr_len = dcr_resource_len(op->dev.of_node, 0); - drvdata->dcr_host = dcr_map(op->dev.of_node, start, drvdata->dcr_len); + start = dcr_resource_start(pdev->dev.of_node, 0); + drvdata->dcr_len = dcr_resource_len(pdev->dev.of_node, 0); + drvdata->dcr_host = dcr_map(pdev->dev.of_node, start, drvdata->dcr_len); if (!DCR_MAP_OK(drvdata->dcr_host)) { - dev_err(&op->dev, "invalid DCR address\n"); + dev_err(&pdev->dev, "invalid DCR address\n"); return -ENODEV; } } -- 1.8.4.rc3 -- Cheers, Stephen Rothwell sfr@canb.auug.org.au [-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: linux-next: build failure after merge of the final tree (fbdev tree related) 2013-10-28 14:23 ` linux-next: build failure after merge of the final tree (fbdev tree related) Stephen Rothwell @ 2013-10-28 14:39 ` Michal Simek 2013-10-29 8:50 ` Tomi Valkeinen 1 sibling, 0 replies; 7+ messages in thread From: Michal Simek @ 2013-10-28 14:39 UTC (permalink / raw) To: Stephen Rothwell Cc: Jean-Christophe PLAGNIOL-VILLARD, Florian Tobias Schandinat, Tomi Valkeinen, linux-fbdev, linux-next, linux-kernel, Michal Simek [-- Attachment #1: Type: text/plain, Size: 2148 bytes --] On 10/28/2013 03:23 PM, Stephen Rothwell wrote: > Hi all, > > After merging the final tree, today's linux-next build (powerpc > ppc44x_defconfig) failed like this: > > drivers/video/xilinxfb.c: In function 'xilinxfb_of_probe': > drivers/video/xilinxfb.c:431:30: error: 'op' undeclared (first use in this function) > > Caused by commit 353846fb8bb7 ("video: xilinxfb: Use standard variable > name convention") from the fbdev tree. > > I have applied the following fix patch for today: > > From: Stephen Rothwell <sfr@canb.auug.org.au> > Date: Tue, 29 Oct 2013 01:18:22 +1100 > Subject: [PATCH] video: xilinxfb: Fix for "Use standard variable name convention" > > Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> > --- > drivers/video/xilinxfb.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/video/xilinxfb.c b/drivers/video/xilinxfb.c > index 9eedf9673b7f..6ff1a91e9dfd 100644 > --- a/drivers/video/xilinxfb.c > +++ b/drivers/video/xilinxfb.c > @@ -428,11 +428,11 @@ static int xilinxfb_of_probe(struct platform_device *pdev) > #ifdef CONFIG_PPC_DCR > else { > int start; > - start = dcr_resource_start(op->dev.of_node, 0); > - drvdata->dcr_len = dcr_resource_len(op->dev.of_node, 0); > - drvdata->dcr_host = dcr_map(op->dev.of_node, start, drvdata->dcr_len); > + start = dcr_resource_start(pdev->dev.of_node, 0); > + drvdata->dcr_len = dcr_resource_len(pdev->dev.of_node, 0); > + drvdata->dcr_host = dcr_map(pdev->dev.of_node, start, drvdata->dcr_len); > if (!DCR_MAP_OK(drvdata->dcr_host)) { > - dev_err(&op->dev, "invalid DCR address\n"); > + dev_err(&pdev->dev, "invalid DCR address\n"); > return -ENODEV; > } > } > Your fix is correct. Tested-by: Michal Simek <monstr@monstr.eu> Thanks, Michal -- Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/ Maintainer of Linux kernel - Xilinx Zynq ARM architecture Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 263 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: linux-next: build failure after merge of the final tree (fbdev tree related) 2013-10-28 14:23 ` linux-next: build failure after merge of the final tree (fbdev tree related) Stephen Rothwell 2013-10-28 14:39 ` Michal Simek @ 2013-10-29 8:50 ` Tomi Valkeinen 1 sibling, 0 replies; 7+ messages in thread From: Tomi Valkeinen @ 2013-10-29 8:50 UTC (permalink / raw) To: Stephen Rothwell, Jean-Christophe PLAGNIOL-VILLARD, Florian Tobias Schandinat, linux-fbdev Cc: linux-next, linux-kernel, Michal Simek [-- Attachment #1: Type: text/plain, Size: 1807 bytes --] On 28/10/13 16:23, Stephen Rothwell wrote: > Hi all, > > After merging the final tree, today's linux-next build (powerpc > ppc44x_defconfig) failed like this: > > drivers/video/xilinxfb.c: In function 'xilinxfb_of_probe': > drivers/video/xilinxfb.c:431:30: error: 'op' undeclared (first use in this function) > > Caused by commit 353846fb8bb7 ("video: xilinxfb: Use standard variable > name convention") from the fbdev tree. > > I have applied the following fix patch for today: > > From: Stephen Rothwell <sfr@canb.auug.org.au> > Date: Tue, 29 Oct 2013 01:18:22 +1100 > Subject: [PATCH] video: xilinxfb: Fix for "Use standard variable name convention" > > Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> > --- > drivers/video/xilinxfb.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/video/xilinxfb.c b/drivers/video/xilinxfb.c > index 9eedf9673b7f..6ff1a91e9dfd 100644 > --- a/drivers/video/xilinxfb.c > +++ b/drivers/video/xilinxfb.c > @@ -428,11 +428,11 @@ static int xilinxfb_of_probe(struct platform_device *pdev) > #ifdef CONFIG_PPC_DCR > else { > int start; > - start = dcr_resource_start(op->dev.of_node, 0); > - drvdata->dcr_len = dcr_resource_len(op->dev.of_node, 0); > - drvdata->dcr_host = dcr_map(op->dev.of_node, start, drvdata->dcr_len); > + start = dcr_resource_start(pdev->dev.of_node, 0); > + drvdata->dcr_len = dcr_resource_len(pdev->dev.of_node, 0); > + drvdata->dcr_host = dcr_map(pdev->dev.of_node, start, drvdata->dcr_len); > if (!DCR_MAP_OK(drvdata->dcr_host)) { > - dev_err(&op->dev, "invalid DCR address\n"); > + dev_err(&pdev->dev, "invalid DCR address\n"); > return -ENODEV; > } > } > Thanks, I have applied this to the fbdev tree. Tomi [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 901 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-10-29 8:50 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-05-20 6:32 linux-next: build failure after merge of the final tree Stephen Rothwell 2012-02-16 5:29 ` linux-next: build failure after merge of the final tree (fbdev tree related) Stephen Rothwell 2012-02-19 21:33 ` [PATCH] i740fb: fix compile error when CONFIG_MTRR is not selected Florian Tobias Schandinat 2012-02-20 20:49 ` Ondrej Zary 2013-10-28 14:23 ` linux-next: build failure after merge of the final tree (fbdev tree related) Stephen Rothwell 2013-10-28 14:39 ` Michal Simek 2013-10-29 8:50 ` Tomi Valkeinen
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).