[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070508111924.GA16785@zarina>
Date: Tue, 8 May 2007 15:19:24 +0400
From: Anton Vorontsov <cbou@...l.ru>
To: akpm@...ux-foundation.org
Cc: Greg KH <gregkh@...e.de>, Evgeniy Polyakov <johnpol@....mipt.ru>,
linux-kernel@...r.kernel.org
Subject: Re: + git-battery-fix.patch added to -mm tree
On Tue, May 08, 2007 at 03:01:20AM -0700, akpm@...ux-foundation.org wrote:
>
> The patch titled
> git-battery-fix
> has been added to the -mm tree. Its filename is
> git-battery-fix.patch
Andrew, much thanks for fixing that. That error triggered by some
refactors in drivers/base/... I suppose I have to setup -mm tree in
addition to Linus', to test -mm builds from time to time for the
purpose of catching these changes myself.
Though, this error happened indeed because nobody cares about
find_bus function nowdays...
I want ask Greg KH and Evgeniy Polyakov: could you together settle
preferred way of accessing bus types? Should we really use
find_bus/bus_find, or Evgeniy would just export w1 bus type? In
later case, I'll remove un-"if 0" find_bus patch, and will
prepare another which will export w1 bus type.
I do not have any preference, both solutions will work.
Thanks,
> *** Remember to use Documentation/SubmitChecklist when testing your code ***
>
> See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
> out what to do about this
>
> ------------------------------------------------------
> Subject: git-battery-fix
> From: Andrew Morton <akpm@...ux-foundation.org>
>
> Cc: Anton Vorontsov <cbou@...l.ru>
> Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
> ---
>
> drivers/base/bus.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff -puN drivers/base/bus.c~git-battery-fix drivers/base/bus.c
> --- a/drivers/base/bus.c~git-battery-fix
> +++ a/drivers/base/bus.c
> @@ -740,7 +740,7 @@ void put_bus(struct bus_type * bus)
>
> struct bus_type * find_bus(char * name)
> {
> - struct kobject * k = kset_find_obj(&bus_subsys.kset, name);
> + struct kobject * k = kset_find_obj(&bus_subsys, name);
> return k ? to_bus(k) : NULL;
> }
> EXPORT_SYMBOL_GPL(find_bus);
> _
>
--
Anton Vorontsov
email: cbou@...l.ru
backup email: ya-cbou@...dex.ru
irc://irc.freenode.org/bd2
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists