Fixes the following W=1 kernel build warning(s):

 drivers/scsi/aacraid/commsup.c:334: warning: expecting prototype for 
fib_deallocate(). Prototype was for fib_dealloc() instead
 drivers/scsi/aacraid/commsup.c:1961: warning: expecting prototype for 
aac_handle_sa_aif       Handle a message from the firmware(). Prototype was for 
aac_handle_sa_aif() instead

Cc: Adaptec OEM Raid Solutions <aacr...@microsemi.com>
Cc: "James E.J. Bottomley" <j...@linux.ibm.com>
Cc: "Martin K. Petersen" <martin.peter...@oracle.com>
Cc: Sumit Semwal <sumit.sem...@linaro.org>
Cc: "Christian König" <christian.koe...@amd.com>
Cc: "PMC-Sierra, Inc" <aacr...@pmc-sierra.com>
Cc: linux-s...@vger.kernel.org
Cc: linux-me...@vger.kernel.org
Cc: dri-de...@lists.freedesktop.org
Cc: linaro-mm-...@lists.linaro.org
Signed-off-by: Lee Jones <lee.jo...@linaro.org>
---
 drivers/scsi/aacraid/commsup.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/aacraid/commsup.c b/drivers/scsi/aacraid/commsup.c
index 0ae0d1fa2b507..54eb4d41bc2c2 100644
--- a/drivers/scsi/aacraid/commsup.c
+++ b/drivers/scsi/aacraid/commsup.c
@@ -323,7 +323,7 @@ void aac_fib_init(struct fib *fibptr)
 }
 
 /**
- *     fib_deallocate          -       deallocate a fib
+ *     fib_dealloc             -       deallocate a fib
  *     @fibptr: fib to deallocate
  *
  *     Will deallocate and return to the free pool the FIB pointed to by the
@@ -1950,7 +1950,7 @@ void aac_src_reinit_aif_worker(struct work_struct *work)
 }
 
 /**
- *     aac_handle_sa_aif       Handle a message from the firmware
+ *     aac_handle_sa_aif -     Handle a message from the firmware
  *     @dev: Which adapter this fib is from
  *     @fibptr: Pointer to fibptr from adapter
  *
-- 
2.27.0

Reply via email to