Thread (2 messages) flat view 2 messages, 2 authors, 2021-09-28

Re: [PATCH] dmascc: add CONFIG_VIRT_TO_BUS dependency

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-09-28 12:20:12
Also in: lkml

Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Mon, 27 Sep 2021 16:15:24 +0200 you wrote:
From: Arnd Bergmann <arnd@arndb.de>

Many architectures don't define virt_to_bus() any more, as drivers
should be using the dma-mapping interfaces where possible:

In file included from drivers/net/hamradio/dmascc.c:27:
drivers/net/hamradio/dmascc.c: In function 'tx_on':
drivers/net/hamradio/dmascc.c:976:30: error: implicit declaration of function 'virt_to_bus'; did you mean 'virt_to_fix'? [-Werror=implicit-function-declaration]
  976 |                              virt_to_bus(priv->tx_buf[priv->tx_tail]) + n);
      |                              ^~~~~~~~~~~
arch/arm/include/asm/dma.h:109:52: note: in definition of macro 'set_dma_addr'
  109 |         __set_dma_addr(chan, (void *)__bus_to_virt(addr))
      |                                                    ^~~~

[...]
Here is the summary with links:
  - dmascc: add CONFIG_VIRT_TO_BUS dependency
    https://git.kernel.org/netdev/net/c/05e97b3d33cb

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help