forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
efi: Rename efi_guid_unparse to efi_guid_to_str
Call it what it does - "unparse" is plain-misleading. Signed-off-by: Borislav Petkov <[email protected]> Signed-off-by: Ricardo Neri <[email protected]>
- Loading branch information
1 parent
0e4ca02
commit 26e0227
Showing
5 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,7 @@ | |
* fix locking per Peter Chubb's findings | ||
* | ||
* 25 Mar 2002 - Matt Domsch <[email protected]> | ||
* move uuid_unparse() to include/asm-ia64/efi.h:efi_guid_unparse() | ||
* move uuid_unparse() to include/asm-ia64/efi.h:efi_guid_to_str() | ||
* | ||
* 12 Feb 2002 - Matt Domsch <[email protected]> | ||
* use list_for_each_safe when deleting vars. | ||
|
@@ -128,7 +128,7 @@ efivar_guid_read(struct efivar_entry *entry, char *buf) | |
if (!entry || !buf) | ||
return 0; | ||
|
||
efi_guid_unparse(&var->VendorGuid, str); | ||
efi_guid_to_str(&var->VendorGuid, str); | ||
str += strlen(str); | ||
str += sprintf(str, "\n"); | ||
|
||
|
@@ -569,7 +569,7 @@ efivar_create_sysfs_entry(struct efivar_entry *new_var) | |
private variables from another's. */ | ||
|
||
*(short_name + strlen(short_name)) = '-'; | ||
efi_guid_unparse(&new_var->var.VendorGuid, | ||
efi_guid_to_str(&new_var->var.VendorGuid, | ||
short_name + strlen(short_name)); | ||
|
||
new_var->kobj.kset = efivars_kset; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters