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

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.