@@ -109,7 +109,7 @@ static __always_inline bool get_current_context(struct tdescr *td,if(seen_already){fprintf(stdout,"Unexpected successful sigreturn detected: live_uc is stale !\n");-return0;+returnfalse;}seen_already=1;
We can't accept this patch. The from and Signed-off-by don't match.
thanks,
-- Shuah
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
if (seen_already) {
fprintf(stdout,
"Unexpected successful sigreturn detected: live_uc is stale !\n");
- return 0;
+ return false;
The change is fine. However, the function doc references to return 1/0
needs updates as well.
* 1. grab a valid sigcontext into td->live_uc for result analysis: in
* such case it returns 1.
*
* 2. detect if, somehow, a previously grabbed live_uc context has been
* used actively with a sigreturn: in such a case the execution would have
* magically resumed in the middle of this function itself (seen_already==1):
* in such a case return 0, since in fact we have not just simply grabbed
* the context.
thanks,
-- Shuah
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel