]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Swarm: Fix crash due to missing initialization
authorRalf Baechle <ralf@linux-mips.org>
Sat, 27 Sep 2008 17:32:16 +0000 (19:32 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 27 Sep 2008 17:32:16 +0000 (19:32 +0200)
commit3d977760b9478538821a75dd5eb74d0f2a2b01e3
treec09535aa83b4f7b617b59f7d4b83fabbf78c502a
parent6ef190cc92e33565accff6a320f0e7d90480bfe7
Swarm: Fix crash due to missing initialization

If things are just right this will result in the hws[0]->parent being
passed to ide_host_add() being non-zero and an ooops a little later.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/mips/swarm.c