diff options
author | Lee Jones <[email protected]> | 2020-07-01 09:58:37 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-07-01 15:05:36 +0200 |
commit | df123c9dcde7f14a69a276b801b310805d200ada (patch) | |
tree | b7dc80d992e607291555050d10b55681df11eccc /tools/perf/scripts/python/mem-phys-addr.py | |
parent | a0c11b3c91e053128d13d988de8b9bcb76c5adfe (diff) |
misc: habanalabs: pci: Fix a variety of kerneldoc issues
hl_pci_bars_map() has a miss-typed argument name in the function
description. hl_pci_elbi_write() was missing documented arguments.
The headers for functions hl_pci_bars_unmap(), hl_pci_elbi_write()
and hl_pci_reset_link_through_bridge() were written in kerneldoc
format, but lack the kerneldoc identifier '/**'. Let's promote
them so they can gain access to the checker.
These changes fix the following W=1 kernel build warnings:
drivers/misc/habanalabs/pci.c:27: warning: Function parameter or member 'name' not described in 'hl_pci_bars_map'
drivers/misc/habanalabs/pci.c:27: warning: Excess function parameter 'bar_name' description in 'hl_pci_bars_map'
drivers/misc/habanalabs/pci.c:147: warning: Function parameter or member 'addr' not described in 'hl_pci_iatu_write'
drivers/misc/habanalabs/pci.c:147: warning: Function parameter or member 'data' not described in 'hl_pci_iatu_write'
drivers/misc/habanalabs/pci.c:324: warning: Excess function parameter 'dma_mask' description in 'hl_pci_set_dma_mask'
Cc: Oded Gabbay <[email protected]>
Cc: Tomer Tayar <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Reviewed-by: Oded Gabbay <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions