Skip to content

Commit 030bdf3

Browse files
mchehabMarc Zyngier
authored andcommitted
KVM: arm64: Fix some documentation build warnings
As warned with make htmldocs: .../Documentation/virt/kvm/devices/vcpu.rst:70: WARNING: Malformed table. Text in column margin in table line 2. ======= ====================================================== -ENODEV: PMUv3 not supported or GIC not initialized -ENXIO: PMUv3 not properly configured or in-kernel irqchip not configured as required prior to calling this attribute -EBUSY: PMUv3 already initialized -EINVAL: Invalid filter range ======= ====================================================== The ':' character for two lines are above the size of the column. Besides that, other tables at the file doesn't use ':', so just drop them. While here, also fix this warning also introduced at the same patch: .../Documentation/virt/kvm/devices/vcpu.rst:88: WARNING: Block quote ends without a blank line; unexpected unindent. By marking the C code as a literal block. Fixes: 8be86a5 ("KVM: arm64: Document PMU filtering API") Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Marc Zyngier <maz@kernel.org> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Link: https://lore.kernel.org/r/b5385dd0213f1f070667925bf7a807bf5270ba78.1601616399.git.mchehab+huawei@kernel.org
1 parent 51dd2eb commit 030bdf3

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

‎Documentation/virt/kvm/devices/vcpu.rst‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -67,25 +67,25 @@ irqchip.
6767
:Returns:
6868

6969
======= ======================================================
70-
-ENODEV: PMUv3 not supported or GIC not initialized
71-
-ENXIO: PMUv3 not properly configured or in-kernel irqchip not
70+
-ENODEV PMUv3 not supported or GIC not initialized
71+
-ENXIO PMUv3 not properly configured or in-kernel irqchip not
7272
configured as required prior to calling this attribute
73-
-EBUSY: PMUv3 already initialized
74-
-EINVAL: Invalid filter range
73+
-EBUSY PMUv3 already initialized
74+
-EINVAL Invalid filter range
7575
======= ======================================================
7676

77-
Request the installation of a PMU event filter described as follows:
77+
Request the installation of a PMU event filter described as follows::
7878

79-
struct kvm_pmu_event_filter {
80-
__u16 base_event;
81-
__u16 nevents;
79+
struct kvm_pmu_event_filter {
80+
__u16 base_event;
81+
__u16 nevents;
8282

83-
#define KVM_PMU_EVENT_ALLOW 0
84-
#define KVM_PMU_EVENT_DENY 1
83+
#define KVM_PMU_EVENT_ALLOW 0
84+
#define KVM_PMU_EVENT_DENY 1
8585

86-
__u8 action;
87-
__u8 pad[3];
88-
};
86+
__u8 action;
87+
__u8 pad[3];
88+
};
8989

9090
A filter range is defined as the range [@base_event, @base_event + @nevents),
9191
together with an @action (KVM_PMU_EVENT_ALLOW or KVM_PMU_EVENT_DENY). The

0 commit comments

Comments
 (0)