diff options
-rw-r--r-- | drivers/atm/he.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/atm/he.c b/drivers/atm/he.c index 6cf59bf281dc..9a51df4f5b74 100644 --- a/drivers/atm/he.c +++ b/drivers/atm/he.c | |||
@@ -1801,7 +1801,7 @@ return_host_buffers: | |||
1801 | next_rbrq_entry: | 1801 | next_rbrq_entry: |
1802 | he_dev->rbrq_head = (struct he_rbrq *) | 1802 | he_dev->rbrq_head = (struct he_rbrq *) |
1803 | ((unsigned long) he_dev->rbrq_base | | 1803 | ((unsigned long) he_dev->rbrq_base | |
1804 | RBRQ_MASK(++he_dev->rbrq_head)); | 1804 | RBRQ_MASK(he_dev->rbrq_head + 1)); |
1805 | 1805 | ||
1806 | } | 1806 | } |
1807 | read_unlock(&vcc_sklist_lock); | 1807 | read_unlock(&vcc_sklist_lock); |
@@ -1884,7 +1884,7 @@ next_tbrq_entry: | |||
1884 | pci_pool_free(he_dev->tpd_pool, tpd, TPD_ADDR(tpd->status)); | 1884 | pci_pool_free(he_dev->tpd_pool, tpd, TPD_ADDR(tpd->status)); |
1885 | he_dev->tbrq_head = (struct he_tbrq *) | 1885 | he_dev->tbrq_head = (struct he_tbrq *) |
1886 | ((unsigned long) he_dev->tbrq_base | | 1886 | ((unsigned long) he_dev->tbrq_base | |
1887 | TBRQ_MASK(++he_dev->tbrq_head)); | 1887 | TBRQ_MASK(he_dev->tbrq_head + 1)); |
1888 | } | 1888 | } |
1889 | 1889 | ||
1890 | if (updated) { | 1890 | if (updated) { |