* [PATCH net] crypto/chcr: Add missing include file <linux/highmem.h>
@ 2020-04-02 2:32 YueHaibing
2020-04-02 13:55 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: YueHaibing @ 2020-04-02 2:32 UTC (permalink / raw)
To: ayush.sawal, vinay.yadav, rohitm, herbert, davem
Cc: linux-crypto, linux-kernel, netdev, YueHaibing
drivers/crypto/chelsio/chcr_ktls.c: In function ‘chcr_short_record_handler’:
drivers/crypto/chelsio/chcr_ktls.c:1770:12: error: implicit declaration of function ‘kmap_atomic’;
did you mean ‘in_atomic’? [-Werror=implicit-function-declaration]
vaddr = kmap_atomic(skb_frag_page(f));
^~~~~~~~~~~
Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: dc05f3df8fac ("chcr: Handle first or middle part of record")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
drivers/crypto/chelsio/chcr_ktls.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/crypto/chelsio/chcr_ktls.c b/drivers/crypto/chelsio/chcr_ktls.c
index 73658b71d4a3..cd1769ecdc1c 100644
--- a/drivers/crypto/chelsio/chcr_ktls.c
+++ b/drivers/crypto/chelsio/chcr_ktls.c
@@ -2,6 +2,7 @@
/* Copyright (C) 2020 Chelsio Communications. All rights reserved. */
#ifdef CONFIG_CHELSIO_TLS_DEVICE
+#include <linux/highmem.h>
#include "chcr_ktls.h"
#include "clip_tbl.h"
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net] crypto/chcr: Add missing include file <linux/highmem.h>
2020-04-02 2:32 [PATCH net] crypto/chcr: Add missing include file <linux/highmem.h> YueHaibing
@ 2020-04-02 13:55 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2020-04-02 13:55 UTC (permalink / raw)
To: yuehaibing
Cc: ayush.sawal, vinay.yadav, rohitm, herbert, linux-crypto,
linux-kernel, netdev
From: YueHaibing <yuehaibing@huawei.com>
Date: Thu, 2 Apr 2020 10:32:58 +0800
> drivers/crypto/chelsio/chcr_ktls.c: In function ‘chcr_short_record_handler’:
> drivers/crypto/chelsio/chcr_ktls.c:1770:12: error: implicit declaration of function ‘kmap_atomic’;
> did you mean ‘in_atomic’? [-Werror=implicit-function-declaration]
> vaddr = kmap_atomic(skb_frag_page(f));
> ^~~~~~~~~~~
>
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Fixes: dc05f3df8fac ("chcr: Handle first or middle part of record")
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-04-02 13:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-02 2:32 [PATCH net] crypto/chcr: Add missing include file <linux/highmem.h> YueHaibing
2020-04-02 13:55 ` David Miller
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).