diff options
author | Jesper Dangaard Brouer <brouer@redhat.com> | 2019-06-18 15:06:08 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-19 11:23:13 -0400 |
commit | f71fec47c2df704c7081f946d7e46fe036a4208b (patch) | |
tree | 31644496760e3272d55f8248ef49eed16c32ec1d /drivers/nfc/Kconfig | |
parent | 32c28f7e413981c7dd4a3ad9bbb1151e4b654261 (diff) | |
download | linux-f71fec47c2df704c7081f946d7e46fe036a4208b.tar.gz linux-f71fec47c2df704c7081f946d7e46fe036a4208b.tar.bz2 linux-f71fec47c2df704c7081f946d7e46fe036a4208b.zip |
page_pool: make sure struct device is stable
For DMA mapping use-case the page_pool keeps a pointer
to the struct device, which is used in DMA map/unmap calls.
For our in-flight handling, we also need to make sure that
the struct device have not disappeared. This is assured
via using get_device/put_device API.
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Reported-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/nfc/Kconfig')
0 files changed, 0 insertions, 0 deletions