Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1173409

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

From Toralf Förster <toralf.foerster@gmx.de>
Newsgroups linux.kernel
Subject Re: [PATCH] x86: fix -Wsign-compare warnings in uaccess.h
Date 2015-06-27 21:20 +0200
Message-ID <pG3NU-6vb-15@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


>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 body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH] x86: fix -Wsign-compare warnings in uaccess.h Toralf Förster <toralf.foerster@gmx.de> - 2015-06-27 21:20 +0200
  Re: [PATCH] x86: fix -Wsign-compare warnings in uaccess.h Роман Донченко   <dpb@corrigendum.ru> - 2015-06-27 21:30 +0200

csiph-web