Chen Gang cceaeddc2e 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>
2015-05-26 10:01:51 -07:00
..
2009-01-15 16:39:40 -08:00
2012-03-28 18:11:12 +01:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:11:12 +01:00
2009-05-02 15:36:10 -07:00
2012-03-28 18:11:12 +01:00
2011-03-31 11:26:23 -03:00
2005-04-16 15:20:36 -07:00
2012-03-28 18:11:12 +01:00
2005-04-16 15:20:36 -07:00
2013-11-16 16:33:16 -08:00
2014-08-26 13:45:53 -04:00
2013-11-16 16:33:13 -08:00
2013-11-16 16:33:16 -08:00
2012-03-28 18:11:12 +01:00
2014-08-26 13:45:53 -04:00