summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2020-02-10 10:48:11 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-11 14:14:54 +0100
commit9623c8ae73c42eab6849ad97b8dfd02bd8b9b1d7 (patch)
treeb889508ccbec954d90ed01e7da87099e27105382 /arch
parentd71f8bd18cdfd8b5ea94acbd6248951d51e3770b (diff)
downloadlinux-stable-9623c8ae73c42eab6849ad97b8dfd02bd8b9b1d7.tar.gz
linux-stable-9623c8ae73c42eab6849ad97b8dfd02bd8b9b1d7.tar.bz2
linux-stable-9623c8ae73c42eab6849ad97b8dfd02bd8b9b1d7.zip
s390/qdio: fill SL with absolute addresses
[ Upstream commit e9091ffd6a0aaced111b5d6ead5eaab5cd7101bc ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
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 9c9970a5dfb1..1f2cd98dcb05 100644
--- a/arch/s390/include/asm/qdio.h
+++ b/arch/s390/include/asm/qdio.h
@@ -228,7 +228,7 @@ struct qdio_buffer {
* @sbal: absolute SBAL address
*/
struct sl_element {
- unsigned long sbal;
+ u64 sbal;
} __attribute__ ((packed));
/**