From: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de>
To: Adrian Bunk <bunk@kernel.org>
Cc: linux-kernel@vger.kernel.org, dbrownell@users.sourceforge.net
Subject: Re: [PATCH] spi: two bug-fixes
Date: Wed, 4 Jun 2008 17:41:27 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.64.0806041737550.32657@axis700.grange> (raw)
In-Reply-To: <20080604153132.GB4189@cs181133002.pp.htv.fi>
On Wed, 4 Jun 2008, Adrian Bunk wrote:
> On Wed, Jun 04, 2008 at 05:11:14PM +0200, Guennadi Liakhovetski wrote:
> > Index: linux-2.6/drivers/gpio/mcp23s08.c
> > ===================================================================
> > --- linux-2.6.orig/drivers/gpio/mcp23s08.c 2008-06-04 12:11:26.000000000 +0200
> > +++ linux-2.6/drivers/gpio/mcp23s08.c 2008-06-04 12:11:50.000000000 +0200
> > @@ -178,7 +178,7 @@
> >
> > mutex_lock(&mcp->lock);
> > t = mcp23s08_read_regs(mcp, 0, mcp->cache, sizeof mcp->cache);
> > - if (t < 0) {
> > + if ((int)t < 0) {
> > seq_printf(s, " I/O ERROR %d\n", t);
> > goto done;
> > }
> >...
>
> The better fix of making "t" signed by Roel Kluin is already as
> commit 1d1c1d9b557a12320174058d2d313ffb0f8611f4 in Linus' tree.
Good, thanks for letting know! David, please, let me know if you want me
to resubmit the second part of the patch separately, or if you can just
extract it from the original one.
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
next prev parent reply other threads:[~2008-06-04 15:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-04 15:11 Guennadi Liakhovetski
2008-06-04 15:31 ` Adrian Bunk
2008-06-04 15:41 ` Guennadi Liakhovetski [this message]
2008-06-04 19:51 ` David Brownell
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=Pine.LNX.4.64.0806041737550.32657@axis700.grange \
--to=g.liakhovetski@pengutronix.de \
--cc=bunk@kernel.org \
--cc=dbrownell@users.sourceforge.net \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®