From: patchwork-bot+linux-soc@kernel.org
To: Jens Wiklander <jens.wiklander@linaro.org>
Cc: soc@kernel.org
Subject: Re: [PATCH] optee: smc_abi.c: add missing #include <linux/mm.h>
Date: Thu, 21 Oct 2021 20:20:07 +0000 [thread overview]
Message-ID: <163484760799.31591.2103177744411039023.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20211021125539.3858495-1-jens.wiklander@linaro.org>
Hello:
This patch was applied to soc/soc.git (for-next)
by Arnd Bergmann <arnd@arndb.de>:
On Thu, 21 Oct 2021 14:55:39 +0200 you wrote:
> Adds missing #include <linux/mm.h> drivers/tee/optee/smc_abi.c to fix
> compile errors like:
> drivers/tee/optee/smc_abi.c:405:15: error: implicit
> declaration of function 'page_to_section'
> [-Werror,-Wimplicit-function-declaration]
> optee_page = page_to_phys(*pages) +
> ^
> arch/arm/include/asm/memory.h:148:43: note: expanded from
> macro 'page_to_phys'
> ^
> include/asm-generic/memory_model.h:52:21: note: expanded
> from macro 'page_to_pfn'
> ^
> include/asm-generic/memory_model.h:35:14: note: expanded
> from macro '__page_to_pfn'
> int __sec = page_to_section(__pg); \
> ^
> drivers/tee/optee/smc_abi.c:405:15: note: did you mean
> '__nr_to_section'?
> arch/arm/include/asm/memory.h:148:43: note: expanded from
> macro 'page_to_phys'
> ^
> include/asm-generic/memory_model.h:52:21: note: expanded
> from macro 'page_to_pfn'
> ^
> include/asm-generic/memory_model.h:35:14: note: expanded
> from macro '__page_to_pfn'
> int __sec = page_to_section(__pg); \
> ^
> include/linux/mmzone.h:1365:35: note: '__nr_to_section'
> declared here
> static inline struct mem_section *__nr_to_section(unsigned long nr)
>
> [...]
Here is the summary with links:
- optee: smc_abi.c: add missing #include <linux/mm.h>
https://git.kernel.org/soc/soc/c/34f3c67b8178
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2021-10-21 20:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-21 12:55 [PATCH] optee: smc_abi.c: add missing #include <linux/mm.h> Jens Wiklander
2021-10-21 12:55 ` Jens Wiklander
2021-10-21 20:20 ` patchwork-bot+linux-soc [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=163484760799.31591.2103177744411039023.git-patchwork-notify@kernel.org \
--to=patchwork-bot+linux-soc@kernel.org \
--cc=jens.wiklander@linaro.org \
--cc=soc@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.