linux-next: build failure after merge of the staging tree
Hi Greg,
After merging the staging tree, today's linux-next build (powerpc allyesconfig) failed like this:
In file included from include/linux/module.h:17:0,
from drivers/staging/sm750fb/sm750.c:2:
drivers/staging/sm750fb/sm750.c: In function '__check_g_option':
drivers/staging/sm750fb/sm750.c:1436:14: error: 'g_option' undeclared (first use in this function)
module_param(g_option,charp,S_IRUGO);
^Caused by commit 81dee67e215b ("staging: sm750fb: add sm750 to staging").
This driver also produced a large number of warnings ... a lot like this:
drivers/staging/sm750fb/sm750.c: In function 'lynxfb_ops_mmap':drivers/staging/sm750fb/sm750.c:533:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
printk("lynxfb mmap pgoff: %x\n", vma->vm_pgoff);
^
Also note:
In file included from drivers/staging/sm750fb/ddk750_mode.h:4:0,
from drivers/staging/sm750fb/ddk750.h:15,
from drivers/staging/sm750fb/sm750_hw.c:24:drivers/staging/sm750fb/ddk750_chip.h:4:0: warning: "SM750LE_REVISION_ID" redefined
#define SM750LE_REVISION_ID (char)0xfe
^
In file included from drivers/staging/sm750fb/sm750_hw.c:23:0:drivers/staging/sm750fb/sm750_hw.h:8:0: note: this is the location of the previous definition
#define SM750LE_REVISION_ID (unsigned char)0xfe
^
I have disabled this driver for now, please let me know when it is OK to enable it again.
From: Stephen Rothwell <[email protected]>
Date: Tue, 10 Mar 2015 16:02:45 +1100
Subject: [PATCH] staging: disable the Silicon Motion SM750 framebuffer support
due to build problems
--- drivers/staging/sm750fb/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/staging/sm750fb/Kconfig +1 -0
@@ -1,6 +1,7 @@ config FB_SM750 tristate "Silicon Motion SM750 framebuffer support" depends on FB && PCI + depends on BROKEN help Frame buffer driver for the Silicon Motion SM750 chip with 2D accelearion and dual head support.
Signature · 5 lines
2.1.4 -- Cheers, Stephen Rothwell [email protected]
Quoted 34 lines · Stephen Rothwell
Hi Greg,
After merging the staging tree, today's linux-next build (powerpc allyesconfig) failed like this:
In file included from
include/linux/module.h:17:0,from drivers/staging/sm750fb/sm750.c:2: drivers/staging/sm750fb/sm750.c: In function '__check_g_option': drivers/staging/sm750fb/sm750.c:1436:14: error: 'g_option' undeclared (first use in this function) module_param(g_option,charp,S_IRUGO); ^Caused by commit
81dee67e215b("staging: sm750fb: add sm750 to staging").This driver also produced a large number of warnings ... a lot like this:
drivers/staging/sm750fb/sm750.c: In function 'lynxfb_ops_mmap':drivers/staging/sm750fb/sm750.c:533:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
printk("lynxfb mmap pgoff: %x\n", vma->vm_pgoff);
^Also note:
In file included from
drivers/staging/sm750fb/ddk750_mode.h:4:0,from drivers/staging/sm750fb/ddk750.h:15, from drivers/staging/sm750fb/sm750_hw.c:24:
drivers/staging/sm750fb/ddk750_chip.h:4:0: warning: "SM750LE_REVISION_ID" redefined
#defineSM750LE_REVISION_ID(char)0xfe
^
In file included fromdrivers/staging/sm750fb/sm750_hw.c:23:0:drivers/staging/sm750fb/sm750_hw.h:8:0: note: this is the location of the previous definition
#defineSM750LE_REVISION_ID(unsigned char)0xfe
^
Quoted 2 lines
I have disabled this driver for now, please let me know when it is OK to enable it again.
Sorry about that. Yes, I know it's a mess. The build error on ppc should now be fixed in my tree. The build warnings are still there (some are gone). I should just go fix them up myself, and will do so tonight if I don't get a patch from someone else that does so first...
So it should be safe to enable again.
thanks,
greg k-h
Sudip Mukherjee
maintainerQuoted 11 lines · Greg KH
Quoted 10 lines · Stephen Rothwell
Hi Greg,
After merging the staging tree, today's linux-next build (powerpc allyesconfig) failed like this:
In file included from
include/linux/module.h:17:0,from drivers/staging/sm750fb/sm750.c:2:
drivers/staging/sm750fb/sm750.c: In function '__check_g_option':drivers/staging/sm750fb/sm750.c:1436:14: error: 'g_option' undeclared (first use in this function)
module_param(g_option,charp,S_IRUGO);
<snip>
Quoted 8 lines
Quoted 1 line
to enable it again.
Sorry about that. Yes, I know it's a mess. The build error on ppc should now be fixed in my tree. The build warnings are still there (some are gone). I should just go fix them up myself, and will do so tonight if I don't get a patch from someone else that does so first...
So it should be safe to enable again.
i am so sorry for the mess. I thought patchset to fix the build failures will buy me some time to fix the other warnings. I am sending another series to fix the remainig warnings.
reagrds
sudip
Quoted 4 lines
thanks,
greg k-h
Hi Greg,
Quoted 7 lines · On Tue, 10 Mar 2015 16:08:15 +0100 Greg KH <[email protected]> wrote:
Sorry about that. Yes, I know it's a mess. The build error on ppc should now be fixed in my tree. The build warnings are still there (some are gone). I should just go fix them up myself, and will do so tonight if I don't get a patch from someone else that does so first...
So it should be safe to enable again.
OK, will do.
Signature · 2 lines
Cheers, Stephen Rothwell [email protected]