diff options
author | Amit Pundir <amit.pundir@linaro.org> | 2016-05-19 15:14:28 +0530 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2016-05-19 15:18:27 +0530 |
commit | 71d97a95427b3c9c11788a8e6dd0117551d29166 (patch) | |
tree | 8bb3b20e632191a2d63db6ff1d7decaca1176674 /fs/ocfs2/xattr.h | |
parent | 2d2129d30505a494f6e5438173b6a5b3839d4fd1 (diff) |
ANDROID: dm: update debugfs_create_bool() call
Upstream commit 11f532e698ed (debugfs: Pass bool pointer to
debugfs_create_bool()) updated debugfs_create_bool() and it now takes
'bool *' as 4rth argument instead of 'u32 *'. Hence update
debugfs_create_bool() call in dm-android-verity, otherwise we run into
following warnings:
drivers/md/dm-android-verity.c: In function 'dm_android_verity_init':
drivers/md/dm-android-verity.c:821:5: warning: passing argument 4 of
'debugfs_create_bool' from incompatible pointer type
(u32 *)&target_added);
^
In file included from drivers/md/dm-android-verity.c:16:0:
include/linux/debugfs.h:97:16: note: expected 'bool *' but argument is
of type 'u32 *'
struct dentry *debugfs_create_bool(const char *name, umode_t mode,
^
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Diffstat (limited to 'fs/ocfs2/xattr.h')
0 files changed, 0 insertions, 0 deletions