Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
8aee918a
Commit
8aee918a
authored
Aug 31, 2006
by
James Smart
Committed by
James Bottomley
Sep 26, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SCSI] lpfc: don't free mempool if mailbox is busy
Signed-off-by:
James Bottomley
<
James.Bottomley@SteelEye.com
>
parent
e8216dee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_init.c
+4
-2
No files found.
drivers/scsi/lpfc/lpfc_init.c
View file @
8aee918a
...
...
@@ -389,7 +389,8 @@ lpfc_config_port_post(struct lpfc_hba * phba)
lpfc_init_link
(
phba
,
pmb
,
phba
->
cfg_topology
,
phba
->
cfg_link_speed
);
pmb
->
mbox_cmpl
=
lpfc_sli_def_mbox_cmpl
;
if
(
lpfc_sli_issue_mbox
(
phba
,
pmb
,
MBX_NOWAIT
)
!=
MBX_SUCCESS
)
{
rc
=
lpfc_sli_issue_mbox
(
phba
,
pmb
,
MBX_NOWAIT
);
if
(
rc
!=
MBX_SUCCESS
)
{
lpfc_printf_log
(
phba
,
KERN_ERR
,
LOG_INIT
,
...
...
@@ -406,7 +407,8 @@ lpfc_config_port_post(struct lpfc_hba * phba)
readl
(
phba
->
HAregaddr
);
/* flush */
phba
->
hba_state
=
LPFC_HBA_ERROR
;
mempool_free
(
pmb
,
phba
->
mbox_mem_pool
);
if
(
rc
!=
MBX_BUSY
)
mempool_free
(
pmb
,
phba
->
mbox_mem_pool
);
return
-
EIO
;
}
/* MBOX buffer will be freed in mbox compl */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment