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

From: Alan Cox
Date: Mon Sep 22 2008 - 18:12:56 EST


> > +
>
> trailing whitespace

Nod..

> > if (did && (did->match_flags & PCMCIA_DEV_ID_MATCH_DEVICE_NO) &&
> > (p_dev->socket->device_count == 1) && (p_dev->device_no ==
> > 0)) pcmcia_add_device_later(p_dev->socket, 0);
>
> uh?

Looks like a mailer folded it later, but the patch itself seems just fine.

> >
> > - 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 ;)

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/