diff options
author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2019-04-23 09:01:41 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-23 19:39:16 -0700 |
commit | ffbf9870dcf1342592a1a26f4cf70bda39046134 (patch) | |
tree | ff6b9ab303fe81ee7a156e9b09fed4dc06a50ad2 /drivers/platform/x86 | |
parent | 66c031716bcd9647cd2304e4875163663b086405 (diff) | |
download | linux-ffbf9870dcf1342592a1a26f4cf70bda39046134.tar.bz2 |
net: socionext: replace napi_alloc_frag with the netdev variant on init
The netdev variant is usable on any context since it disables interrupts.
The napi variant of the call should only be used within softirq context.
Replace napi_alloc_frag on driver init with the correct netdev_alloc_frag
call
Changes since v1:
- Adjusted commit message
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Jassi Brar <jaswinder.singh@linaro.org>
Fixes: 4acb20b46214 ("net: socionext: different approach on DMA")
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/platform/x86')
0 files changed, 0 insertions, 0 deletions