aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2008-07-28 11:29:56 +1000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2008-07-30 15:26:53 +1000
commit9842727da7d95d8249087148048cc571f967c023 (patch)
tree0143e3f805a25c72a3f1d7301270720414d139c2 /arch/powerpc/kernel
parentpowerpc: Allow non-hcall return values for lparcfg writes (diff)
downloadlinux-dev-9842727da7d95d8249087148048cc571f967c023.tar.xz
linux-dev-9842727da7d95d8249087148048cc571f967c023.zip
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>
Diffstat (limited to 'arch/powerpc/kernel')
0 files changed, 0 insertions, 0 deletions