Skip to content

Commit ffa550c

Browse files
JasonYanHwtorvalds
authored andcommitted
lib/memregion.c: include memregion.h
This addresses the following sparse warning: lib/memregion.c:8:5: warning: symbol 'memregion_alloc' was not declared. Should it be static? lib/memregion.c:14:6: warning: symbol 'memregion_free' was not declared. Should it be static? Reported-by: Hulk Robot <[email protected]> Signed-off-by: Jason Yan <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
1 parent 1e1b6d6 commit ffa550c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/memregion.c

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
/* identifiers for device / performance-differentiated memory regions */
33
#include <linux/idr.h>
44
#include <linux/types.h>
5+
#include <linux/memregion.h>
56

67
static DEFINE_IDA(memregion_ids);
78

0 commit comments

Comments
 (0)