diff options
author | Peter Oberparleiter <oberpar@linux.vnet.ibm.com> | 2015-05-18 14:27:59 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-18 12:14:18 -0400 |
commit | 89a2a8e76b8193fe282c472f1da259e0075476f7 (patch) | |
tree | eb82999f0d5a38e378a022c2d0dd651032d4d4f7 /fs/nfs/dns_resolve.c | |
parent | ffb9525141bc2f16badef715bd0fabd0cd66450e (diff) | |
download | linux-89a2a8e76b8193fe282c472f1da259e0075476f7.tar.bz2 |
s390/lcs: Fix null-pointer access in msg
An attempt to configure a CTC device as LCS results in the
following error message:
(null): Detecting a network adapter for LCS devices failed
with rc=-5 (0xfffffffb)
"(null)" results from access to &card->dev->dev in lcs_new_device()
which is only initialized later in the function. Fix this by using
&ccwgdev->dev instead which is initialized before lcs_new_device()
is called.
Signed-off-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/nfs/dns_resolve.c')
0 files changed, 0 insertions, 0 deletions