s390: proper type casts for csum_partial invocations
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 20 Dec 2016 15:08:05 +0000 (16:08 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 16 Jan 2017 06:27:53 +0000 (07:27 +0100)
commit90b3baa232ea6938ab707e3db2e90609494e6c54
tree9f7354cdb8123b8263fde991e8b52c83ea0a9808
parentdd695546603e8f984137d4dc806dd12e19b6bc27
s390: proper type casts for csum_partial invocations

Keep sparse and other static code checkers from emitting warnings like:

arch/s390/kernel/ipl.c:1549:14: warning: incorrect type in assignment (different base types)
arch/s390/kernel/ipl.c:1549:14:    expected unsigned int [unsigned] csum
arch/s390/kernel/ipl.c:1549:14:    got restricted __wsum

All usages in s390 code are ok. Therefore add proper casts.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/ipl.c
arch/s390/kernel/os_info.c
drivers/s390/char/zcore.c