Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1241153

linux-next: build warning after merge of the driver-core tree

From Stephen Rothwell <sfr@canb.auug.org.au>
Newsgroups linux.kernel
Subject linux-next: build warning after merge of the driver-core tree
Date 2015-10-07 07:00 +0200
Message-ID <qgOZz-2Wm-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Greg,

After merging the driver-core tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

drivers/base/power/opp/debugfs.c: In function 'opp_debug_create_one':
drivers/base/power/opp/debugfs.c:48:7: warning: passing argument 4 of 'debugfs_create_bool' from incompatible pointer type
  if (!debugfs_create_bool("available", S_IRUGO, d,
       ^
In file included from drivers/base/power/opp/debugfs.c:13:0:
include/linux/debugfs.h:94:16: note: expected 'bool *' but argument is of type 'u32 *'
 struct dentry *debugfs_create_bool(const char *name, umode_t mode,
                ^
drivers/base/power/opp/debugfs.c:52:7: warning: passing argument 4 of 'debugfs_create_bool' from incompatible pointer type
  if (!debugfs_create_bool("dynamic", S_IRUGO, d, (u32 *)&opp->dynamic))
       ^
In file included from drivers/base/power/opp/debugfs.c:13:0:
include/linux/debugfs.h:94:16: note: expected 'bool *' but argument is of type 'u32 *'
 struct dentry *debugfs_create_bool(const char *name, umode_t mode,
                ^
drivers/base/power/opp/debugfs.c:55:7: warning: passing argument 4 of 'debugfs_create_bool' from incompatible pointer type
  if (!debugfs_create_bool("turbo", S_IRUGO, d, (u32 *)&opp->turbo))
       ^
In file included from drivers/base/power/opp/debugfs.c:13:0:
include/linux/debugfs.h:94:16: note: expected 'bool *' but argument is of type 'u32 *'
 struct dentry *debugfs_create_bool(const char *name, umode_t mode,
                ^

Introduced by commit

  621a5f7ad9cd ("debugfs: Pass bool pointer to debugfs_create_bool()")

interacting with commit

  5cb5fdbf3877 ("PM / OPP: Add debugfs support")

from the pm tree.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

linux-next: build warning after merge of the driver-core tree Stephen Rothwell <sfr@canb.auug.org.au> - 2015-10-07 07:00 +0200
  Re: linux-next: build warning after merge of the driver-core tree Viresh Kumar <viresh.kumar@linaro.org> - 2015-10-07 08:50 +0200
    Re: linux-next: build warning after merge of the driver-core tree "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-10-07 23:30 +0200
      Re: linux-next: build warning after merge of the driver-core tree Stephen Rothwell <sfr@canb.auug.org.au> - 2015-10-08 00:10 +0200
        Re: linux-next: build warning after merge of the driver-core tree "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-10-08 00:20 +0200
          Re: linux-next: build warning after merge of the driver-core tree Viresh Kumar <viresh.kumar@linaro.org> - 2015-10-08 09:20 +0200
            Re: linux-next: build warning after merge of the driver-core tree "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-10-08 22:10 +0200
              Re: linux-next: build warning after merge of the driver-core tree Stephen Rothwell <sfr@canb.auug.org.au> - 2015-10-09 07:40 +0200
                Re: linux-next: build warning after merge of the driver-core tree Viresh Kumar <viresh.kumar@linaro.org> - 2015-10-09 08:40 +0200
                Re: linux-next: build warning after merge of the driver-core tree "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-10-09 22:30 +0200
              Re: linux-next: build warning after merge of the driver-core tree Viresh Kumar <viresh.kumar@linaro.org> - 2015-10-09 08:40 +0200

csiph-web