[PATCH] pcmcia: Fix broken abuse of dev->driver_data

Dominik Brodowski linux at dominikbrodowski.net
Mon Sep 22 18:26:55 EDT 2008


On Mon, Sep 22, 2008 at 11:12:27PM +0100, Alan Cox wrote:
> Nod..
...
> Looks like a mailer folded it later, but the patch itself seems just fine.

*gnah* already applied upstream, including the comment implying that PCMCIA
driver's making use of driver_data were correct, while they were not. At
least the trailing whitespace didn't get merged.

> > >  
> > > - put_module:
> > > +put_module:
> > >  	if (ret)
> > >  		module_put(p_drv->owner);
> > > - put_dev:
> > > +put_dev:
> > 
> > unrelated -- please do not change it this time.
> 
> Not sure you can have it both ways - if you don't want stray whitespace
> then fixing the labels to conform to coding style seems to go with it ;)

Well, there's a difference, and I know you know that I know that you know ;)
but you should also know that I already tried to apply the patch as it is,
which implies that I do not object too strongly to the removal of these two
non-characters from ds.c ;)

Thanks,
	Dominik



More information about the linux-pcmcia mailing list