]> git.baikalelectronics.ru Git - kernel.git/commit
s390/cio: cleanup cmb_enable sysfs attr
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Mon, 7 Sep 2015 17:50:25 +0000 (19:50 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 14 Oct 2015 12:32:02 +0000 (14:32 +0200)
commit88ac0a18e59f7559094b0ac1d4f56793b5646517
tree09a521026818d27426df90c9e2c288ce759d4cd3
parent60b0bd2a7cc10f098471fb81e6d0a7fdd10e8afe
s390/cio: cleanup cmb_enable sysfs attr

Ensure that we hold the ccwlock when accessing private data. Return errors
that occur during measurement enabling to userspace. Apply some cleanups
while at it.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/cmf.c