Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 22578
b: refs/heads/master
c: 286fc8f
h: refs/heads/master
v: v3
  • Loading branch information
James Bottomley committed Mar 6, 2006
1 parent 5072e1c commit 567a8c1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b2e977ca364764dabb091c360f329868b7e3f29b
refs/heads/master: 286fc8f8ea7ef58b54f150fc900ce019af483e89
2 changes: 2 additions & 0 deletions trunk/drivers/scsi/lpfc/lpfc_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -948,10 +948,12 @@ lpfc_get_hba_model_desc(struct lpfc_hba * phba, uint8_t * mdp, uint8_t * descp)
"10-port ", "PCIe"};
break;
default:
m = (typeof(m)){ 0 };
break;
}
break;
default:
m = (typeof(m)){ 0 };
break;
}

Expand Down
5 changes: 4 additions & 1 deletion trunk/drivers/scsi/lpfc/lpfc_scsi.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,13 @@
struct lpfc_hba;

#define list_remove_head(list, entry, type, member) \
do { \
entry = NULL; \
if (!list_empty(list)) { \
entry = list_entry((list)->next, type, member); \
list_del_init(&entry->member); \
}
} \
} while(0)

#define list_get_first(list, type, member) \
(list_empty(list)) ? NULL : \
Expand Down

0 comments on commit 567a8c1

Please sign in to comment.