Skip to contentSkip to conversation

Anybody is working on this todo ?

KJ linux newbie 4 participants 10 messages May 24, 2007 Kernel janitors

lore
Share & tools
lore
#0 lore raw

Hello,

I am a newbie . I would to start my kernal hacking by code cleanup. I
would like to do the following work.

-------------------------------------------------------------------------------
From: Greg KH

- delete all pci_find_* functions from the kernel tree. Instead of pci_find_device use pci_get_device().

Quoted 1 line

Looking at pci.txt, it appears that if I use pci_get_device(), I will >

also need to use pci_dev_put().

also check using the proper shutdown callback.

- convert from pci_module_init to pci_register_driver

- don't do it for drivers that are 2.4 compatible
-----------------------------------------------------------------------------------------------------

Right now my laptop is not ready with linux.. I hope I will get ready to
go soon (expecting within 2 or 3 days). Before that I just wanted to know that Anybody is working on this job. If so, I am ready to help them out ... otherwise have to take other job.

Thanks
newbie

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors

#1 lore raw
Quoted 6 lines · linux newbie
Quoted 2 lines

Looking at pci.txt, it appears that if I use pci_get_device(), I

will > also need to use pci_dev_put().

also check using the proper shutdown callback.

If you have not seen it already, there is a wiki:
http://fsdev.net/wiki/index.php?title=Kernel_Janitor%27s_Todo_List

Quoted 3 lines

- convert from pci_module_init to pci_register_driver

It has (finally) been completed (at least in the Linus' git-tree).

BTW 'newbie', it is much preferred if you use your real name, especially when you are going to be an author to patches. Or at least get a more unique alias.
We are all newbies in the beginning, you know. ;)

Happy hacking
Richard Knutsson

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors

#2 lore raw
In reply to linux newbie
Quoted 5 lines · On Thu, 24 May 2007 19:55:02 +0200 Richard Knutsson wrote:
Quoted 4 lines · linux newbie
Quoted 2 lines

Looking at pci.txt, it appears that if I use pci_get_device(), I

will > also need to use pci_dev_put().

Quoted 8 lines
Quoted 2 lines

also check using the proper shutdown callback.

If you have not seen it already, there is a wiki:
http://fsdev.net/wiki/index.php?title=Kernel_Janitor%27s_Todo_List

Quoted 3 lines

- convert from pci_module_init to pci_register_driver

It has (finally) been completed (at least in the Linus' git-tree).

We need to have that marked as completed or removed, please...

Quoted 3 lines

BTW 'newbie', it is much preferred if you use your real name, especially when you are going to be an author to patches. Or at least get a more unique alias.

Right.

Quoted 1 line

We are all newbies in the beginning, you know. ;)

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
_______________________________________________
Kernel-janitors mailing list [email protected]
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors

#3 lore raw
In reply to linux newbie
Quoted 5 lines · Randy Dunlap
Quoted 2 lines · On Thu, 24 May 2007 19:55:02 +0200 Richard Knutsson wrote:

linux newbie wrote:

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

- convert from pci_module_init to pci_register_driver

