]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: reduce hard-coded access to ccw channels
authorJulian Wiedmann <jwi@linux.ibm.com>
Thu, 9 Aug 2018 12:47:59 +0000 (14:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Aug 2018 21:02:50 +0000 (14:02 -0700)
commite994add50930d00198edfb0ba9936e66164d9e20
tree142fdfd1d092254a18c00d7156c26321d4ec0a9f
parentd1ad6d3d03549ea001d8e05fb6f4f0346676fe32
s390/qeth: reduce hard-coded access to ccw channels

Where possible use accessor macros and local pointers to access the ccw
channels. This makes it less likely to miss a spot.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core_main.c
drivers/s390/net/qeth_l2_main.c