Messages in this thread | | | Date | Mon, 18 Jan 2010 15:05:01 +1100 | From | Stephen Rothwell <> | Subject | linux-next: origin tree build warning |
| |
Hi all,
Today's linux-next build (x86_64_allmodconfig) produced these warnings:
drivers/base/memory.c:319: warning: initialization from incompatible pointer type drivers/base/memory.c:353: warning: initialization from incompatible pointer type drivers/base/memory.c:408: warning: initialization from incompatible pointer type drivers/base/memory.c:409: warning: initialization from incompatible pointer type
Introduced by commit 8ff410daa009c4b44be445ded5b0cec00abc0426 ("sysdev: fix prototype for memory_sysdev_class show/store functions").
The third parameter to SYSDEV_CLASS_ATTR should be a "ssize_t (*)(struct sysdev_class *, char *)", but this commit changes them to "ssize_t (*) (struct sysdev_class *, struct sysdev_class_attribute *, char *buf)". Or maybe the definition of "struct sysdev_class_attribute" is wrong?
It actually looks like commit c29af9636 ("sysdev: Pass attribute in sysdev_class attributes show/store") referred to in the changelog for the above commit has not yet been applied to Linus' tree?
-- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ [unhandled content-type:application/pgp-signature] | |