Commit 8be18297 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] efivars sysfs fix

From: Matt Tolentino <metolent@snoqualmie.dp.intel.com>

This trailing space in sysfs contents is not needed.
parent bc66945a
...@@ -633,7 +633,6 @@ efivar_create_sysfs_entry(unsigned long variable_name_size, ...@@ -633,7 +633,6 @@ efivar_create_sysfs_entry(unsigned long variable_name_size,
*(short_name + strlen(short_name)) = '-'; *(short_name + strlen(short_name)) = '-';
efi_guid_unparse(vendor_guid, short_name + strlen(short_name)); efi_guid_unparse(vendor_guid, short_name + strlen(short_name));
*(short_name + strlen(short_name)) = ' ';
kobject_set_name(&new_efivar->kobj, short_name); kobject_set_name(&new_efivar->kobj, short_name);
kobj_set_kset_s(new_efivar, vars_subsys); kobj_set_kset_s(new_efivar, vars_subsys);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment