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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user