crypto/chcr: Add missing include file <linux/highmem.h>
authorYueHaibing <yuehaibing@huawei.com>
Thu, 2 Apr 2020 02:32:58 +0000 (10:32 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Apr 2020 13:55:06 +0000 (06:55 -0700)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/crypto/chelsio/chcr_ktls.c

index 73658b71d4a3554a52525fc96313472a73d3beaf..cd1769ecdc1cc99b68fa9b50bd329621d6be320e 100644 (file)
@@ -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"