Jan Beulich e9084ec98b 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 <jbeulich@novell.com>
Cc: Andi Kleen <andi@firstfloor.org>
LKML-Reference: <4A5F04B7020000780000AB59@vpn.id2.novell.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2009-07-21 10:49:18 -07:00
..
2009-07-12 12:22:34 -07:00
2009-07-10 14:24:05 -07:00
2009-07-10 14:24:05 -07:00
2009-07-12 12:22:34 -07:00
2009-07-12 12:22:34 -07:00
2009-07-10 14:24:05 -07:00
2009-07-10 14:24:05 -07:00
2009-07-12 12:22:34 -07:00
2009-07-10 14:24:05 -07:00
2009-07-12 12:22:34 -07:00
2009-07-12 12:22:34 -07:00
2009-07-10 14:24:05 -07:00
2009-07-12 12:22:34 -07:00
2009-07-12 12:22:34 -07:00
2009-07-10 14:24:05 -07:00
2009-07-21 10:49:18 -07:00
2009-07-10 14:24:05 -07:00