android_kernel_xiaomi_sm8350/drivers/ide/ppc
Benjamin Herrenschmidt 9842727da7 ide/powermac: Fix use of uninitialized pointer on media-bay
The current ide-pmac calls media_bay_set_ide_infos() with an
uninitialized "hwif" argument. The proper fix is to split the
allocation of the hwif from its registration in order to properly
setup the mediabay informations before registration.

Acked-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2008-07-30 15:26:53 +10:00
..
Makefile powerpc/ide: remove mpc8xx-ide driver 2008-07-16 20:33:41 +02:00
pmac.c ide/powermac: Fix use of uninitialized pointer on media-bay 2008-07-30 15:26:53 +10:00