summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2020-02-10 12:48:11 +0300
committerVasily Gorbik <gor@linux.ibm.com>2020-02-19 19:26:32 +0300
commite9091ffd6a0aaced111b5d6ead5eaab5cd7101bc (patch)
treed71362ea8a443123ec20874bea2cce7dc1c8d88c /arch
parent140588bfed2727e9a4814211617a79401d74922f (diff)
downloadlinux-e9091ffd6a0aaced111b5d6ead5eaab5cd7101bc.tar.xz
s390/qdio: fill SL with absolute addresses
As the comment says, sl->sbal holds an absolute address. qeth currently solves this through wild casting, while zfcp doesn't care. Handle this properly in the code that actually builds the SL. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Reviewed-by: Alexandra Winter <wintera@linux.ibm.com> Reviewed-by: Steffen Maier <maier@linux.ibm.com> [for qdio] Reviewed-by: Benjamin Block <bblock@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/s390/include/asm/qdio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/include/asm/qdio.h b/arch/s390/include/asm/qdio.h
index 71e3f0146cda..7870cf834533 100644
--- a/arch/s390/include/asm/qdio.h
+++ b/arch/s390/include/asm/qdio.h
@@ -227,7 +227,7 @@ struct qdio_buffer {
* @sbal: absolute SBAL address
*/
struct sl_element {
- unsigned long sbal;
+ u64 sbal;
} __attribute__ ((packed));
/**