lkml.org 
[lkml]   [2007]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: + git-battery-fix.patch added to -mm tree
On Tue, May 08, 2007 at 03:01:20AM -0700, akpm@linux-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@linux-foundation.org>
>
> Cc: Anton Vorontsov <cbou@mail.ru>
> Signed-off-by: Andrew Morton <akpm@linux-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@mail.ru
backup email: ya-cbou@yandex.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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-05-08 13:23    [W:0.058 / U:0.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site