]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: mpt3sas: Fix mpt3sas_check_same_4gb_region() kdoc comment
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>
Mon, 4 Apr 2022 05:00:41 +0000 (14:00 +0900)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 7 Apr 2022 02:07:30 +0000 (22:07 -0400)
commita256ff7785217754d17f08ec520d9c76491b9e83
treeefae754484274a6c8777693f119dfaf1e0d1c605
parentf40452d6b957e67639af16a19939e1212a26459e
scsi: mpt3sas: Fix mpt3sas_check_same_4gb_region() kdoc comment

The start_addres argument of mpt3sas_check_same_4gb_region() was misnamed
in the function kdoc comment, resulting in the following warning when
compiling with W=1.

drivers/scsi/mpt3sas/mpt3sas_base.c:5728: warning: Function parameter or
member 'start_address' not described in 'mpt3sas_check_same_4gb_region'
drivers/scsi/mpt3sas/mpt3sas_base.c:5728: warning: Excess function
parameter 'reply_pool_start_address' description in
'mpt3sas_check_same_4gb_region'

Fix the argument name in the function kdoc comment to avoid it. While at
it, remove a useless blank line between the kdoc and function code.

Link: https://lore.kernel.org/r/20220404050041.594774-1-damien.lemoal@opensource.wdc.com
Acked-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_base.c