[PATCH] x86/hw-breakpoints: eliminate a compiler warning for hw_breakpoint.c

2014-12-28 Thread Chen Yucong
There is a warning message when we compile the linux-next tree. arch/x86/kernel/hw_breakpoint.c: In function ‘arch_validate_hwbkpt_settings’: arch/x86/kernel/hw_breakpoint.c:329:20: warning: ‘align’ may be used uninitialized in this function [-Wuninitialized] This patch aims to eliminate the

[PATCH] x86/hw-breakpoints: eliminate a compiler warning for hw_breakpoint.c

2014-12-28 Thread Chen Yucong
There is a warning message when we compile the linux-next tree. arch/x86/kernel/hw_breakpoint.c: In function ‘arch_validate_hwbkpt_settings’: arch/x86/kernel/hw_breakpoint.c:329:20: warning: ‘align’ may be used uninitialized in this function [-Wuninitialized] This patch aims to eliminate the