scripts/spelling.txt: add "an union" pattern and fix typo instances
Fix typos and add the following to the scripts/spelling.txt: an union||a union Link: http://lkml.kernel.org/r/1481573103-11329-5-git-send-email-yamada.masahiro@socionext.com Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
9332ef9dbd
commit
03440c4e5e
@@ -464,7 +464,7 @@ static int convert_variable_fields(Dwarf_Die *vr_die, const char *varname,
|
||||
/* Verify it is a data structure */
|
||||
tag = dwarf_tag(&type);
|
||||
if (tag != DW_TAG_structure_type && tag != DW_TAG_union_type) {
|
||||
pr_warning("%s is not a data structure nor an union.\n",
|
||||
pr_warning("%s is not a data structure nor a union.\n",
|
||||
varname);
|
||||
return -EINVAL;
|
||||
}
|
||||
@@ -479,7 +479,7 @@ static int convert_variable_fields(Dwarf_Die *vr_die, const char *varname,
|
||||
} else {
|
||||
/* Verify it is a data structure */
|
||||
if (tag != DW_TAG_structure_type && tag != DW_TAG_union_type) {
|
||||
pr_warning("%s is not a data structure nor an union.\n",
|
||||
pr_warning("%s is not a data structure nor a union.\n",
|
||||
varname);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
@@ -108,7 +108,7 @@ struct hist_entry {
|
||||
/*
|
||||
* Since perf diff only supports the stdio output, TUI
|
||||
* fields are only accessed from perf report (or perf
|
||||
* top). So make it an union to reduce memory usage.
|
||||
* top). So make it a union to reduce memory usage.
|
||||
*/
|
||||
struct hist_entry_diff diff;
|
||||
struct /* for TUI */ {
|
||||
|
||||
Reference in New Issue
Block a user