]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
net: seeq: fix crash caused by not set dev.parent
authorThomas Bogendoerfer <tbogendoerfer@suse.de>
Mon, 13 May 2019 11:15:17 +0000 (13:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 May 2019 16:04:19 +0000 (09:04 -0700)
commit5afcd14cfc7fed1bcc8abcee2cef82732772bfc2
tree68852f107674971c32cc2fa3ac8229ce6416c124
parent3ebb41bf47865842f4153b855fe2551fef78fbd1
net: seeq: fix crash caused by not set dev.parent

The old MIPS implementation of dma_cache_sync() didn't use the dev argument,
but commit c9eb6172c328 ("dma-mapping: turn dma_cache_sync into a
dma_map_ops method") changed that, so we now need to set dev.parent.

Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/seeq/sgiseeq.c