Skip to contentSkip to conversation

kernel-doc comment tweak

PATCH Applied [email protected] 2 participants 11 messages Mar 18, 2004 – Mar 26, 2004

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel-doc comment tweak

Correct kernel-doc comment with incorrect parameters documented

Meta data:
Author: Michael Still
Email: [email protected]
Kernel version: applies to 2.6.5-rc1

arch/i386/kernel/cpu/cpufreq/elanfreq.c +2 -1
diff -Nur linux-2.6.2-rc1-cset-20040125_0129/arch/i386/kernel/cpu/cpufreq/elanfreq.c linux-2.6.2-rc1-cset-20040125_0129-params/arch/i386/kernel/cpu/cpufreq/elanfreq.c
@@ -165,7 +165,8 @@
 
 
 /**
- *	elanfreq_validatespeed: test if frequency range is valid 
+ *	elanfreq_validatespeed: test if frequency range is valid
+ *      @policy: the policy to validate
  *
  *	This function checks if a given frequency range in kHz is valid 
  *      for the hardware supported by the driver. 

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors

#1 lore raw

PATCH 1/1 kernel-doc comment tweak

Correct kernel-doc comment with incorrect parameters documented

Meta data:
Author: Michael Still
Email: [email protected]
Kernel version: applies to 2.6.5-rc1

arch/i386/kernel/cpu/cpufreq/longrun.c +4 -1
diff -Nur linux-2.6.2-rc1-cset-20040125_0129/arch/i386/kernel/cpu/cpufreq/longrun.c linux-2.6.2-rc1-cset-20040125_0129-params/arch/i386/kernel/cpu/cpufreq/longrun.c
@@ -57,7 +57,7 @@
 
 /**
  * longrun_set_policy - sets a new CPUFreq policy
- * @policy - new policy
+ * @policy: new policy
  *
  * Sets a new CPUFreq policy on LongRun-capable processors. This function
  * has to be called with cpufreq_driver locked.
@@ -106,6 +106,7 @@
 
 /**
  * longrun_verify_poliy - verifies a new CPUFreq policy
+ * @policy: the policy to verify
  *
  * Validates a new CPUFreq policy. This function has to be called with 
  * cpufreq_driver locked.
@@ -130,6 +131,8 @@
 
 /**
  * longrun_determine_freqs - determines the lowest and highest possible core frequency
+ * @low_freq: an int to put the lowest frequency into
+ * @high_freq: an int to put the highest frequency into
  *
  * Determines the lowest and highest possible core frequencies on this CPU.
  * This is necessary to calculate the performance percentage according to

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors

#2 lore raw

PATCH 1/1 kernel-doc comment tweak

In reply to [email protected]

Correct kernel-doc comment with incorrect parameters documented

Meta data:
Author: Michael Still
Email: [email protected]
Kernel version: applies to 2.6.5-rc1

arch/i386/kernel/cpu/cpufreq/powernow-k6.c +3 -1
diff -Nur linux-2.6.2-rc1-cset-20040125_0129/arch/i386/kernel/cpu/cpufreq/powernow-k6.c linux-2.6.2-rc1-cset-20040125_0129-params/arch/i386/kernel/cpu/cpufreq/powernow-k6.c
@@ -118,7 +118,9 @@
 
 /**
  * powernow_k6_setpolicy - sets a new CPUFreq policy
- * @policy - new policy
+ * @policy: new policy
+ * @target_freq: the target frequency
+ * @relation: how that frequency relates to achieved frequency (CPUFREQ_RELATION_L or CPUFREQ_RELATION_H)
  *
  * sets a new CPUFreq policy
  */

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors

#3 lore raw

PATCH 1/1 kernel-doc comment tweak

In reply to [email protected]

Correct kernel-doc comment with incorrect parameters documented

Meta data:
Author: Michael Still
Email: [email protected]
Kernel version: applies to 2.6.5-rc1

arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c +3 -1
diff -Nur linux-2.6.2-rc1-cset-20040125_0129/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c linux-2.6.2-rc1-cset-20040125_0129-params/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
@@ -224,7 +224,7 @@
 
 /**
  * centrino_verify - verifies a new CPUFreq policy
- * @freq: new policy
+ * @policy: new policy
  *
  * Limit must be within this model's frequency range at least one
  * border included.
@@ -237,6 +237,8 @@
 /**
  * centrino_setpolicy - set a new CPUFreq policy
  * @policy: new policy
+ * @target_freq: the target frequency
+ * @relation: how that frequency relates to achieved frequency (CPUFREQ_RELATION_L or CPUFREQ_RELATION_H)
  *
  * Sets a new CPUFreq policy.
  */

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors

#4 lore raw

PATCH 1/1 kernel-doc comment tweak

In reply to [email protected]

Correct kernel-doc comment with incorrect parameters documented

Meta data:
Author: Michael Still
Email: [email protected]
Kernel version: applies to 2.6.5-rc1

