Skip to contentSkip to conversation

target/avr: Correct AVRCPUClass docstring

PATCH Applied Philippe Mathieu-Daudé via 3 participants 3 messages Jan 22, 2022 – Feb 21, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 target/avr: Correct AVRCPUClass docstring

There is no 'vr' field in AVRCPUClass.

Likely a copy/paste typo from CRISCPUClass ;)

---
 target/avr/cpu-qom.h | 1 -
 1 file changed, 1 deletion(-)
target/avr/cpu-qom.h +0 -1
index 9fa6989c18..14e5b3ce72 100644
@@ -33,7 +33,6 @@ OBJECT_DECLARE_TYPE(AVRCPU, AVRCPUClass,
  *  AVRCPUClass:
  *  @parent_realize: The parent class' realize handler.
  *  @parent_reset: The parent class' reset handler.
- *  @vr: Version Register value.
  *
  *  A AVR CPU model.
  */
Signature · 1 line
2.34.1
#2 lore raw
In reply to Philippe Mathieu-Daudé via

Le 22/01/2022 à 01:10, Philippe Mathieu-Daudé via a écrit :

Quoted 14 lines

There is no 'vr' field in AVRCPUClass.

Likely a copy/paste typo from CRISCPUClass ;)

---
  target/avr/cpu-qom.h | 1 -
  1 file changed, 1 deletion(-)
target/avr/cpu-qom.h +0 -0
index 9fa6989c18..14e5b3ce72 100644

target/avr/cpu-qom.h OBJECT_DECLARE_TYPE(AVRCPU, AVRCPUClass, · line 38

Quoted 7 lines
target/avr/cpu-qom.h +0 -1
@@ -33,7 +33,6 @@ OBJECT_DECLARE_TYPE(AVRCPU, AVRCPUClass,
   *  AVRCPUClass:
   *  @parent_realize: The parent class' realize handler.
   *  @parent_reset: The parent class' reset handler.
- *  @vr: Version Register value.
   *
   *  A AVR CPU model.
   */

Applied to my trivial-patches branch.

Thanks,
Laurent