diff options
author | Paul Osmialowski <p.osmialowsk@samsung.com> | 2015-09-03 16:38:42 +0200 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2016-04-04 10:12:44 +0900 |
commit | 579af2666f1b0b869dc3d6ece2592cb4ceb1c058 (patch) | |
tree | f3b2ad6bf843a9268992c8a40ec400f9bb31f105 | |
parent | 555cb6b16c21b35a69411847206b5caa4bce1bb3 (diff) | |
download | linux-exynos-579af2666f1b0b869dc3d6ece2592cb4ceb1c058.tar.gz linux-exynos-579af2666f1b0b869dc3d6ece2592cb4ceb1c058.tar.bz2 linux-exynos-579af2666f1b0b869dc3d6ece2592cb4ceb1c058.zip |
kdbus: Eliminate warning caused by lack of uapi/linux/kdbus.h inclusion
metadata.h references struct kdbus_pids which is defined in
uapi/linux/kdbus.h
Normally, kdbus/metadata.h is included as one of many other headers
that eventually include uapi/linux/kdbus.h at some point.
When included alone, it causes warning. Also when kdbus/connection.h
is included alone (e.g. in smack_lsm.c) , the same warning is shown
as it includes kdbus/metadata.h.
This patch adds missing inclusion.
Change-Id: Id099e3e2f9e3389571ea9a2b21b1f901898960cd
Signed-off-by: Paul Osmialowski <p.osmialowsk@samsung.com>
-rw-r--r-- | ipc/kdbus/metadata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ipc/kdbus/metadata.h b/ipc/kdbus/metadata.h index 42c942b34d2c..0c977cd9e28d 100644 --- a/ipc/kdbus/metadata.h +++ b/ipc/kdbus/metadata.h @@ -16,6 +16,7 @@ #define __KDBUS_METADATA_H #include <linux/kernel.h> +#include <uapi/linux/kdbus.h> struct kdbus_conn; struct kdbus_kmsg; |