Re: [PATCH] x86: fix -Wsign-compare warnings in uaccess.h

2015-06-27 Thread Роман Донченко
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

Re: [PATCH] x86: fix -Wsign-compare warnings in uaccess.h

2015-06-27 Thread Toralf Förster
>The casts are safe, since those conditions are only evaluated when sz >= 0. Wouldn't in this case the condition "sz < 0" be superfluously ? -- Toralf pgp key: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 0076 E94E -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the b