Thread (2 messages) 2 messages, 2 authors, 2021-10-18

Re: [PATCH net] hamradio: baycom_epp: fix build for UML

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-10-18 12:00:08
Also in: linux-hams, linux-um

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller [off-list ref]:

On Thu, 14 Oct 2021 19:18:04 -0700 you wrote:
On i386, the baycom_epp driver wants to inspect X86 CPU features (TSC)
and then act on that data, but that info is not available when running
on UML, so prevent that test and do the default action.

Prevents this build error on UML + i386:

../drivers/net/hamradio/baycom_epp.c: In function ‘epp_bh’:
../drivers/net/hamradio/baycom_epp.c:630:6: error: implicit declaration of function ‘boot_cpu_has’; did you mean ‘get_cpu_mask’? [-Werror=implicit-function-declaration]
  if (boot_cpu_has(X86_FEATURE_TSC))   \
      ^
../drivers/net/hamradio/baycom_epp.c:658:2: note: in expansion of macro ‘GETTICK’
  GETTICK(time1);

[...]
Here is the summary with links:
  - [net] hamradio: baycom_epp: fix build for UML
    https://git.kernel.org/netdev/net/c/0a9bb11a5e29

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