s390/dcssblk: use IS_ALIGNED() for alignment checks
authorAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 11 Jul 2023 15:59:42 +0000 (17:59 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 24 Jul 2023 10:12:23 +0000 (12:12 +0200)
commit04b8698ae879b88f96c083292f328bd31b555422
treedfe1491996dc07e95bf3685eac556f2d54f70fe1
parentb9b4568843bb6ceee85bf1280473f510701c82e2
s390/dcssblk: use IS_ALIGNED() for alignment checks

Use IS_ALIGNED() instead of cumbersome bit manipulations.

Reviewed-by: Gerald Schaefer <gerald.schaefer@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/block/dcssblk.c