Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge branch 'kernel-doc' from Randy Dunlap

The usual kernel-doc fixups from Randy. Some of them David acked as
merged in his tree, this is the random left-overs.

* kernel-doc:
docbook: fix sched source file names in device-drivers book
docbook: change iomap source filename in deviceiobook
docbook: don't use serial_core.h in device-drivers book
kernel-doc: fix kernel-doc warnings in sched
kernel-doc: fix new warnings in cfg80211.h
kernel-doc: fix new warning in usb.h
kernel-doc: fix new warnings in device.h
kernel-doc: fix new warnings in debugfs
kernel-doc: fix new warning in regulator core
kernel-doc: fix new warnings in pci
kernel-doc: fix new warnings in driver-core
kernel-doc: fix new warnings in auditsc.c
scripts/kernel-doc: fix fatal error caused by cfg80211.h

+38 -22
+3 -2
Documentation/DocBook/device-drivers.tmpl
··· 50 50 51 51 <sect1><title>Delaying, scheduling, and timer routines</title> 52 52 !Iinclude/linux/sched.h 53 - !Ekernel/sched.c 53 + !Ekernel/sched/core.c 54 + !Ikernel/sched/cpupri.c 55 + !Ikernel/sched/fair.c 54 56 !Iinclude/linux/completion.h 55 57 !Ekernel/timer.c 56 58 </sect1> ··· 218 216 219 217 <chapter id="uart16x50"> 220 218 <title>16x50 UART Driver</title> 221 - !Iinclude/linux/serial_core.h 222 219 !Edrivers/tty/serial/serial_core.c 223 220 !Edrivers/tty/serial/8250.c 224 221 </chapter>
+1 -1
Documentation/DocBook/deviceiobook.tmpl
··· 317 317 <chapter id="pubfunctions"> 318 318 <title>Public Functions Provided</title> 319 319 !Iarch/x86/include/asm/io.h 320 - !Elib/iomap.c 320 + !Elib/pci_iomap.c 321 321 </chapter> 322 322 323 323 </book>
+5 -4
drivers/base/bus.c
··· 915 915 916 916 /** 917 917 * __bus_register - register a driver-core subsystem 918 - * @bus: bus. 918 + * @bus: bus to register 919 + * @key: lockdep class key 919 920 * 920 - * Once we have that, we registered the bus with the kobject 921 + * Once we have that, we register the bus with the kobject 921 922 * infrastructure, then register the children subsystems it has: 922 923 * the devices and drivers that belong to the subsystem. 923 924 */ ··· 1221 1220 } 1222 1221 /** 1223 1222 * subsys_system_register - register a subsystem at /sys/devices/system/ 1224 - * @subsys - system subsystem 1225 - * @groups - default attributes for the root device 1223 + * @subsys: system subsystem 1224 + * @groups: default attributes for the root device 1226 1225 * 1227 1226 * All 'system' subsystems have a /sys/devices/system/<name> root device 1228 1227 * with the name of the subsystem. The root device can carry subsystem-
+3 -3
drivers/pci/pci.c
··· 2802 2802 2803 2803 /** 2804 2804 * pci_intx_mask_supported - probe for INTx masking support 2805 - * @pdev: the PCI device to operate on 2805 + * @dev: the PCI device to operate on 2806 2806 * 2807 2807 * Check if the device dev support INTx masking via the config space 2808 2808 * command word. ··· 2884 2884 2885 2885 /** 2886 2886 * pci_check_and_mask_intx - mask INTx on pending interrupt 2887 - * @pdev: the PCI device to operate on 2887 + * @dev: the PCI device to operate on 2888 2888 * 2889 2889 * Check if the device dev has its INTx line asserted, mask it and 2890 2890 * return true in that case. False is returned if not interrupt was ··· 2898 2898 2899 2899 /** 2900 2900 * pci_check_and_mask_intx - unmask INTx of no interrupt is pending 2901 - * @pdev: the PCI device to operate on 2901 + * @dev: the PCI device to operate on 2902 2902 * 2903 2903 * Check if the device dev has its INTx line asserted, unmask it if not 2904 2904 * and return true. False is returned and the mask remains active if
+1
drivers/regulator/core.c
··· 2731 2731 * @dev: struct device for the regulator 2732 2732 * @init_data: platform provided init data, passed through by driver 2733 2733 * @driver_data: private regulator data 2734 + * @of_node: target open firmware device structure (may be NULL) 2734 2735 * 2735 2736 * Called by regulator drivers to register a regulator. 2736 2737 * Returns 0 on success.
+1 -1
fs/debugfs/file.c
··· 540 540 * debugfs_print_regs32 - use seq_print to describe a set of registers 541 541 * @s: the seq_file structure being used to generate output 542 542 * @regs: an array if struct debugfs_reg32 structures 543 - * @mregs: the length of the above array 543 + * @nregs: the length of the above array 544 544 * @base: the base address to be used in reading the registers 545 545 * @prefix: a string to be prefixed to every output line 546 546 *
+10 -5
include/linux/device.h
··· 279 279 280 280 /** 281 281 * struct subsys_interface - interfaces to device functions 282 - * @name name of the device function 283 - * @subsystem subsytem of the devices to attach to 284 - * @node the list of functions registered at the subsystem 285 - * @add device hookup to device function handler 286 - * @remove device hookup to device function handler 282 + * @name: name of the device function 283 + * @subsys: subsytem of the devices to attach to 284 + * @node: the list of functions registered at the subsystem 285 + * @add_dev: device hookup to device function handler 286 + * @remove_dev: device hookup to device function handler 287 287 * 288 288 * Simple interfaces attached to a subsystem. Multiple interfaces can 289 289 * attach to a subsystem and its devices. Unlike drivers, they do not ··· 612 612 * @archdata: For arch-specific additions. 613 613 * @of_node: Associated device tree node. 614 614 * @devt: For creating the sysfs "dev". 615 + * @id: device instance 615 616 * @devres_lock: Spinlock to protect the resource of the device. 616 617 * @devres_head: The resources list of the device. 617 618 * @knode_class: The node used to add the device to the class list. ··· 1003 1002 * special in module init/exit. This eliminates a lot of boilerplate. 1004 1003 * Each module may only use this macro once, and calling it replaces 1005 1004 * module_init() and module_exit(). 1005 + * 1006 + * @__driver: driver name 1007 + * @__register: register function for this driver type 1008 + * @__unregister: unregister function for this driver type 1006 1009 * 1007 1010 * Use this macro to construct bus specific macros for registering 1008 1011 * drivers, and do not use it on its own.
+1 -1
include/linux/sched.h
··· 2088 2088 extern struct task_struct *idle_task(int cpu); 2089 2089 /** 2090 2090 * is_idle_task - is the specified task an idle task? 2091 - * @tsk: the task in question. 2091 + * @p: the task in question. 2092 2092 */ 2093 2093 static inline bool is_idle_task(struct task_struct *p) 2094 2094 {
+1
include/linux/usb.h
··· 1073 1073 * which the host controller driver should use in preference to the 1074 1074 * transfer_buffer. 1075 1075 * @sg: scatter gather buffer list 1076 + * @num_mapped_sgs: (internal) number of mapped sg entries 1076 1077 * @num_sgs: number of entries in the sg list 1077 1078 * @transfer_buffer_length: How big is transfer_buffer. The transfer may 1078 1079 * be broken up into chunks according to the current maximum packet
+6
include/net/cfg80211.h
··· 1140 1140 * @bssid: Fixed BSSID requested, maybe be %NULL, if set do not 1141 1141 * search for IBSSs with a different BSSID. 1142 1142 * @channel: The channel to use if no IBSS can be found to join. 1143 + * @channel_type: channel type (HT mode) 1143 1144 * @channel_fixed: The channel should be fixed -- do not search for 1144 1145 * IBSSs to join on other channels. 1145 1146 * @ie: information element(s) to include in the beacon ··· 1978 1977 * @available_antennas_rx: bitmap of antennas which are available to be 1979 1978 * configured as RX antennas. Antenna configuration commands will be 1980 1979 * rejected unless this or @available_antennas_tx is set. 1980 + * 1981 + * @probe_resp_offload: 1982 + * Bitmap of supported protocols for probe response offloading. 1983 + * See &enum nl80211_probe_resp_offload_support_attr. Only valid 1984 + * when the wiphy flag @WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD is set. 1981 1985 * 1982 1986 * @max_remain_on_channel_duration: Maximum time a remain-on-channel operation 1983 1987 * may request, if implemented.
+3 -2
kernel/auditsc.c
··· 1863 1863 1864 1864 /** 1865 1865 * audit_syscall_exit - deallocate audit context after a system call 1866 - * @pt_regs: syscall registers 1866 + * @success: success value of the syscall 1867 + * @return_code: return value of the syscall 1867 1868 * 1868 1869 * Tear down after system call. If the audit context has been marked as 1869 1870 * auditable (either because of the AUDIT_RECORD_CONTEXT state from 1870 - * filtering, or because some other part of the kernel write an audit 1871 + * filtering, or because some other part of the kernel wrote an audit 1871 1872 * message), then write out the syscall information. In call cases, 1872 1873 * free the names stored from getname(). 1873 1874 */
+1 -2
kernel/sched/cpupri.c
··· 129 129 * cpupri_set - update the cpu priority setting 130 130 * @cp: The cpupri context 131 131 * @cpu: The target cpu 132 - * @pri: The priority (INVALID-RT99) to assign to this CPU 132 + * @newpri: The priority (INVALID-RT99) to assign to this CPU 133 133 * 134 134 * Note: Assumes cpu_rq(cpu)->lock is locked 135 135 * ··· 200 200 /** 201 201 * cpupri_init - initialize the cpupri structure 202 202 * @cp: The cpupri context 203 - * @bootmem: true if allocations need to use bootmem 204 203 * 205 204 * Returns: -ENOMEM if memory fails. 206 205 */
+2 -1
scripts/kernel-doc
··· 5 5 ## Copyright (c) 1998 Michael Zucchi, All Rights Reserved ## 6 6 ## Copyright (C) 2000, 1 Tim Waugh <twaugh@redhat.com> ## 7 7 ## Copyright (C) 2001 Simon Huggins ## 8 - ## Copyright (C) 2005-2010 Randy Dunlap ## 8 + ## Copyright (C) 2005-2012 Randy Dunlap ## 9 9 ## ## 10 10 ## #define enhancements by Armin Kuster <akuster@mvista.com> ## 11 11 ## Copyright (c) 2000 MontaVista Software, Inc. ## ··· 1785 1785 $prototype =~ s/__devinit +//; 1786 1786 $prototype =~ s/__init +//; 1787 1787 $prototype =~ s/__init_or_module +//; 1788 + $prototype =~ s/__must_check +//; 1788 1789 $prototype =~ s/^#\s*define\s+//; #ak added 1789 1790 $prototype =~ s/__attribute__\s*\(\([a-z,]*\)\)//; 1790 1791