It has (finally) been completed (at least in the Linus' git-tree).

We need to have that marked as completed or removed, please...

Done (guess you meant on http://kernelnewbies.org/KernelJanitors/Todo).

Richard Knutsson

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors

#4 lore raw
In reply to linux newbie
Quoted 9 lines · On Thu, 24 May 2007 20:48:28 +0200 Richard Knutsson wrote:
Quoted 8 lines · Randy Dunlap
Quoted 5 lines · On Thu, 24 May 2007 19:55:02 +0200 Richard Knutsson wrote:
Quoted 3 lines · linux newbie

- convert from pci_module_init to pci_register_driver

Quoted 6 lines
Quoted 5 lines
Quoted 2 lines

It has (finally) been completed (at least in the Linus' git-tree).

We need to have that marked as completed or removed, please...

Done (guess you meant on http://kernelnewbies.org/KernelJanitors/Todo).

Thanks, but what about the entry at fsdev.net ?
We don't want people starting on this project from there either...

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
_______________________________________________
Kernel-janitors mailing list [email protected]
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors

#5 lore raw
In reply to linux newbie
Quoted 19 lines · Randy Dunlap
Quoted 16 lines · On Thu, 24 May 2007 20:48:28 +0200 Richard Knutsson wrote:
Quoted 14 lines · Randy Dunlap
Quoted 10 lines · On Thu, 24 May 2007 19:55:02 +0200 Richard Knutsson wrote:
Quoted 4 lines · linux newbie

- convert from pci_module_init to pci_register_driver

It has (finally) been completed (at least in the Linus' git-tree).

Quoted 9 lines
Quoted 5 lines
Quoted 3 lines

We need to have that marked as completed or removed, please...

Done (guess you meant on http://kernelnewbies.org/KernelJanitors/Todo).

Thanks, but what about the entry at fsdev.net ?
We don't want people starting on this project from there either...

I must be blind, can not find anything about pci_module_init. Please point me to it.
I removed an entry with it a month ago when the pci_module_init-removal patch got into mainline and have not seen anything about it since then.

Richard Knutsson

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors

#6 lore raw
In reply to linux newbie
Quoted 26 lines · On Thu, 24 May 2007 21:54:56 +0200 Richard Knutsson wrote:
Quoted 25 lines · Randy Dunlap
Quoted 21 lines · On Thu, 24 May 2007 20:48:28 +0200 Richard Knutsson wrote:
Quoted 7 lines · Randy Dunlap
Quoted 3 lines · On Thu, 24 May 2007 19:55:02 +0200 Richard Knutsson wrote:

linux newbie wrote:

Quoted 10 lines
Quoted 7 lines
Quoted 4 lines

- convert from pci_module_init to pci_register_driver

It has (finally) been completed (at least in the Linus' git-tree).

We need to have that marked as completed or removed, please...

Done (guess you meant on http://kernelnewbies.org/KernelJanitors/Todo).

Quoted 7 lines
Quoted 3 lines

Thanks, but what about the entry at fsdev.net ?
We don't want people starting on this project from there either...

I must be blind, can not find anything about pci_module_init. Please point me to it.
I removed an entry with it a month ago when the pci_module_init-removal patch got into mainline and have not seen anything about it since then.

My bad. I was looking too quickly and read pci_find_device() [at fsdev.net] as pci_module_init(). Sorry about that.

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
_______________________________________________
Kernel-janitors mailing list [email protected]
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors

#7 lore raw
In reply to linux newbie

Hello All,

Thanks for your reply and suggestions.

Is there any updated TODO list where i can choose some item ?.

Thanks
Prakash

Quoted 38 lines · Randy Dunlap
Quoted 17 lines · On Thu, 24 May 2007 21:54:56 +0200 Richard Knutsson wrote:
Quoted 16 lines · Randy Dunlap
Quoted 13 lines · On Thu, 24 May 2007 20:48:28 +0200 Richard Knutsson wrote:
Quoted 11 lines · Randy Dunlap
Quoted 7 lines · On Thu, 24 May 2007 19:55:02 +0200 Richard Knutsson wrote:
Quoted 4 lines · linux newbie

- convert from pci_module_init to pci_register_driver

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 6 lines
Quoted 3 lines

It has (finally) been completed (at least in the Linus' git-tree).

We need to have that marked as completed or removed, please...

Done (guess you meant on http://kernelnewbies.org/KernelJanitors/Todo

).

Quoted 9 lines
Quoted 5 lines
Quoted 1 line

Thanks, but what about the entry at fsdev.net ?
We don't want people starting on this project from there either...

I must be blind, can not find anything about pci_module_init. Please point me to it.
I removed an entry with it a month ago when the pci_module_init-removal patch got into mainline and have not seen anything about it since then.

Quoted 9 lines

My bad. I was looking too quickly and read pci_find_device() [at fsdev.net]
as pci_module_init(). Sorry about that.

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code
***

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors

#8 lore raw
In reply to linux newbie
Quoted 5 lines · Richard Knutsson
Quoted 4 lines · linux newbie
Quoted 2 lines

Looking at pci.txt, it appears that if I use pci_get_device(), I will >

also need to use pci_dev_put().

Quoted 8 lines
Quoted 2 lines

also check using the proper shutdown callback.

If you have not seen it already, there is a wiki:
http://fsdev.net/wiki/index.php?title=Kernel_Janitor%27s_Todo_List

Quoted 3 lines

- convert from pci_module_init to pci_register_driver

It has (finally) been completed (at least in the Linus' git-tree).

in that case, feel free to edit the wiki and remove that entry. no sense leaving it hanging around.

rday

Signature · 11 lines
====================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
====================================
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors
#9 lore raw
In reply to linux newbie
Quoted 4 lines · Richard Knutsson

I must be blind, can not find anything about pci_module_init. Please point me to it.
I removed an entry with it a month ago when the pci_module_init-removal patch got into mainline and have not seen anything about it since then.

the only thing at

http://fsdev.net/wiki/index.php?title=Kernel_Janitor%27s_Todo_List

related to PCI is the "cleanup of pci_find_device" under "Obsolete and deprecated stuff". is that still in progress? other than that, there's nothing else PCI-related that i can see.

rday

Signature · 11 lines
====================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
====================================
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors