]> git.ipfire.org Git - people/ms/linux.git/commit
[PATCH] DMI: fix DMI onboard device discovery
authorAndrey Panin <pazke@donpac.ru>
Fri, 24 Mar 2006 21:18:52 +0000 (13:18 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Mar 2006 06:47:31 +0000 (22:47 -0800)
commit74c34e68ec7ac4383ee49b2e8b8a7a2efa8e1012
tree0b19ad550d89d82ca791b90d608d3d549b7bca7d
parenta0049f933fdbab3d483d0d4d865a505126dbcbf4
[PATCH] DMI: fix DMI onboard device discovery

Attached patch fixes invalid pointer arithmetic in DMI code to make onboard
device discovery working again.

akpm: bug has been present since dmi_find_device() was added in 2.6.14.
Affects ipmi only (I think) - the symptoms weren't described.

akpm: changed to use pointer arithmetic rather than open-coded sizeof.

Signed-off-by: Andrey Panin <pazke@donpac.ru>
Cc: Corey Minyard <minyard@acm.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/i386/kernel/dmi_scan.c