[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.0708241349240.3862-100000@iolanthe.rowland.org>
Date: Fri, 24 Aug 2007 13:59:55 -0400 (EDT)
From: Alan Stern <stern@...land.harvard.edu>
To: Greg KH <greg@...ah.com>
cc: Greg KH <gregkh@...e.de>, Oliver Neukum <oneukum@...e.de>,
Theodore Ts'o <tytso@....edu>,
Zwane Mwaikambo <zwane@....linux.org.uk>,
<torvalds@...ux-foundation.org>,
Justin Forbes <jmforbes@...uxtx.org>,
Kernel development list <linux-kernel@...r.kernel.org>,
Chris Wedgwood <reviews@...cw.f00f.org>,
Domenico Andreoli <cavokz@...il.com>,
Randy Dunlap <rdunlap@...otime.net>,
Michael Krufky <mkrufky@...uxtv.org>,
Chuck Ebbert <cebbert@...hat.com>,
Dave Jones <davej@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Chuck Wolber <chuckw@...ntumlinux.com>, <stable@...nel.org>,
<alan@...rguk.ukuu.org.uk>,
USB development list <linux-usb-devel@...ts.sourceforge.net>
Subject: Re: [stable] [patch 25/28] USB: cdc-acm: fix sysfs attribute
registration bug
On Fri, 24 Aug 2007, Greg KH wrote:
> > Odd. This doesn't include the entire patch; the second hunk is
> > missing. It should go on to say:
> >
> > @@ -1109,10 +1113,12 @@ static void acm_disconnect(struct usb_interface *intf)
> > return;
> > }
> > if (acm->country_codes){
> > - device_remove_file(&intf->dev, &dev_attr_wCountryCodes);
> > - device_remove_file(&intf->dev, &dev_attr_iCountryCodeRelDate);
> > + device_remove_file(&acm->control->dev,
> > + &dev_attr_wCountryCodes);
> > + device_remove_file(&acm->control->dev,
> > + &dev_attr_iCountryCodeRelDate);
> > }
> > - device_remove_file(&intf->dev, &dev_attr_bmCapabilities);
> > + device_remove_file(&acm->control->dev, &dev_attr_bmCapabilities);
>
>
> I thought so too, untill you look at the 2.6.22.5 release, which already
> has that change in it for some reason.
>
> So that part of the patch drops out, it turns out you just reverted
> things back to the way things used to be here :)
I don't understand. The history for stable/linux-2.6.22.y.git at
http://git.kernel.org shows that the commit for my patch, labelled
6b30a4e1c357410a78d7bcb831743b0e99bab4ad,
includes both hunks. And patch-2.6.22.5.bz2 includes both as well.
Something's fishy.
Alan Stern
-
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