linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mmc: mxmmc: include linux/highmem.h
@ 2018-05-29 10:30 Arnd Bergmann
  2018-05-29 10:35 ` Ulf Hansson
  0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2018-05-29 10:30 UTC (permalink / raw)
  To: Ulf Hansson
  Cc: Christoph Hellwig, Linus Walleij, Russell King, Arnd Bergmann,
	Shawn Lin, Allen, linux-mmc, linux-kernel

The highmem conversion caused a build error in some configurations:

drivers/mmc/host/mxcmmc.c: In function 'mxcmci_transfer_data':
drivers/mmc/host/mxcmmc.c:622:10: error: implicit declaration of function 'kmap_atomic'; did you mean 'in_atomic'? [-Werror=implicit-function-declaration]

This includes the correct header file.

Fixes: b189e7589f6d ("mmc: mxcmmc: handle highmem pages")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/mmc/host/mxcmmc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mmc/host/mxcmmc.c b/drivers/mmc/host/mxcmmc.c
index 150fbdba777d..d62bf7efce13 100644
--- a/drivers/mmc/host/mxcmmc.c
+++ b/drivers/mmc/host/mxcmmc.c
@@ -21,6 +21,7 @@
 #include <linux/init.h>
 #include <linux/ioport.h>
 #include <linux/platform_device.h>
+#include <linux/highmem.h>
 #include <linux/interrupt.h>
 #include <linux/irq.h>
 #include <linux/blkdev.h>
-- 
2.9.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mmc: mxmmc: include linux/highmem.h
  2018-05-29 10:30 [PATCH] mmc: mxmmc: include linux/highmem.h Arnd Bergmann
@ 2018-05-29 10:35 ` Ulf Hansson
  0 siblings, 0 replies; 2+ messages in thread
From: Ulf Hansson @ 2018-05-29 10:35 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Christoph Hellwig, Linus Walleij, Russell King, Shawn Lin, Allen,
	linux-mmc, Linux Kernel Mailing List

On 29 May 2018 at 12:30, Arnd Bergmann <arnd@arndb.de> wrote:
> The highmem conversion caused a build error in some configurations:
>
> drivers/mmc/host/mxcmmc.c: In function 'mxcmci_transfer_data':
> drivers/mmc/host/mxcmmc.c:622:10: error: implicit declaration of function 'kmap_atomic'; did you mean 'in_atomic'? [-Werror=implicit-function-declaration]
>
> This includes the correct header file.
>
> Fixes: b189e7589f6d ("mmc: mxcmmc: handle highmem pages")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Thanks, applied for next!

Kind regards
Uffe

> ---
>  drivers/mmc/host/mxcmmc.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mmc/host/mxcmmc.c b/drivers/mmc/host/mxcmmc.c
> index 150fbdba777d..d62bf7efce13 100644
> --- a/drivers/mmc/host/mxcmmc.c
> +++ b/drivers/mmc/host/mxcmmc.c
> @@ -21,6 +21,7 @@
>  #include <linux/init.h>
>  #include <linux/ioport.h>
>  #include <linux/platform_device.h>
> +#include <linux/highmem.h>
>  #include <linux/interrupt.h>
>  #include <linux/irq.h>
>  #include <linux/blkdev.h>
> --
> 2.9.0
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-29 10:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-29 10:30 [PATCH] mmc: mxmmc: include linux/highmem.h Arnd Bergmann
2018-05-29 10:35 ` Ulf Hansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).