Initialize structures with 0.

If 'open_cores' flag is not explicite set, cores migth not be added on cache
load.

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
This commit is contained in:
Michal Mielewczyk
2019-07-02 09:30:35 -04:00
parent 3c94734d4e
commit c1b5ccbc75
2 changed files with 5 additions and 2 deletions

View File

@@ -61,7 +61,7 @@ long cas_service_ioctl_ctrl(struct file *filp, unsigned int cmd,
struct kcas_start_cache *cmd_info;
struct ocf_mngt_cache_config cfg;
struct ocf_mngt_cache_device_config device_cfg;
struct atomic_dev_params atomic_params = { 0 };
struct atomic_dev_params atomic_params;
GET_CMD_INFO(cmd_info, arg);