[PATCH] powerpc/rtas: Replace magic values with defines

2015-07-22 Thread Thomas Huth
rtas.h already has some nice #defines for RTAS return status codes - let's use them instead of hard-coded "magic" values! Signed-off-by: Thomas Huth --- arch/powerpc/kernel/rtas.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/kernel/rtas.c b/arch/powerp

Re: powerpc/rtas: Replace magic values with defines

2015-08-02 Thread Michael Ellerman
On Wed, 2015-22-07 at 16:56:47 UTC, Thomas Huth wrote: > rtas.h already has some nice #defines for RTAS return status > codes - let's use them instead of hard-coded "magic" values! > > Signed-off-by: Thomas Huth > Reviewed-by: Tyrel Datwyler Applied to powerpc next, thanks. https://git.kernel.

Re: [PATCH] powerpc/rtas: Replace magic values with defines

2015-07-22 Thread Tyrel Datwyler
On 07/22/2015 09:56 AM, Thomas Huth wrote: > rtas.h already has some nice #defines for RTAS return status > codes - let's use them instead of hard-coded "magic" values! > > Signed-off-by: Thomas Huth Reviewed-by: Tyrel Datwyler > --- > arch/powerpc/kernel/rtas.c | 8 +--- > 1 file changed