markup_oops: use modinfo to avoid confusion with underscored module names
authorOzan Çaglayan <ozan@pardus.org.tr>
Fri, 18 Sep 2009 19:49:27 +0000 (12:49 -0700)
committerSam Ravnborg <sam@ravnborg.org>
Sun, 20 Sep 2009 10:27:43 +0000 (12:27 +0200)
commit82fa39552fd858468a5647fa58d14955ecd50eb4
tree92b29c2f4780dc5480a1125354415f8f3bfd4bf1
parentf9d490ab374236a115440c771ecf0fb2890eb929
markup_oops: use modinfo to avoid confusion with underscored module names

When EIP is at a module having an underscore in its name, the current code
fails to find it because the module filenames has '-' instead of '_'.  Use
modinfo for a better path finding.

Signed-off-by: Ozan Çaglayan <ozan@pardus.org.tr>
Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
Cc: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/markup_oops.pl