Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[S390] dcss: Fix Unlikely(x) != y

Fix Unlikely(x) != y

Cc: Gerald Schaefer <geraldsc@de.ibm.com>
Cc: Stefan Weinhuber <wein@de.ibm.com>
Cc: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

authored by

Roel Kluin and committed by
Martin Schwidefsky
39f73b28 d082d3ce

+1 -1
+1 -1
drivers/s390/block/dcssblk.c
··· 666 666 page_addr = (unsigned long) 667 667 page_address(bvec->bv_page) + bvec->bv_offset; 668 668 source_addr = dev_info->start + (index<<12) + bytes_done; 669 - if (unlikely(page_addr & 4095) != 0 || (bvec->bv_len & 4095) != 0) 669 + if (unlikely((page_addr & 4095) != 0) || (bvec->bv_len & 4095) != 0) 670 670 // More paranoia. 671 671 goto fail; 672 672 if (bio_data_dir(bio) == READ) {