Re: [PATCH] powerpc:beyond ARRAY_SIZE of args.args

2009-05-21 Thread Paul Mackerras
Roel Kluin writes: > Do not go beyond ARRAY_SIZE of args.args > > Signed-off-by: Roel Kluin > --- > I'm quite sure the first is correct, but should maybe `args.nret' > and `nargs + args.nret' also be `>= ARRAY_SIZE(args.args)'? I don't think this change is needed, and it changes a user-visible

[PATCH] powerpc:beyond ARRAY_SIZE of args.args

2009-05-21 Thread Roel Kluin
Do not go beyond ARRAY_SIZE of args.args Signed-off-by: Roel Kluin --- I'm quite sure the first is correct, but should maybe `args.nret' and `nargs + args.nret' also be `>= ARRAY_SIZE(args.args)'? diff --git a/arch/powerpc/kernel/rtas.c b/arch/powerpc/kernel/rtas.c index 1f8505c..c94ab76 100644