diff options
-rw-r--r-- | drivers/s390/cio/device_fsm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/cio/device_fsm.c b/drivers/s390/cio/device_fsm.c index 35e162ba6d54..7756f324fb6f 100644 --- a/drivers/s390/cio/device_fsm.c +++ b/drivers/s390/cio/device_fsm.c | |||
@@ -267,6 +267,7 @@ ccw_device_recog_done(struct ccw_device *cdev, int state) | |||
267 | notify = 1; | 267 | notify = 1; |
268 | } | 268 | } |
269 | /* fill out sense information */ | 269 | /* fill out sense information */ |
270 | memset(&cdev->id, 0, sizeof(cdev->id)); | ||
270 | cdev->id.cu_type = cdev->private->senseid.cu_type; | 271 | cdev->id.cu_type = cdev->private->senseid.cu_type; |
271 | cdev->id.cu_model = cdev->private->senseid.cu_model; | 272 | cdev->id.cu_model = cdev->private->senseid.cu_model; |
272 | cdev->id.dev_type = cdev->private->senseid.dev_type; | 273 | cdev->id.dev_type = cdev->private->senseid.dev_type; |