Skip to content

Commit 73656a6

Browse files
rddunlapgregkh
authored andcommitted
intel_th: core: fix kernel-doc warnings
Correct the function parameters based on a previous code patch to eliminate kernel-doc warnings. drivers/hwtracing/intel_th/core.c:866: warning: Function parameter or struct member 'drvdata' not described in 'intel_th_alloc' drivers/hwtracing/intel_th/core.c:866: warning: Function parameter or struct member 'ndevres' not described in 'intel_th_alloc' drivers/hwtracing/intel_th/core.c:866: warning: Excess function parameter 'irq' description in 'intel_th_alloc' Fixes: 62a5930 ("intel_th: Communicate IRQ via resource") Signed-off-by: Randy Dunlap <[email protected]> Cc: Alexander Shishkin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 48dc1c3 commit 73656a6

File tree

1 file changed

+2
-1
lines changed
  • drivers/hwtracing/intel_th

1 file changed

+2
-1
lines changed

drivers/hwtracing/intel_th/core.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,8 +857,9 @@ static irqreturn_t intel_th_irq(int irq, void *data)
857857
/**
858858
* intel_th_alloc() - allocate a new Intel TH device and its subdevices
859859
* @dev: parent device
860+
* @drvdata: data private to the driver
860861
* @devres: resources indexed by th_mmio_idx
861-
* @irq: irq number
862+
* @ndevres: number of entries in the @devres resources
862863
*/
863864
struct intel_th *
864865
intel_th_alloc(struct device *dev, const struct intel_th_drvdata *drvdata,

0 commit comments

Comments
 (0)