From 85d16b15f5d6459fa7f3a885e3c67adbdbbebcc3 Mon Sep 17 00:00:00 2001 From: "Isaac J. Manjarres" Date: Tue, 13 Oct 2020 16:34:46 -0700 Subject: [PATCH] dma-mapping.h: Fix CRC mismatch issues from including genalloc.h Commit 3a1bd738ef91 ("dma-mapping-fast: Do not clobber existing atomic pool") included the genalloc.h header file in the dma-mapping.h header file. Including genalloc.h in dma-mapping.h expands the definition of the gen_pool structure for all files that include dma-mapping.h. This can cause a different CRC value to be generated for an exported function symbol, if the function parameters or any of their descendant members contain genpool structures, as the genpool structures may have been previously forward declared, but now they are fully defined. Remove the inclusion of genalloc.h in dma-mapping.h to fix this. Change-Id: I83a3fad284649b91372168d845f30d9302f75c1d Signed-off-by: Isaac J. Manjarres --- include/linux/dma-mapping.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h index 6f45205ea09a..6ae5f26d5499 100644 --- a/include/linux/dma-mapping.h +++ b/include/linux/dma-mapping.h @@ -11,7 +11,6 @@ #include #include #include -#include #include /**