s390/qeth: clean up string ops in qeth_l3_parse_ipatoe()
authorJulian Wiedmann <jwi@linux.ibm.com>
Wed, 23 Sep 2020 08:36:54 +0000 (10:36 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Sep 2020 19:07:54 +0000 (12:07 -0700)
commitbcdfdf00471601c4c2f8a01b32ee03630cc1c734
tree975d79c4ee96be82243827c3bc20bf2a39713a46
parentd6e6426f69b3225af8d992ec6bc66fb3fd4c4196
s390/qeth: clean up string ops in qeth_l3_parse_ipatoe()

Indicate the max number of to-be-parsed characters, and avoid copying
the address sub-string.

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