mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] PPC64: Janitor signature of rtas_call() routine
@ 2004-06-29 20:26 linas
  0 siblings, 0 replies; only message in thread
From: linas @ 2004-06-29 20:26 UTC (permalink / raw)
  To: paulus, paulus; +Cc: linuxppc64-dev, linux-kernel


Hi Paul, 

Can you please apply the following patch to the ameslab ppc64
tree, and/or roll it upwards to the marclello 2.6 tree?  
This path is 100% pure cleanup; no functional changes.

I got irritated when I was given a -1 that was cast to an unsigned
int that was then cast to a signed (64-bit) long, and so I received 
a value of 4 billion instead of -1.  This patch fixes this insanity.

Different files were treating this return code as being signed 
or unsigned, 32-bit or 64-bit.  The 'real' return code is always 
a signed 32-bit quantity, so this patch just makes the usage 
consistent across the board.

Signed-off-by: Linas Vepstas <linas@linas.org>

--linas



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-06-29 20:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-29 20:26 [PATCH] PPC64: Janitor signature of rtas_call() routine linas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®