Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343412
b: refs/heads/master
c: bafff17
h: refs/heads/master
v: v3
  • Loading branch information
Wei Yongjun authored and Martin Schwidefsky committed Dec 3, 2012
1 parent 0a1f5db commit 83c9100
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 4118fee78dabb138b548bd42694f3437a8830b60
refs/heads/master: bafff1743f2b1bda24daba29c59f755aa2d505b7
3 changes: 2 additions & 1 deletion trunk/arch/s390/pci/pci_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,13 @@ static void dma_free_seg_table(unsigned long entry)

static void dma_cleanup_tables(struct zpci_dev *zdev)
{
unsigned long *table = zdev->dma_table;
unsigned long *table;
int rtx;

if (!zdev || !zdev->dma_table)
return;

table = zdev->dma_table;
for (rtx = 0; rtx < ZPCI_TABLE_ENTRIES; rtx++)
if (reg_entry_isvalid(table[rtx]))
dma_free_seg_table(table[rtx]);
Expand Down

0 comments on commit 83c9100

Please sign in to comment.