summaryrefslogtreecommitdiff
path: root/Documentation/sparse.txt
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2008-06-19 16:03:29 -0700
committerSam Ravnborg <sam@ravnborg.org>2008-07-25 22:12:38 +0200
commit74fc5c653c5d0f9d4d70499709a68e61c4acf991 (patch)
tree8321527ea106ffd5e6729ccf60d7a91a76e04ed0 /Documentation/sparse.txt
parentfb5e2b379732e1a6ea32392980bb42e0212db842 (diff)
downloadlwn-74fc5c653c5d0f9d4d70499709a68e61c4acf991.tar.gz
lwn-74fc5c653c5d0f9d4d70499709a68e61c4acf991.zip
kernel-doc: handle/strip __init
Handle __init in functions with kernel-doc notation by stripping the __init away from the output doc. This is already being done for "__devinit". This patch fixes these kernel-doc error/aborts: Error(linux-next-20080619//drivers/usb/gadget/config.c:132): cannot understand prototype: 'struct usb_descriptor_header **__init usb_copy_descriptors(struct usb_descriptor_header **src) ' Error(linux-next-20080619//drivers/usb/gadget/config.c:182): cannot understand prototype: 'struct usb_endpoint_descriptor *__init usb_find_endpoint( struct usb_descriptor_header **src, struct usb_descriptor_header **copy, struct usb_endpoint_descriptor *match ) ' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Documentation/sparse.txt')
0 files changed, 0 insertions, 0 deletions