Skip to contentSkip to conversation

riscv: cacheinfo: fix typo of homogenous

PATCH Superseded hasheddan 3 participants 4 messages Oct 8, 2021 – Oct 25, 2021 RISC-V

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

hasheddan

author
#0 lore raw

PATCH 1/1 riscv: cacheinfo: fix typo of homogenous

Updates 'homonogenous' to 'homogenous' in comment.

---
 arch/riscv/kernel/cacheinfo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/kernel/cacheinfo.c +1 -1
index 90deabfe63ea..ff98546b1152 100644
@@ -29,7 +29,7 @@ static struct cacheinfo *get_cacheinfo(u32 level, enum cache_type type)
 	/*
 	 * Using raw_smp_processor_id() elides a preemptability check, but this
 	 * is really indicative of a larger problem: the cacheinfo UABI assumes
-	 * that cores have a homonogenous view of the cache hierarchy.  That
+	 * that cores have a homogenous view of the cache hierarchy.  That
 	 * happens to be the case for the current set of RISC-V systems, but
 	 * likely won't be true in general.  Since there's no way to provide
 	 * correct information for these systems via the current UABI we're
Signature · 1 line
2.25.1
maintainer
#1 lore raw
Quoted 1 line · On Fri, 08 Oct 2021 13:56:25 PDT (-0700), [email protected] wrote:

Updates 'homonogenous' to 'homogenous' in comment.

I don't really know spelling that well, but checkpatch says

WARNING: 'homogenous' may be misspelled - perhaps 'homogeneous'?

when applying this. It looks like they're both words, but "homogeneous" is the right one?

Quoted 19 lines
---
 arch/riscv/kernel/cacheinfo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/kernel/cacheinfo.c +1 -1
index 90deabfe63ea..ff98546b1152 100644
@@ -29,7 +29,7 @@ static struct cacheinfo *get_cacheinfo(u32 level, enum cache_type type)
 	/*
 	 * Using raw_smp_processor_id() elides a preemptability check, but this
 	 * is really indicative of a larger problem: the cacheinfo UABI assumes
-	 * that cores have a homonogenous view of the cache hierarchy.  That
+	 * that cores have a homogenous view of the cache hierarchy.  That
 	 * happens to be the case for the current set of RISC-V systems, but
 	 * likely won't be true in general.  Since there's no way to provide
 	 * correct information for these systems via the current UABI we're
#2 lore raw
Quoted 9 lines · Palmer Dabbelt
Quoted 1 line · On Fri, 08 Oct 2021 13:56:25 PDT (-0700), [email protected] wrote:

Updates 'homonogenous' to 'homogenous' in comment.

I don't really know spelling that well, but checkpatch says

   WARNING: 'homogenous' may be misspelled - perhaps 'homogeneous'?

when applying this.  It looks like they're both words, but "homogeneous" is the right one?

Internet search to grammar.com says:

To summarise, Earlier, homogenous was used as a scientific term, mainly in biology, but now it is almost obsolete, being replaced by homologous. Whereas, homogeneous is a common word, very much in use and means having similar or comparable characteristics.

Several web sites agree that homogeneous is currently preferable.

Quoted 19 lines
Quoted 19 lines

---
 arch/riscv/kernel/cacheinfo.c | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/kernel/cacheinfo.c +1 -1
index 90deabfe63ea..ff98546b1152 100644
@@ -29,7 +29,7 @@ static struct cacheinfo *get_cacheinfo(u32 level, enum cache_type type)
      /*
       * Using raw_smp_processor_id() elides a preemptability check, but this
       * is really indicative of a larger problem: the cacheinfo UABI assumes
-     * that cores have a homonogenous view of the cache hierarchy.  That
+     * that cores have a homogenous view of the cache hierarchy.  That
       * happens to be the case for the current set of RISC-V systems, but
       * likely won't be true in general.  Since there's no way to provide
       * correct information for these systems via the current UABI we're
Signature · 1 line
~Randy
#3 lore raw

Thanks for the feedback folks! I have sent a v2 patch.

Dan

Quoted 41 lines · Randy Dunlap
Quoted 9 lines · Palmer Dabbelt
Quoted 1 line · On Fri, 08 Oct 2021 13:56:25 PDT (-0700), [email protected] wrote:

Updates 'homonogenous' to 'homogenous' in comment.

I don't really know spelling that well, but checkpatch says

WARNING: 'homogenous' may be misspelled - perhaps 'homogeneous'?

when applying this. It looks like they're both words, but "homogeneous" is the right one?

Internet search to grammar.com says:

To summarise, Earlier, homogenous was used as a scientific term, mainly in biology, but now it is almost obsolete, being replaced by homologous. Whereas, homogeneous is a common word, very much in use and means having similar or comparable characteristics.

Several web sites agree that homogeneous is currently preferable.

Quoted 6 lines
Quoted 6 lines
---
 arch/riscv/kernel/cacheinfo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 13 lines

arch/riscv/kernel/cacheinfo.c static struct cacheinfo *get_cacheinfo(u32 level, enum cache_type type) · line 35

Quoted 13 lines
arch/riscv/kernel/cacheinfo.c +1 -1
index 90deabfe63ea..ff98546b1152 100644
@@ -29,7 +29,7 @@ static struct cacheinfo *get_cacheinfo(u32 level, enum cache_type type)
     /*
      * Using raw_smp_processor_id() elides a preemptability check, but this
      * is really indicative of a larger problem: the cacheinfo UABI assumes
-     * that cores have a homonogenous view of the cache hierarchy.  That
+     * that cores have a homogenous view of the cache hierarchy.  That
      * happens to be the case for the current set of RISC-V systems, but
      * likely won't be true in general.  Since there's no way to provide
      * correct information for these systems via the current UABI we're

--
~Randy