summaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/qeth_core.h
diff options
context:
space:
mode:
authorJulian Wiedmann2019-04-25 18:25:57 +0200
committerDavid S. Miller2019-04-26 17:14:06 +0200
commit379ac99e5192f98c560b22ae2a3dbaa97c043cc8 (patch)
tree9fb377b3255290cd0f86a2ba53604067ff630326 /drivers/s390/net/qeth_core.h
parents390/qeth: clean up stale buffer state documentation (diff)
downloadkernel-qcow2-linux-379ac99e5192f98c560b22ae2a3dbaa97c043cc8.tar.gz
kernel-qcow2-linux-379ac99e5192f98c560b22ae2a3dbaa97c043cc8.tar.xz
kernel-qcow2-linux-379ac99e5192f98c560b22ae2a3dbaa97c043cc8.zip
s390/qeth: use IS_* helpers for checking device type
We have helper macros for all possible device types, replace all remaining open-coded accesses to the type fields. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_core.h')
-rw-r--r--drivers/s390/net/qeth_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_core.h b/drivers/s390/net/qeth_core.h
index 16c8049672b7..92441593caf3 100644
--- a/drivers/s390/net/qeth_core.h
+++ b/drivers/s390/net/qeth_core.h
@@ -667,7 +667,7 @@ struct qeth_card_info {
__u16 func_level;
char mcl_level[QETH_MCL_LENGTH + 1];
u8 open_when_online:1;
- int guestlan;
+ u8 is_vm_nic:1;
int mac_bits;
enum qeth_card_types type;
enum qeth_link_types link_type;