linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: kobject_register failed for intelfb (-EACCES) (Re: 2.6.12-rc4-mm1)
       [not found]   ` <20050512154335.GD21765@kroah.com>
@ 2005-05-12 15:59     ` Andrew Morton
  2005-05-12 16:04       ` Greg KH
  2005-05-12 16:20       ` Alexey Dobriyan
  0 siblings, 2 replies; 3+ messages in thread
From: Andrew Morton @ 2005-05-12 15:59 UTC (permalink / raw)
  To: Greg KH; +Cc: adobriyan, linux-kernel, airlied, davej, linux-fbdev-devel

Greg KH <greg@kroah.com> wrote:
>
> 
>  On Thu, May 12, 2005 at 04:58:01PM +0400, Alexey Dobriyan wrote:
>  > kobject Intel(R) 830M/845G/852GM/855GM/865G/915G Framebuffer Driver:
>  > registering. parent: <NULL>, set: drivers
>  > kobject_register failed for Intel(R) 830M/845G/852GM/855GM/865G/915G
> 
>  Someone tried to put a "/" in a kobject name, which is not allowed.
>  Actually the name seems to be set to:
>  	"Intel(R) 830M/845G/852GM/855GM/865G/915G Framebuffer Driver"
>  which is a bit verbous if you want to create a directory name :)

I don't think that part of the driver has changed in some time.  Is there
something new in your trees which would trigger this?

Seems like a fix such as this will be needed:

--- 25/drivers/video/intelfb/intelfbdrv.c~intelfbdrv-naming-fix	2005-05-12 08:54:46.000000000 -0700
+++ 25-akpm/drivers/video/intelfb/intelfbdrv.c	2005-05-12 08:55:03.000000000 -0700
@@ -214,7 +214,7 @@ static struct fb_ops intel_fb_ops = {
 
 /* PCI driver module table */
 static struct pci_driver intelfb_driver = {
-	.name =		"Intel(R) " SUPPORTED_CHIPSETS " Framebuffer Driver",
+	.name =		"intelfb",
 	.id_table =	intelfb_pci_table,
 	.probe =	intelfb_pci_register,
 	.remove =	__devexit_p(intelfb_pci_unregister)
_

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: kobject_register failed for intelfb (-EACCES) (Re: 2.6.12-rc4-mm1)
  2005-05-12 15:59     ` kobject_register failed for intelfb (-EACCES) (Re: 2.6.12-rc4-mm1) Andrew Morton
@ 2005-05-12 16:04       ` Greg KH
  2005-05-12 16:20       ` Alexey Dobriyan
  1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2005-05-12 16:04 UTC (permalink / raw)
  To: Andrew Morton; +Cc: adobriyan, linux-kernel, airlied, davej, linux-fbdev-devel

On Thu, May 12, 2005 at 08:59:33AM -0700, Andrew Morton wrote:
> Greg KH <greg@kroah.com> wrote:
> >
> > 
> >  On Thu, May 12, 2005 at 04:58:01PM +0400, Alexey Dobriyan wrote:
> >  > kobject Intel(R) 830M/845G/852GM/855GM/865G/915G Framebuffer Driver:
> >  > registering. parent: <NULL>, set: drivers
> >  > kobject_register failed for Intel(R) 830M/845G/852GM/855GM/865G/915G
> > 
> >  Someone tried to put a "/" in a kobject name, which is not allowed.
> >  Actually the name seems to be set to:
> >  	"Intel(R) 830M/845G/852GM/855GM/865G/915G Framebuffer Driver"
> >  which is a bit verbous if you want to create a directory name :)
> 
> I don't think that part of the driver has changed in some time.  Is there
> something new in your trees which would trigger this?

No, not that I know of.

> Seems like a fix such as this will be needed:
> 
> --- 25/drivers/video/intelfb/intelfbdrv.c~intelfbdrv-naming-fix	2005-05-12 08:54:46.000000000 -0700
> +++ 25-akpm/drivers/video/intelfb/intelfbdrv.c	2005-05-12 08:55:03.000000000 -0700
> @@ -214,7 +214,7 @@ static struct fb_ops intel_fb_ops = {
>  
>  /* PCI driver module table */
>  static struct pci_driver intelfb_driver = {
> -	.name =		"Intel(R) " SUPPORTED_CHIPSETS " Framebuffer Driver",
> +	.name =		"intelfb",

Did the SUPPORTED_CHIPSETS macro change somehow?

Anyway, the patch looks correct to me.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: kobject_register failed for intelfb (-EACCES) (Re: 2.6.12-rc4-mm1)
  2005-05-12 15:59     ` kobject_register failed for intelfb (-EACCES) (Re: 2.6.12-rc4-mm1) Andrew Morton
  2005-05-12 16:04       ` Greg KH
@ 2005-05-12 16:20       ` Alexey Dobriyan
  1 sibling, 0 replies; 3+ messages in thread
From: Alexey Dobriyan @ 2005-05-12 16:20 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Greg KH, linux-kernel, airlied, davej, linux-fbdev-devel

On Thursday 12 May 2005 19:59, Andrew Morton wrote:
> Greg KH <greg@kroah.com> wrote:
> >  On Thu, May 12, 2005 at 04:58:01PM +0400, Alexey Dobriyan wrote:
> >  > kobject Intel(R) 830M/845G/852GM/855GM/865G/915G Framebuffer Driver:
> >  > registering. parent: <NULL>, set: drivers
> >  > kobject_register failed for Intel(R) 830M/845G/852GM/855GM/865G/915G
> > 
> >  Someone tried to put a "/" in a kobject name, which is not allowed.
> >  Actually the name seems to be set to:
> >  	"Intel(R) 830M/845G/852GM/855GM/865G/915G Framebuffer Driver"
> >  which is a bit verbous if you want to create a directory name :)

> Seems like a fix such as this will be needed:

> -	.name =		"Intel(R) " SUPPORTED_CHIPSETS " Framebuffer Driver",
> +	.name =		"intelfb",

It works.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-05-12 16:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20050512033100.017958f6.akpm@osdl.org>
     [not found] ` <200505121658.02019.adobriyan@gmail.com>
     [not found]   ` <20050512154335.GD21765@kroah.com>
2005-05-12 15:59     ` kobject_register failed for intelfb (-EACCES) (Re: 2.6.12-rc4-mm1) Andrew Morton
2005-05-12 16:04       ` Greg KH
2005-05-12 16:20       ` Alexey Dobriyan

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).