diff options
author | 2015-05-18 12:37:08 +0800 | |
---|---|---|
committer | 2015-05-26 10:01:51 -0700 | |
commit | cceaeddc2edf710141563c65808b5cea6829b925 (patch) | |
tree | be524c12ee03ceb28d9ed4ddb5457cc1714a6406 /scripts/gdb/linux/modules.py | |
parent | alpha: Wire up all missing implemented syscalls (diff) | |
download | wireguard-linux-cceaeddc2edf710141563c65808b5cea6829b925.tar.xz wireguard-linux-cceaeddc2edf710141563c65808b5cea6829b925.zip |
alpha: kernel: osf_sys: Set 'kts.tv_nsec' only when 'tv' has effect
The related warning:
CC init/do_mounts.o
arch/alpha/kernel/osf_sys.c: In function 'SyS_osf_settimeofday':
arch/alpha/kernel/osf_sys.c:1028:14: warning: 'kts.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized]
kts.tv_nsec *= 1000;
^
arch/alpha/kernel/osf_sys.c:1016:18: note: 'kts' was declared here
struct timespec kts;
^
Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions