summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorNicholas Krause <xerofoify@gmail.com>2015-08-31 22:48:13 +0200
committerJames Bottomley <JBottomley@Odin.com>2015-10-27 02:05:11 +0100
commit3bb11fc5d0584adc075ddc6b42abdfb2ee776e9d (patch)
tree6dda26da635aea436cf5a4247628f6902fca8168 /drivers
parentFix kmalloc overflow in LPFC driver at large core count (diff)
downloadlinux-3bb11fc5d0584adc075ddc6b42abdfb2ee776e9d.tar.xz
linux-3bb11fc5d0584adc075ddc6b42abdfb2ee776e9d.zip
lpfc:Make the function lpfc_sli4_mbox_completions_pending static in order to comply with function prototype
This makes the function lpfc_sli4_mbox_completion's definition static now in order to comply with its prototype being also declared as static too. Signed-off-by: Nicholas Krause <xerofoify@gmail.com> Signed-off-by: James Smart <james.smart@avagotech.com> Reviewed-by: Sebastian Herbszt <herbszt@gmx.de> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/lpfc/lpfc_sli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c
index 4feb9312a447..95d53c734847 100644
--- a/drivers/scsi/lpfc/lpfc_sli.c
+++ b/drivers/scsi/lpfc/lpfc_sli.c
@@ -6696,7 +6696,7 @@ lpfc_mbox_timeout(unsigned long ptr)
* This function checks if any mailbox completions are present on the mailbox
* completion queue.
**/
-bool
+static bool
lpfc_sli4_mbox_completions_pending(struct lpfc_hba *phba)
{