diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-07-27 21:29:56 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-07-30 01:26:53 -0400 |
commit | 9842727da7d95d8249087148048cc571f967c023 (patch) | |
tree | 0143e3f805a25c72a3f1d7301270720414d139c2 /Documentation/gpio.txt | |
parent | 9ee07f91a1fab61ff0d8d25be43351a049c0a821 (diff) |
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 'Documentation/gpio.txt')
0 files changed, 0 insertions, 0 deletions