diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-09-23 01:18:41 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-22 17:48:56 -0700 |
commit | cc9bd99e9adfa4f44ea050a63fb41a3f764acf84 (patch) | |
tree | d8f4512b107305f119d727e7fd3f523fd9125f4e /drivers | |
parent | a83fbf635992442edf6aa3252e4008d4a08edf12 (diff) |
[PATCH] fix ancient breakage in ebus_init()
Back when pci_dev had base_address[], loop of form
base = &...->base_address[0];
for (.....) {
...
*base++ = addr;
}
was fine, but when that array got spread in ->resource[...].start
replacing the initialization with
base = &...->resource[0].start;
was not a sufficient modification. IOW this code got broken for cases
when there had been more than one resource to fill. All way back in
2.3.41-pre3...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions