lkml.org 
[lkml]   [2016]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectv4.5-rc1 : arch/x86/kernel/hw breakpoint.c:360:20: warn ing: ‘align’ may be used uninitialized
Date
As a n00b I do wonder about he following warning:


CC arch/x86/kernel/hw_breakpoint.o
arch/x86/kernel/hw_breakpoint.c: In function ‘arch_validate_hwbkpt_settings’:
arch/x86/kernel/hw_breakpoint.c:360:20: warning: ‘align’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (info->address & align)
^

at a 32 bit Gentoo KVM. Why isn't "align" set to some value in the "default:" branch of the switch above -or- why there is a "default:" there if it can't be reached ?

--
Toralf, pgp: C4EACDDE 0076E94E

\
 
 \ /
  Last update: 2016-01-26 21:01    [W:0.033 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site