Skip to contentSkip to conversation

s390/cio: Use cpa range elsewhere within vfio-ccw

PATCH Cornelia Huck 1 participant 1 message Feb 25, 2019 1 message not in the archive s390

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 11 lines · On Fri, 22 Feb 2019 19:39:41 +0100 Eric Farman <[email protected]> wrote:

Since we have a little function to see whether a channel program address falls within a range of CCWs, let's use it in the other places of code that make these checks.

(Why isn't ccw_head fully removed? Well, because this way some longs lines don't have to be reflowed.)

---
 drivers/s390/cio/vfio_ccw_cp.c | 18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

Also looks good to me.

I'll be happy to queue these (but would like another R-b or so.)