Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1629844
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2] net: natsemi: ns83820: add checks for dma mapping error |
| Date | 2017-04-24 20:10 +0200 |
| Message-ID | <tzQAW-1Uk-17@gated-at.bofh.it> (permalink) |
| References | <txklQ-4zD-9@gated-at.bofh.it> <tz2Xw-3gg-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Alexey Khoroshilov <khoroshilov@ispras.ru> Date: Sat, 22 Apr 2017 16:06:05 +0300 > + free_idx = (free_idx + NR_TX_DESC - 1) % NR_TX_DESC; This is more simply stated as "(free_idx - 1) % NR_TX_DESC.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] net: natsemi: ns83820: add checks for dma mapping error Alexey Khoroshilov <khoroshilov@ispras.ru> - 2017-04-15 01:00 +0200
Re: [PATCH] net: natsemi: ns83820: add checks for dma mapping error David Miller <davem@davemloft.net> - 2017-04-17 21:20 +0200
[PATCH v2] net: natsemi: ns83820: add checks for dma mapping error Alexey Khoroshilov <khoroshilov@ispras.ru> - 2017-04-22 15:10 +0200
Re: [PATCH v2] net: natsemi: ns83820: add checks for dma mapping error Francois Romieu <romieu@fr.zoreil.com> - 2017-04-22 21:30 +0200
Re: [PATCH v2] net: natsemi: ns83820: add checks for dma mapping error David Miller <davem@davemloft.net> - 2017-04-24 20:10 +0200
csiph-web