[CRYPTO] blkcipher: Fix inverted test in blkcipher_get_spot

The previous patch had the conditional inverted. This patch fixes it
so that we return the original position if it does not straddle a page.

Thanks to Bob Gilligan for spotting this.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

+1 -1
+1 -1
crypto/blkcipher.c
··· 65 static inline u8 *blkcipher_get_spot(u8 *start, unsigned int len) 66 { 67 u8 *end_page = (u8 *)(((unsigned long)(start + len - 1)) & PAGE_MASK); 68 - return start < end_page ? start : end_page; 69 } 70 71 static inline unsigned int blkcipher_done_slow(struct crypto_blkcipher *tfm,
··· 65 static inline u8 *blkcipher_get_spot(u8 *start, unsigned int len) 66 { 67 u8 *end_page = (u8 *)(((unsigned long)(start + len - 1)) & PAGE_MASK); 68 + return start > end_page ? start : end_page; 69 } 70 71 static inline unsigned int blkcipher_done_slow(struct crypto_blkcipher *tfm,