]> git.baikalelectronics.ru Git - kernel.git/commit
s390/cio: Refactor the routine that handles TIC CCWs
authorEric Farman <farman@linux.ibm.com>
Thu, 6 Jun 2019 20:28:24 +0000 (22:28 +0200)
committerCornelia Huck <cohuck@redhat.com>
Mon, 17 Jun 2019 11:28:50 +0000 (13:28 +0200)
commitc753e414f2e21c62f5f38c45dff9f94d758d13f5
tree5d324ee4495974d5dd40f511d17101b52ea20d76
parent78cb3630a379491ecd2d5199b040caf2617d5e58
s390/cio: Refactor the routine that handles TIC CCWs

Extract the "does the target of this TIC already exist?" check from
ccwchain_handle_tic(), so that it's easier to refactor that function
into one that cp_init() is able to use.

Signed-off-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Message-Id: <20190606202831.44135-3-farman@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
drivers/s390/cio/vfio_ccw_cp.c