From: Baruch Siach <baruch@tkos.co.il>
To: barebox@lists.infradead.org
Subject: Re: [PATCH] i2c: fix adapter_list manipulation
Date: Tue, 15 Jun 2010 08:12:35 +0300 [thread overview]
Message-ID: <20100615051235.GC3233@jasper.tkos.co.il> (raw)
In-Reply-To: <471ada329c4028bfda67cfa2bca1e131aed6ae0e.1276022070.git.baruch@tkos.co.il>
Hi barebox list,
Ping?
This seems to fix an obvious bug.
baruch
On Tue, Jun 08, 2010 at 09:36:04PM +0300, Baruch Siach wrote:
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> drivers/i2c/i2c.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/i2c/i2c.c b/drivers/i2c/i2c.c
> index 1fa114a..87360f3 100644
> --- a/drivers/i2c/i2c.c
> +++ b/drivers/i2c/i2c.c
> @@ -365,7 +365,7 @@ int i2c_add_numbered_adapter(struct i2c_adapter *adapter)
> if (i2c_get_adapter(adapter->nr))
> return -EBUSY;
>
> - list_add_tail(&adapter_list, &adapter->list);
> + list_add_tail(&adapter->list, &adapter_list);
>
> /* populate children from any i2c device tables */
> scan_boardinfo(adapter);
> --
> 1.7.1
>
--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2010-06-15 5:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-08 18:36 Baruch Siach
2010-06-15 5:12 ` Baruch Siach [this message]
2010-06-17 12:00 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100615051235.GC3233@jasper.tkos.co.il \
--to=baruch@tkos.co.il \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox