From: Jan Beulich Date: Thu, 16 Jul 2009 08:45:11 +0000 (+0100) Subject: x86, mce: Fix set_trigger() accessor X-Git-Tag: v2.6.31-rc5~87^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9084ec98bb9aa3abc6cf73181177780ce7546f8;p=pandora-kernel.git x86, mce: Fix set_trigger() accessor Fix the condition checking the result of strchr() (which previously could result in an oops), and make the function return the number of bytes actively used. [ Impact: fix oops ] Signed-off-by: Jan Beulich Cc: Andi Kleen LKML-Reference: <4A5F04B7020000780000AB59@vpn.id2.novell.com> Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed