]> err.no Git - linux-2.6/blobdiff - crypto/blkcipher.c
V4L/DVB (5935): dvb_frontend: Range check of frequency and symbol rate
[linux-2.6] / crypto / blkcipher.c
index 97586afbe63bae5123652c55fe9cc1c6f94018d5..d8f8ec320213a4fc4656ad9340b30ddc904328a0 100644 (file)
@@ -65,7 +65,7 @@ static inline void blkcipher_unmap_dst(struct blkcipher_walk *walk)
 static inline u8 *blkcipher_get_spot(u8 *start, unsigned int len)
 {
        u8 *end_page = (u8 *)(((unsigned long)(start + len - 1)) & PAGE_MASK);
-       return start < end_page ? start : end_page;
+       return start > end_page ? start : end_page;
 }
 
 static inline unsigned int blkcipher_done_slow(struct crypto_blkcipher *tfm,