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

Configure Feed

Select the types of activity you want to include in your feed.

iommupt: Describe @bitnr parameter

Sphinx reports kernel-doc warnings when making htmldocs:

WARNING: ./drivers/iommu/generic_pt/pt_common.h:361 function parameter 'bitnr' not described in 'pt_test_sw_bit_acquire'
WARNING: ./drivers/iommu/generic_pt/pt_common.h:371 function parameter 'bitnr' not described in 'pt_set_sw_bit_release'

Describe @bitnr to squash them.

Fixes: bcc64b57b48e ("iommupt: Add basic support for SW bits in the page table")
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>

authored by

Bagas Sanjaya and committed by
Joerg Roedel
e4dfaf25 6573d552

+2
+2
drivers/iommu/generic_pt/pt_common.h
··· 354 354 /** 355 355 * pt_test_sw_bit_acquire() - Read a software bit in an item 356 356 * @pts: Entry to set 357 + * @bitnr: Bit to read 357 358 * 358 359 * Software bits are ignored by HW and can be used for any purpose by the 359 360 * software. This does a test bit and acquire operation. ··· 365 364 /** 366 365 * pt_set_sw_bit_release() - Set a software bit in an item 367 366 * @pts: Entry to set 367 + * @bitnr: Bit to read 368 368 * 369 369 * Software bits are ignored by HW and can be used for any purpose by the 370 370 * software. This does a set bit and release operation.