On 5/5/22 11:50, Peter Maydell wrote:
We have about 30 instances of the typo/variant spelling 'writeable',
and over 500 of the more common 'writable'.  Standardize on the
latter.

Change produced with:

   sed -i -e 's/\([Ww][Rr][Ii][Tt]\)[Ee]\([Aa][Bb][Ll][Ee]\)/\1\2/g' $(git grep 
-il writeable)

and then hand-undoing the instance in linux-headers/linux/kvm.h.

Most of these changes are in comments or documentation; the
exceptions are:
  * a local variable in accel/hvf/hvf-accel-ops.c
  * a local variable in accel/kvm/kvm-all.c
  * the PMCR_WRITABLE_MASK macro in target/arm/internals.h
  * the EPT_VIOLATION_GPA_WRITABLE macro in target/i386/hvf/vmcs.h
    (which is never used anywhere)
  * the AR_TYPE_WRITABLE_MASK macro in target/i386/hvf/vmx.h
    (which is never used anywhere)

Signed-off-by: Peter Maydell <[email protected]>
---
Changes v1->v2:
  * commit regenerated with new rune to be case-insensitive; now
    includes fixes for 'WRITEABLE' and 'Writeable'
---

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>

Reply via email to