arch/i386/kernel/cpu/cpufreq/speedstep-smi.c +5 -2
diff -Nur linux-2.6.2-rc1-cset-20040125_0129/arch/i386/kernel/cpu/cpufreq/speedstep-smi.c linux-2.6.2-rc1-cset-20040125_0129-params/arch/i386/kernel/cpu/cpufreq/speedstep-smi.c
@@ -90,10 +90,12 @@
 
 /**
  * speedstep_smi_get_freqs - get SpeedStep preferred & current freq.
+ * @low: the low frequency value is placed here
+ * @high: the high frequency value is placed here
+ *
  * Only available on later SpeedStep-enabled systems, returns false results or
  * even hangs [cf. bugme.osdl.org # 1422] on earlier systems. Empirical testing
  * shows that the latter occurs if !(ist_info.event & 0xFFFF).
- *
  */
 static int speedstep_smi_get_freqs (unsigned int *low, unsigned int *high)
 {
@@ -141,6 +143,7 @@
 /**
  * speedstep_set_state - set the SpeedStep state
  * @state: new processor frequency state (SPEEDSTEP_LOW or SPEEDSTEP_HIGH)
+ * @notify: whether to call cpufreq_notify_transition
  *
  */
 static void speedstep_set_state (unsigned int state, unsigned int notify)
@@ -224,7 +227,7 @@
 
 /**
  * speedstep_verify - verifies a new CPUFreq policy
- * @freq: new policy
+ * @policy: new policy
  *
  * Limit must be within speedstep_low_freq and speedstep_high_freq, with
  * at least one border included.

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors

#5 lore raw

PATCH 1/1 kernel-doc comment tweak

In reply to [email protected]

Correct kernel-doc comment with incorrect parameters documented

Meta data:
Author: Michael Still
Email: [email protected]
Kernel version: applies to 2.6.5-rc1

arch/i386/kernel/cpu/cpufreq/speedstep-ich.c +4 -1
diff -Nur linux-2.6.2-rc1-cset-20040125_0129/arch/i386/kernel/cpu/cpufreq/speedstep-ich.c linux-2.6.2-rc1-cset-20040125_0129-params/arch/i386/kernel/cpu/cpufreq/speedstep-ich.c
@@ -67,6 +67,7 @@
 /**
  * speedstep_set_state - set the SpeedStep state
  * @state: new processor frequency state (SPEEDSTEP_LOW or SPEEDSTEP_HIGH)
+ * @notify: whether to call cpufreq_notify_transition for CPU speed changes
  *
  *   Tries to change the SpeedStep state. 
  */
@@ -241,6 +242,8 @@
 /**
  * speedstep_setpolicy - set a new CPUFreq policy
  * @policy: new policy
+ * @target_freq: the target frequency
+ * @relation: how that frequency relates to achieved frequency (CPUFREQ_RELATION_L or CPUFREQ_RELATION_H)
  *
  * Sets a new CPUFreq policy.
  */
@@ -261,7 +264,7 @@
 
 /**
  * speedstep_verify - verifies a new CPUFreq policy
- * @freq: new policy
+ * @policy: new policy
  *
  * Limit must be within speedstep_low_freq and speedstep_high_freq, with
  * at least one border included.

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors

#6 lore raw

PATCH 1/1 kernel-doc comment tweak

In reply to [email protected]

Correct kernel-doc comment with incorrect parameters documented

Meta data:
Author: Michael Still
Email: [email protected]
Kernel version: applies to 2.6.5-rc1

arch/sh/boards/dreamcast/rtc.c +2 -2
diff -Nur linux-2.6.2-rc1-cset-20040125_0129/arch/sh/boards/dreamcast/rtc.c linux-2.6.2-rc1-cset-20040125_0129-params/arch/sh/boards/dreamcast/rtc.c
@@ -28,7 +28,7 @@
 
 /**
  * aica_rtc_gettimeofday - Get the time from the AICA RTC
- * @tv: pointer to resulting timeval
+ * @ts: pointer to resulting timespec
  *
  * Grabs the current RTC seconds counter and adjusts it to the Unix Epoch.
  */
@@ -51,7 +51,7 @@
 
 /**
  * aica_rtc_settimeofday - Set the AICA RTC to the current time
- * @tv: contains the timeval to set
+ * @secs: contains the time_t to set
  *
  * Adjusts the given @tv to the AICA Epoch and sets the RTC seconds counter.
  */

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors

#7 lore raw

PATCH 1/1 kernel-doc comment tweak

In reply to [email protected]

Correct kernel-doc comment with incorrect parameters documented

Meta data:
Author: Michael Still
Email: [email protected]
Kernel version: applies to 2.6.5-rc1

drivers/usb/media/vicam.c +2 -0
diff -Nur linux-2.6.2-rc1-cset-20040125_0129/drivers/usb/media/vicam.c linux-2.6.2-rc1-cset-20040125_0129-params/drivers/usb/media/vicam.c
@@ -1269,6 +1269,8 @@
 
 /**
  *	vicam_probe
+ *	@intf: the interface
+ *	@id: the device id
  *
  *	Called by the usb core when a new device is connected that it thinks
  *	this driver might be interested in.

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors

#8 lore raw

PATCH 1/1 kernel-doc comment tweak

In reply to [email protected]

Correct kernel-doc comment with incorrect parameters documented

Meta data:
Author: Michael Still
Email: [email protected]
Kernel version: applies to 2.6.5-rc1

drivers/usb/serial/io_ti.c +1 -1
diff -Nur linux-2.6.2-rc1-cset-20040125_0129/drivers/usb/serial/io_ti.c linux-2.6.2-rc1-cset-20040125_0129-params/drivers/usb/serial/io_ti.c
@@ -274,7 +274,7 @@
 /**
  * TIReadDownloadMemory - Read edgeport memory from TI chip
  * @dev: usb device pointer
- * @address: Device CPU address at which to read
+ * @start_address: Device CPU address at which to read
  * @length: Length of above data
  * @address_type: Can read both XDATA and I2C
  * @buffer: pointer to input data buffer

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors

#9 lore raw
In reply to [email protected]
Quoted 6 lines · On Thu, Mar 18, 2004 at 12:04:05PM +1100, [email protected] wrote:

Correct kernel-doc comment with incorrect parameters documented

Meta data:
Author: Michael Still
Email: [email protected]
Kernel version: applies to 2.6.5-rc1

Thanks, I've applied this to my trees and will push it upwards.

greg k-h
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors