diff options
author | Jan Beulich <JBeulich@novell.com> | 2009-07-16 08:45:11 (GMT) |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-07-21 17:49:18 (GMT) |
commit | e9084ec98bb9aa3abc6cf73181177780ce7546f8 (patch) | |
tree | 1eb7985ac722c833b083ea31c10ac92630cd55f5 /arch/x86/crypto/twofish_glue.c | |
parent | ebe119cd0929df4878f758ebf880cb435e4dcaaf (diff) | |
download | linux-e9084ec98bb9aa3abc6cf73181177780ce7546f8.tar.xz |
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>
Diffstat (limited to 'arch/x86/crypto/twofish_glue.c')
0 files changed, 0 insertions, 0 deletions