From: Corey Minyard Date: Tue, 21 Apr 2009 19:24:04 +0000 (-0700) Subject: ipmi: fix statistics counting issues X-Git-Tag: v2.6.30-rc3~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25176ed670121e1e0aae5c8161713c332b786538;p=pandora-kernel.git ipmi: fix statistics counting issues Bela Lubkin noticed that the statistics for send IPMB and LAN commands in the IPMI driver could be incremented even if an error occurred. Move the increments to the proper place to avoid this. Also add some statistics for retransmissions that failed, and some little helper functions to neaten up the code a little. Signed-off-by: Corey Minyard Cc: Bela Lubkin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed