Home
last modified time | relevance | path

Searched hist:"02 a4f4fe522c29bcd4a61e094f7fe8d64f00ee06" (Results 1 – 1 of 1) sorted by relevance

/linux/scripts/
H A Dkernel-docdiff 02a4f4fe522c29bcd4a61e094f7fe8d64f00ee06 Mon Jan 02 16:22:23 CET 2017 Paolo Bonzini <pbonzini@redhat.com> kernel-doc: cleanup parameter type in function-typed arguments

A prototype like

/**
* foo - sample definition
* @bar: a parameter
*/
int foo(int (*bar)(int x,
int y));

is currently producing

.. c:function:: int foo (int (*bar) (int x, int y)

sample definition

**Parameters**

``int (*)(int x, int y) bar``
a parameter

Collapse the spaces so that the output is nicer.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>