Skip to contentSkip to conversation

KernelJanitor: Convert remaining error returns to return -E Linux 2.5.68

PATCH Randy.Dunlap 4 participants 5 messages Apr 29, 2003 – May 1, 2003

lore
Share & tools
lore
#0 lore raw

On Tue, 29 Apr 2003 23:08:30 +0000 Gabriel Devenyi <[email protected]> wrote:

| Thanks for the suggestions, I'm kinda new at this and just following the TODO 
| which unfortuately says "sed s/return EWHATEVER/return -EWHATEVER/". I'll 
| work on checking the things you suggested. As for your other questions, the 
| kernel did build but I didn't attempt to boot it, I'll be sure to do so in 
| the future. Thanks for the encouragement.
| 
| P.S. Anyone who works on KernelJanitor, kj.pl is suggesting some of the things 
| I'm changing which aparently I shouldn't.

The kernel-janitor TODO should be your guide. However, it needs some updating too, so the best thing to do is ask about things on [email protected] before you spend time on them.

[item updates are welcome]

--
~Randy

#1 lore raw
Quoted 12 lines · Randy.Dunlap

On Tue, 29 Apr 2003 23:08:30 +0000 Gabriel Devenyi <[email protected]> wrote:

| Thanks for the suggestions, I'm kinda new at this and just following the TODO 
| which unfortuately says "sed s/return EWHATEVER/return -EWHATEVER/". I'll 
| work on checking the things you suggested. As for your other questions, the 
| kernel did build but I didn't attempt to boot it, I'll be sure to do so in 
| the future. Thanks for the encouragement.
| 
| P.S. Anyone who works on KernelJanitor, kj.pl is suggesting some of the things 
| I'm changing which aparently I shouldn't.
Quoted 5 lines

The kernel-janitor TODO should be your guide. However, it needs some updating too, so the best thing to do is ask about things on [email protected] before you spend time on them.

[item updates are welcome]

Well... Turn that one into
* try and convince XFS folks that they want to use negative numbers
for error values (will be tricky - they really don't like to diverge from IRIX codebase)
* ditto for JFS - again, a bunch of functions use positive error
values.
* oprofile init on alpha should be returning negative in case of
failure to follow the common conventions.

AFAICS that's it.

#2 lore raw
Quoted 2 lines · On Wed, Apr 30, 2003 at 01:02:36AM +0100…

* oprofile init on alpha should be returning negative in case of
failure to follow the common conventions.

I noticed this yesterday and the change is in my tree already.

regards,
john

#3 lore raw
In reply to [email protected]
Quoted 2 lines · On Tuesday 29 April 2003 19:02, [email protected] wrote:

* ditto for JFS - again, a bunch of functions use positive error
values.

Yeah, we've changed some of this from the way it was in OS/2, but we haven't gone through everything. I'll put it on my todo list.

Thanks,
Shaggy

Signature · 2 lines
David Kleikamp
IBM Linux Technology Center
#4 lore raw
In reply to [email protected]
Quoted 29 lines · Randy.Dunlap
Quoted 13 lines

On Tue, 29 Apr 2003 23:08:30 +0000 Gabriel Devenyi <[email protected]> wrote:

| Thanks for the suggestions, I'm kinda new at this and just following the TODO | which unfortuately says "sed s/return EWHATEVER/return -EWHATEVER/". I'll | work on checking the things you suggested. As for your other questions, the | kernel did build but I didn't attempt to boot it, I'll be sure to do so in | the future. Thanks for the encouragement. |
| P.S. Anyone who works on KernelJanitor, kj.pl is suggesting some of the things | I'm changing which aparently I shouldn't.

Quoted 5 lines

The kernel-janitor TODO should be your guide. However, it needs some updating too, so the best thing to do is ask about things on [email protected] before you spend time on them.

[item updates are welcome]

Well... Turn that one into
* try and convince XFS folks that they want to use negative numbers
for error values (will be tricky - they really don't like to diverge from IRIX codebase)
* ditto for JFS - again, a bunch of functions use positive error
values.
* oprofile init on alpha should be returning negative in case of
failure to follow the common conventions.

Quoted 1 line

AFAICS that's it.

OK, did that. and thanks.

The updated KJ TODO will be available shortly.

~Randy