lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090203002013.GA29462@zarina>
Date:	Tue, 3 Feb 2009 03:20:13 +0300
From:	Anton Vorontsov <cbouatmailru@...il.com>
To:	Andrew Morton <akpm@...ux-foundation.org>
Cc:	Balaji Rao <balajirrao@...nmoko.org>, linux-kernel@...r.kernel.org,
	cbou@...l.ru, andy@...nmoko.com
Subject: Re: [PATCH 1/3] pcf50633_charger: Fix typo

On Mon, Feb 02, 2009 at 02:41:55PM -0800, Andrew Morton wrote:
> On Tue, 27 Jan 2009 19:22:38 +0530
> Balaji Rao <balajirrao@...nmoko.org> wrote:
> 
> > Signed-off-by: Balaji Rao <balajirrao@...nmoko.org>
> > Cc: Andy Green <andy@...nmoko.com>
> > Cc: Anton Vorontsov <cbou@...l.ru>
> > ---
> >  drivers/power/pcf50633-charger.c |    3 ++-
> >  1 files changed, 2 insertions(+), 1 deletions(-)
> > 
> > diff --git a/drivers/power/pcf50633-charger.c b/drivers/power/pcf50633-charger.c
> > index e988ec1..41aec2a 100644
> > --- a/drivers/power/pcf50633-charger.c
> > +++ b/drivers/power/pcf50633-charger.c
> > @@ -199,7 +199,8 @@ static int adapter_get_property(struct power_supply *psy,
> >  			enum power_supply_property psp,
> >  			union power_supply_propval *val)
> >  {
> > -	struct pcf50633_mbc *mbc = container_of(psy, struct pcf50633_mbc, usb);
> > +	struct pcf50633_mbc *mbc = container_of(psy,
> > +				struct pcf50633_mbc, adapter);
> >  	int ret = 0;
> >  
> >  	switch (psp) {
> 
> This looks like it fixes a rather fatal bug?

Yeah, the fix is already queued for 2.6.29 (battery-2.6.29 tree).

-- 
Anton Vorontsov
email: cbouatmailru@...il.com
irc://irc.freenode.net/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

Powered by Openwall GNU/*/Linux Powered by OpenVZ