The casts are safe, since those conditions are only evaluated when sz >= 0.
Signed-off-by: Роман Донченко
---
arch/x86/include/asm/uaccess.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/include/asm/uaccess.h b/arch/x86/include/asm/uaccess.h
index a8df
Toralf Förster писал в своём письме Sat, 27 Jun
2015 22:16:27 +0300:
The casts are safe, since those conditions are only evaluated when sz
>= 0.
Wouldn't in this case the condition "sz < 0" be superfluously ?
No, sz can be negative. I meant that if sz < 0, then the second halves
won't
2 matches
Mail list logo