Fix printing cache properties in upgrade.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
This commit is contained in:
parent
8e64392298
commit
a48db4aadf
@ -365,7 +365,6 @@ error_after_buffer_allocation:
|
|||||||
|
|
||||||
void cas_properties_print(struct cas_properties *props)
|
void cas_properties_print(struct cas_properties *props)
|
||||||
{
|
{
|
||||||
int result = 0;
|
|
||||||
struct list_head *curr;
|
struct list_head *curr;
|
||||||
struct _cas_property *entry;
|
struct _cas_property *entry;
|
||||||
char *abc;
|
char *abc;
|
||||||
@ -387,8 +386,9 @@ void cas_properties_print(struct cas_properties *props)
|
|||||||
case cas_property_uint:
|
case cas_property_uint:
|
||||||
printk(", uint, ");
|
printk(", uint, ");
|
||||||
printk("Value: %llu ", entry->value_uint);
|
printk("Value: %llu ", entry->value_uint);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
result = -EINVAL;
|
printk("Invalid type!");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
printk("\n");
|
printk("\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user