• Randy Dunlap's avatar
    time: Fix various kernel-doc problems · f3cb8080
    Randy Dunlap authored
    Clean up kernel-doc complaints about function names and non-kernel-doc
    comments in kernel/time/. Fixes these warnings:
    
      kernel/time/time.c:479: warning: expecting prototype for set_normalized_timespec(). Prototype was for set_normalized_timespec64() instead
      kernel/time/time.c:553: warning: expecting prototype for msecs_to_jiffies(). Prototype was for __msecs_to_jiffies() instead
    
      kernel/time/timekeeping.c:1595: warning: contents before sections
      kernel/time/timekeeping.c:1705: warning: This comment starts with '/**', but isn't a kernel-doc comment.
       * We have three kinds of time sources to use for sleep time
      kernel/time/timekeeping.c:1726: warning: This comment starts with '/**', but isn't a kernel-doc comment.
       * 1) can be determined whether to use or not only when doing
    
      kernel/time/tick-oneshot.c:21: warning: missing initial short description on line:
       * tick_program_event
      kernel/time/tick-oneshot.c:107: warning: expecting prototype for tick_check_oneshot_mode(). Prototype was for tick_oneshot_mode_active() instead
    Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
    Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
    Link: https://lore.kernel.org/r/20230103032849.12723-1-rdunlap@infradead.org
    f3cb8080
time.c 22.8 KB