Message ID | 20200930095321.2006-6-zhaolichang@huawei.com |
---|---|
State | New |
Headers | show |
Series | fix some comment spelling errors | expand |
On Wednesday, 2020-09-30 at 17:53:12 +08, zhaolichang wrote: > I found that there are many spelling errors in the comments of qemu/target/tricore. > I used spellcheck to check the spelling errors and found some errors in the folder. > > Signed-off-by: zhaolichang <zhaolichang@huawei.com> Reviewed-by: David Edmondson <david.edmondson@oracle.com> > --- > target/s390x/ioinst.c | 2 +- > target/tricore/csfr.def | 2 +- > target/tricore/translate.c | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/target/s390x/ioinst.c b/target/s390x/ioinst.c > index a412926..c576d85 100644 > --- a/target/s390x/ioinst.c > +++ b/target/s390x/ioinst.c > @@ -279,7 +279,7 @@ void ioinst_handle_stsch(S390CPU *cpu, uint64_t reg1, uint32_t ipb, > /* > * As operand exceptions have a lower priority than access exceptions, > * we check whether the memory area is writeable (injecting the > - * access execption if it is not) first. > + * access exception if it is not) first. > */ > if (!s390_cpu_virt_mem_check_write(cpu, addr, ar, sizeof(schib))) { > s390_program_interrupt(env, PGM_OPERAND, ra); > diff --git a/target/tricore/csfr.def b/target/tricore/csfr.def > index ff004cb..cdfaf1d 100644 > --- a/target/tricore/csfr.def > +++ b/target/tricore/csfr.def > @@ -1,4 +1,4 @@ > -/* A(ll) access permited > +/* A(ll) access permitted > R(ead only) access > E(nd init protected) access > > diff --git a/target/tricore/translate.c b/target/tricore/translate.c > index 7752630..c9c420d 100644 > --- a/target/tricore/translate.c > +++ b/target/tricore/translate.c > @@ -397,7 +397,7 @@ static inline void gen_mfcr(DisasContext *ctx, TCGv ret, int32_t offset) > #undef E > > #define R(ADDRESS, REG, FEATURE) /* don't gen writes to read-only reg, > - since no execption occurs */ > + since no exception occurs */ > #define A(ADDRESS, REG, FEATURE) R(ADDRESS, REG, FEATURE) \ > case ADDRESS: \ > if (has_feature(ctx, FEATURE)) { \ > -- > 2.26.2.windows.1 dme. -- If I could buy my reasoning, I'd pay to lose.
diff --git a/target/s390x/ioinst.c b/target/s390x/ioinst.c index a412926..c576d85 100644 --- a/target/s390x/ioinst.c +++ b/target/s390x/ioinst.c @@ -279,7 +279,7 @@ void ioinst_handle_stsch(S390CPU *cpu, uint64_t reg1, uint32_t ipb, /* * As operand exceptions have a lower priority than access exceptions, * we check whether the memory area is writeable (injecting the - * access execption if it is not) first. + * access exception if it is not) first. */ if (!s390_cpu_virt_mem_check_write(cpu, addr, ar, sizeof(schib))) { s390_program_interrupt(env, PGM_OPERAND, ra); diff --git a/target/tricore/csfr.def b/target/tricore/csfr.def index ff004cb..cdfaf1d 100644 --- a/target/tricore/csfr.def +++ b/target/tricore/csfr.def @@ -1,4 +1,4 @@ -/* A(ll) access permited +/* A(ll) access permitted R(ead only) access E(nd init protected) access diff --git a/target/tricore/translate.c b/target/tricore/translate.c index 7752630..c9c420d 100644 --- a/target/tricore/translate.c +++ b/target/tricore/translate.c @@ -397,7 +397,7 @@ static inline void gen_mfcr(DisasContext *ctx, TCGv ret, int32_t offset) #undef E #define R(ADDRESS, REG, FEATURE) /* don't gen writes to read-only reg, - since no execption occurs */ + since no exception occurs */ #define A(ADDRESS, REG, FEATURE) R(ADDRESS, REG, FEATURE) \ case ADDRESS: \ if (has_feature(ctx, FEATURE)) { \
I found that there are many spelling errors in the comments of qemu/target/tricore. I used spellcheck to check the spelling errors and found some errors in the folder. Signed-off-by: zhaolichang <zhaolichang@huawei.com> --- target/s390x/ioinst.c | 2 +- target/tricore/csfr.def | 2 +- target/tricore/translate.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)