lkml.org 
[lkml]   [2015]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] x86: fix -Wsign-compare warnings in uaccess.h
Date
>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


\
 
 \ /
  Last update: 2015-06-27 21:21    [W:0.026 / U:0.708 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site