From: Al Viro Date: Sat, 23 Sep 2006 00:18:41 +0000 (+0100) Subject: [PATCH] fix ancient breakage in ebus_init() X-Git-Tag: v2.6.19-rc1~1291 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc9bd99e9adfa4f44ea050a63fb41a3f764acf84;p=pandora-kernel.git [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 Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed