From: "Cyrill Gorcunov" <gorcunov@gmail.com>
To: "Paul Mackerras" <paulus@samba.org>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH] PPC: trivial fix of missed increment on counter
Date: Wed, 21 Nov 2007 11:56:19 +0300 [thread overview]
Message-ID: <aa79d98a0711210056n6cc951atf4c6af5be26c1ed0@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 279 bytes --]
This patch does fix missed increment on counter
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
---
Sorry for that nonstandart patch submission - I've only access
to gmail with Internet Explorer on my work. If that is not OK - will resend
the patch today evening with mutt.
[-- Attachment #2: electra_ide.c-missed-inc.diff --]
[-- Type: text/plain, Size: 403 bytes --]
--- a/arc/powerpc/platforms/pasemi/electra_ide.c Tue Nov 13 03:05:24 2007
+++ b/arc/powerpc/platforms/pasemi/electra_ide.c Fri Nov 16 10:32:12 2007
@@ -42,7 +42,7 @@
np = of_find_compatible_node(NULL, "ide", "electra-ide");
i = 0;
- while (np && i < MAX_IFS) {
+ while (np && i++ < MAX_IFS) {
memset(r, 0, sizeof(r));
/* pata_platform wants two address ranges: one for the base registers,
next reply other threads:[~2007-11-21 8:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-21 8:56 Cyrill Gorcunov [this message]
2007-11-21 10:58 ` Cyrill Gorcunov
2007-11-22 15:20 ` Olof Johansson
2007-11-22 15:38 ` Cyrill Gorcunov
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=aa79d98a0711210056n6cc951atf4c6af5be26c1ed0@mail.gmail.com \
--to=gorcunov@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=paulus@samba.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®