aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel
diff options
context:
space:
mode:
authorDong Jia Shi <bjsdjshi@linux.vnet.ibm.com>2017-10-11 04:38:22 +0200
committerCornelia Huck <cohuck@redhat.com>2017-10-16 11:14:48 +0200
commit4cebc5d6a6ff41c0266d235aa4854b062d34ad09 (patch)
tree41b1f670f9cefb1f8a0aa118f59bccb8983bf3dd /arch/s390/kernel
parentvfio: ccw: bypass bad idaw address when fetching IDAL ccws (diff)
downloadlinux-dev-4cebc5d6a6ff41c0266d235aa4854b062d34ad09.tar.xz
linux-dev-4cebc5d6a6ff41c0266d235aa4854b062d34ad09.zip
vfio: ccw: validate the count field of a ccw before pinning
If the count field of a ccw is zero, there is no need to try to pin page(s) for it. Let's check the count value before starting pinning operations. Reviewed-by: Pierre Morel <pmorel@linux.vnet.ibm.com> Signed-off-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com> Message-Id: <20171011023822.42948-3-bjsdjshi@linux.vnet.ibm.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'arch/s390/kernel')
0 files changed, 0 insertions, 0 deletions