The patch titled fixed add_bind_files() definition has been added to the -mm tree. Its filename is drivers-base-check-errors-fix-2.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: fixed add_bind_files() definition From: Yoichi Yuasa <yoichi_yuasa@xxxxxxxxxxxxxx> > drivers/base/bus.c: In function 'bus_add_driver': > drivers/base/bus.c:523: error: void value not ignored as it ought to be When CONFIG_HOTPLUG is n, add_bind_files() definition is wrong. This patch has fixed it. Signed-off-by: Yoichi Yuasa <yoichi_yuasa@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/base/bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/base/bus.c~drivers-base-check-errors-fix-2 drivers/base/bus.c --- a/drivers/base/bus.c~drivers-base-check-errors-fix-2 +++ a/drivers/base/bus.c @@ -487,7 +487,7 @@ static void remove_bind_files(struct dev driver_remove_file(drv, &driver_attr_unbind); } #else -static inline void add_bind_files(struct device_driver *drv) {} +static inline int add_bind_files(struct device_driver *drv) { return 0; } static inline void remove_bind_files(struct device_driver *drv) {} #endif _ Patches currently in -mm which might be from yoichi_yuasa@xxxxxxxxxxxxxx are drivers-base-check-errors-fix-2.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html