summary refs log tree commit diff stats
path: root/scripts/qapi/events.py
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-11-17 17:53:07 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2020-12-10 12:15:24 -0500
commitac3617d90c38d7169698908198be1398c7edc693 (patch)
treec50355322f31356eaf12cd39b7a8dfa179797e5a /scripts/qapi/events.py
parent4f5f16a193abbb15abfde9e6c18d4115d7168bd2 (diff)
downloadfocaccia-qemu-ac3617d90c38d7169698908198be1398c7edc693.tar.gz
focaccia-qemu-ac3617d90c38d7169698908198be1398c7edc693.zip
scripts: kernel-doc: try to use c:function if possible
There are a few namespace clashes by using c:macro everywhere:

basically, when using it, we can't have something like:

	.. c:struct:: pwm_capture

	.. c:macro:: pwm_capture

So, we need to use, instead:

	.. c:function:: int pwm_capture (struct pwm_device * pwm, struct pwm_capture * result, unsigned long timeout)

for the function declaration.

The kernel-doc change was proposed by Jakob Lykke Andersen here:

	https://github.com/jakobandersen/linux_docs/commit/6fd2076ec001cca7466857493cd678df4dfe4a65

Although I did a different implementation.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20201117165312.118257-25-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi/events.py')
0 files changed, 0 insertions, 0 deletions