···224224 set_fs(fs);225225226226 /* Found a board, allocate it an entry in the list */227227- dev = kmalloc(sizeof(struct dio_dev), GFP_KERNEL);227227+ dev = kzalloc(sizeof(struct dio_dev), GFP_KERNEL);228228 if (!dev)229229 return 0;230230231231- memset(dev, 0, sizeof(struct dio_dev));232231 dev->bus = &dio_bus;233232 dev->dev.parent = &dio_bus.dev;234233 dev->dev.bus = &dio_bus_type;