From: Arnaud Patard Date: Sat, 16 Sep 2006 19:15:36 +0000 (-0700) Subject: [PATCH] IPMI: Fix oops on ipmi_msghandler removal for non ipmi systems X-Git-Tag: v2.6.18~14^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55ebcc38a5f6d40e4c41447e413ef842b803980f;p=pandora-kernel.git [PATCH] IPMI: Fix oops on ipmi_msghandler removal for non ipmi systems When the ipmi_si module is loaded on a system without any ipmi device, it fails with nodev. It would be fine if all resources were freed. A call to device_unregister() is missing, resulting to a oops when you remove the ipmi_msghandler. Signed-off-by: Arnaud Patard Acked-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed