summaryrefslogtreecommitdiff
path: root/drivers/s390/char
diff options
context:
space:
mode:
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>2016-03-03 11:48:47 +0300
committerChristian Borntraeger <borntraeger@de.ibm.com>2016-06-10 13:07:20 +0300
commitf9cbd9b02539330ddd349df583fcfc2db8a23b90 (patch)
treec4a49b793c57ec1cf50bf3ecc8a8442d4880de8a /drivers/s390/char
parentc24cc9c8a6ca798427d3ff46b55df8403361df3e (diff)
downloadlinux-f9cbd9b02539330ddd349df583fcfc2db8a23b90.tar.xz
KVM: s390: provide CMMA attributes only if available
Let's not provide the device attribute for cmma enabling and clearing if the hardware doesn't support it. This also helps getting rid of the undocumented return value "-EINVAL" in case CMMA is not available when trying to enable it. Also properly document the meaning of -EINVAL for CMMA clearing. Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'drivers/s390/char')
0 files changed, 0 insertions, 0 deletions