aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kunit/string-stream-test.c
diff options
context:
space:
mode:
authorAlan Maguire <[email protected]>2020-01-06 22:28:18 +0000
committerShuah Khan <[email protected]>2020-01-09 23:41:05 +0000
commit109fb06fdc6f6788df7dfbc235f7636a38e28fd4 (patch)
tree60e4a5e207e71a5884624f4954c737c16593fd55 /lib/kunit/string-stream-test.c
parentapparmor: add AppArmor KUnit tests for policy unpack (diff)
downloadkernel-109fb06fdc6f6788df7dfbc235f7636a38e28fd4.tar.gz
kernel-109fb06fdc6f6788df7dfbc235f7636a38e28fd4.zip
kunit: move string-stream.h to lib/kunit
string-stream interfaces are not intended for external use; move them from include/kunit to lib/kunit accordingly. Co-developed-by: Knut Omang <[email protected]> Signed-off-by: Knut Omang <[email protected]> Signed-off-by: Alan Maguire <[email protected]> Reviewed-by: Brendan Higgins <[email protected]> Tested-by: Brendan Higgins <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'lib/kunit/string-stream-test.c')
-rw-r--r--lib/kunit/string-stream-test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/kunit/string-stream-test.c b/lib/kunit/string-stream-test.c
index 76cc05eb00ed..6c70dc87f676 100644
--- a/lib/kunit/string-stream-test.c
+++ b/lib/kunit/string-stream-test.c
@@ -6,10 +6,11 @@
* Author: Brendan Higgins <[email protected]>
*/
-#include <kunit/string-stream.h>
#include <kunit/test.h>
#include <linux/slab.h>
+#include "string-stream.h"
+
static void string_stream_test_empty_on_creation(struct kunit *test)
{
struct string_stream *stream = alloc_string_stream(test, GFP_KERNEL);