mirror of
https://github.com/torvalds/linux.git
synced 2026-12-04 04:14:24 +00:00
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 <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>