oprofile, x86: Fix overflow and warning (commit 1d12d35)
authorRobert Richter <robert.richter@amd.com>
Tue, 16 Aug 2011 21:39:53 +0000 (23:39 +0200)
committerRobert Richter <robert.richter@amd.com>
Tue, 16 Aug 2011 21:51:00 +0000 (23:51 +0200)
Following fixes for:

 1d12d35 oprofile, x86: Convert memory allocation to static array

Fix potential buffer overflow.

Fix the following warning:

 arch/x86/oprofile/op_model_ppro.c: In function ‘ppro_check_ctrs’:
 arch/x86/oprofile/op_model_ppro.c:143: warning: label ‘out’ defined but not used

Cc: Maarten Lankhorst <m.b.lankhorst@gmail.com>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Robert Richter <robert.richter@amd.com>

No differences found