All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] This was the last of my pci __devinitdata patches!
@ 2006-04-26 20:18 Henne
  2006-04-26 21:03 ` Randy.Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Henne @ 2006-04-26 20:18 UTC (permalink / raw)
  To: kernel-janitors

So, this was the first set of my patches. :)
Things I learned:
-	The default linelength of thunderbird (72 chars) are not enough for patches and configuring the mailclient can save a lot of time.

-	There are many pci-drivers which are not conform in all points to
	<kernel>/Documentation/pci.txt
  	e.g. : if the remove funcion of the driver is marked as __devexit,
		the __devexit_p() is forgotten in struct pci_driver,
		which can leave a pointer to a function which doesn't exist. (evil)

-	Bringing more ifdefs into the kernel is evil too.

-	Typing 286 (what a number) times "__devinitdata" could have benn much more boring.

Questions I have:

-	What is the prefered way to make powemanagement-stuff depend on CONFIG_PM?
	ifdef the .suspend and .resume in struct pci_driver and gather these functions into ONE
	#ifdef CONFIG_PM
	#endif
	?
	There are lots of drivers who have there PM-functions compiled, even if no CONFIG_PM is set.

-	Will these patches be put into the mainline-kernel by you or must every janitor send them
	again to the subsys-maintainer?

Greets,
Henne
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

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

* Re: [KJ] This was the last of my pci __devinitdata patches!
  2006-04-26 20:18 [KJ] This was the last of my pci __devinitdata patches! Henne
@ 2006-04-26 21:03 ` Randy.Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy.Dunlap @ 2006-04-26 21:03 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 1127 bytes --]

On Wed, 26 Apr 2006 22:18:54 +0200 Henne wrote:

> So, this was the first set of my patches. :)
> Things I learned:
> -	The default linelength of thunderbird (72 chars) are not enough for patches and configuring the mailclient can save a lot of time.

Uh, yes, that's well-known.  :(
I have written email about how I can use tbird successfully, or
you can try this web page, although our recommendations are different:

http://mbligh.org/linuxdocs/Email/Clients/Thunderbird

> -	There are many pci-drivers which are not conform in all points to
> 	<kernel>/Documentation/pci.txt
>   	e.g. : if the remove funcion of the driver is marked as __devexit,
> 		the __devexit_p() is forgotten in struct pci_driver,
> 		which can leave a pointer to a function which doesn't exist. (evil)

Make a .config file with CONFIG_HOTPLUG=n (tricky[1]) and then build
a kernel.  The modpost phase will check/catch/warn about these.
I have sent patches for quite a few of them recently.


> -	Bringing more ifdefs into the kernel is evil too.
> 
> -	Typing 286 (what a number) times "__devinitdata" could have benn much more boring.


---
~Randy

[-- Attachment #2: Type: text/plain, Size: 168 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

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

end of thread, other threads:[~2006-04-26 21:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-26 20:18 [KJ] This was the last of my pci __devinitdata patches! Henne
2006-04-26 21:03 ` Randy.Dunlap

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.