[BK PATCH] irqreturn_t unsignedness

Jeff Garzik (jgarzik@pobox.com)
Sat, 26 Apr 2003 00:17:20 -0400


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-20879-1051330735-0001-2
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

--=_courier-20879-1051330735-0001-2
Content-Type: text/plain; name="irq-return-2.5.txt"; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="irq-return-2.5.txt"

Linus, please do a

bk pull bk://kernel.bkbits.net/jgarzik/irq-return-2.5

This will update the following files:

include/linux/interrupt.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

through these ChangeSets:

<jgarzik@redhat.com> (03/04/25 1.1252)
s/int/unsigned int/ for irqreturn_t definition.

Pragmatic change. Would prefer to make it now rather than later.
Though sign-extension problems are unlikely, I prefer 'unsigned int'
because it occasionally generates better code, and 'int' occasionally
generates sub-optimal code (because the compiler cannot rule out
negative values during optimization).

Better still would be to indicate the variable's true range
via _Bool: zero, and non-zero, but I did not make that change
here.

--=_courier-20879-1051330735-0001-2--