]> git.baikalelectronics.ru Git - kernel.git/commit
s390/dasd: handle request magic consistently as unsigned int
authorHeiko Carstens <hca@linux.ibm.com>
Wed, 20 Oct 2021 11:51:18 +0000 (13:51 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 20 Oct 2021 14:10:41 +0000 (08:10 -0600)
commit9e42f9180fb467360094dcf2daa9b137d87b01c6
treec2661175b9e2b380488645db74ff61d825d4d155
parent87786606e7368d1c7a6ac5f33cf31954ee9cdf2f
s390/dasd: handle request magic consistently as unsigned int

Get rid of the rather odd casts to character pointer of the
dasd_ccw_req magic member and simply use the unsigned int value
unmodified everywhere.

Acked-by: Jan Höppner <hoeppner@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Stefan Haberland <sth@linux.ibm.com>
Link: https://lore.kernel.org/r/20211020115124.1735254-2-sth@linux.ibm.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/s390/block/dasd_3990_erp.c
drivers/s390/block/dasd_erp.c
drivers/s390/block/dasd_int.h