Skip to contentSkip to conversation

PM / OPP: add documentation to rcu head in opp struct

PATCH New Nishanth Menon 1 participant 1 message Mar 26, 2013

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

PATCH 1/1 PM / OPP: add documentation to rcu head in opp struct

commit dde8437d06560366d8988c92b5774039ec703864
(PM / OPP: RCU reclaim)
introduced rcu_head for struct opp. This aids freeing using kfree_rcu. However, we missed adding documentation for the
same. This generates kernel doc warning:
Warning(drivers/base/power/opp.c:70): No description found for parameter 'head'

Add documentation for the same.

---
 drivers/base/power/opp.c |    1 +
 1 file changed, 1 insertion(+)
drivers/base/power/opp.c +1 -0
index 32ee0fc..f0077cb 100644
@@ -55,6 +55,7 @@
  * @rate:	Frequency in hertz
  * @u_volt:	Nominal voltage in microvolts corresponding to this OPP
  * @dev_opp:	points back to the device_opp struct this opp belongs to
+ * @head:	RCU callback head used for deferred freeing
  *
  * This structure stores the OPP information for a given device.
  */
Signature · 1 line
1.7.9.5