lkml.org 
[lkml]   [2003]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] Fix ide unregister vs. driver model
On Mon, 2003-08-25 at 12:01, insecure wrote:
> On Sunday 24 August 2003 16:05, Benjamin Herrenschmidt wrote:
> > static void hwif_register (ide_hwif_t *hwif)
> > {
> > /* register with global device tree */
> > strlcpy(hwif->gendev.bus_id,hwif->name,BUS_ID_SIZE);
> > hwif->gendev.driver_data = hwif;
> > + if (hwif->gendev.parent == NULL) {
> > if (hwif->pci_dev)
> > hwif->gendev.parent = &hwif->pci_dev->dev;
> > else
> > hwif->gendev.parent = NULL; /* Would like to do = &device_legacy */
> > + }
>
> inner if() should be indented

Ah shit, I keep fixing that and for some reason, it keeps re-breaking...
I must have confused bitkeeper someway

Anyway, Bart, you know how to fix that ;)

Ben.


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

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.153 / U:0.712 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site