linux/drivers/s390
Peter Oberparleiter 89a2a8e76b 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>
2015-05-18 12:14:18 -04:00
..
block s390/dasd: Fix unresumed device after suspend/resume having no paths 2015-04-15 12:23:51 +02:00
char s390/3215: free memory in error path 2015-04-23 16:55:50 +02:00
cio s390: remove use of seq_printf return value 2015-04-15 16:35:25 -07:00
crypto s390: remove test_facility(2) (== z/Architecture mode active) checks 2015-03-25 11:49:37 +01:00
kvm virtio_ccw: support non-legacy balloon devices 2015-04-15 12:41:11 +09:30
net s390/lcs: Fix null-pointer access in msg 2015-05-18 12:14:18 -04:00
scsi mm, mempool: do not allow atomic resizing 2015-04-14 16:49:06 -07:00
Makefile