From: Andrew Morton <akpm@linux-foundation.org>
To: Greg KH <gregkh@suse.de>
Cc: "Randy.Dunlap" <rdunlap@xenotime.net>,
stern@rowland.harvard.edu, linux-kernel@vger.kernel.org,
torvalds@linux-foundation.org, stable@kernel.org
Subject: Re: Linux 2.6.25.4
Date: Thu, 15 May 2008 11:38:15 -0700 [thread overview]
Message-ID: <20080515113815.1a728226.akpm@linux-foundation.org> (raw)
In-Reply-To: <20080515172518.GA23810@suse.de>
On Thu, 15 May 2008 10:25:18 -0700 Greg KH <gregkh@suse.de> wrote:
> On Thu, May 15, 2008 at 09:43:04AM -0700, Randy.Dunlap wrote:
> > On Thu, 15 May 2008, Greg Kroah-Hartman wrote:
> >
> > > We (the -stable team) are announcing the release of the 2.6.25.4 kernel.
> > >
> > > It contains a bunch of bug fixes, and one security update, so all users
> > > of the 2.6.25 series are encouraged to upgrade.
> >
> > Build errors on i386 and x86_64 allyesconfig:
> >
> > drivers/usb/host/ohci-sm501.c:242: error: 'hcd' undeclared (first use in this function)
> > drivers/usb/host/ohci-sm501.c:242: error: (Each undeclared identifier is reported only once
> > drivers/usb/host/ohci-sm501.c:242: error: for each function it appears in.)
> > make[3]: *** [drivers/usb/host/ohci-hcd.o] Error 1
>
> Alan, this is due to your OHCI patch :(
>
> Care to send me a fix for this?
>
umm, I was just berated for repeatedly sending the below "unneeded"
patch to you:
From: Reynes Philippe <tremyfr@yahoo.fr>
The function ohci_sm501_resume in drivers/usb/host/ohci-hcd.c use the variable
hcd, but this variable is undeclared in this function, so the compilation
fails with this error :
CC drivers/usb/host/ohci-hcd.o
In file included from drivers/usb/host/ohci-hcd.c:1056:
drivers/usb/host/ohci-sm501.c: In function `ohci_sm501_resume':
drivers/usb/host/ohci-sm501.c:241: erreur: `hcd' undeclared (first use in this function)
drivers/usb/host/ohci-sm501.c:241: erreur: (Each undeclared identifier is reported only once
drivers/usb/host/ohci-sm501.c:241: erreur: for each function it appears in.)
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/usb/host/ohci-sm501.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/usb/host/ohci-sm501.c~fix-gregkh-usb-usb-ohci-host-controller-resumes-leave-root-hub-suspended drivers/usb/host/ohci-sm501.c
--- a/drivers/usb/host/ohci-sm501.c~fix-gregkh-usb-usb-ohci-host-controller-resumes-leave-root-hub-suspended
+++ a/drivers/usb/host/ohci-sm501.c
@@ -238,7 +238,7 @@ static int ohci_sm501_resume(struct plat
ohci->next_statechange = jiffies;
sm501_unit_power(dev->parent, SM501_GATE_USB_HOST, 1);
- ohci_finish_controller_resume(hcd);
+ ohci_finish_controller_resume(ohci_to_hcd(ohci));
return 0;
}
#else
_
next prev parent reply other threads:[~2008-05-15 18:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-15 15:07 Linux 2.6.25.4 Greg Kroah-Hartman
2008-05-15 15:07 ` Greg Kroah-Hartman
2008-05-15 16:43 ` Randy.Dunlap
2008-05-15 17:25 ` Greg KH
2008-05-15 18:38 ` Andrew Morton [this message]
2008-05-15 18:56 ` Alan Stern
2008-06-02 4:28 ` Atsushi Nemoto
2008-06-02 15:44 ` [stable] " Greg KH
2008-06-02 16:23 ` Atsushi Nemoto
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=20080515113815.1a728226.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=rdunlap@xenotime.net \
--cc=stable@kernel.org \
--cc=stern@rowland.harvard.edu \
--cc=torvalds@linux-foundation.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