• Randy Dunlap's avatar
    resource/docs: Fix new kernel-doc warnings · f75d6515
    Randy Dunlap authored
    The first group of warnings is caused by a "/**" kernel-doc notation
    marker but the function comments are not in kernel-doc format.
    Also add another error return value here.
    
      ../kernel/resource.c:337: warning: Function parameter or member 'start' not described in 'find_next_iomem_res'
      ../kernel/resource.c:337: warning: Function parameter or member 'end' not described in 'find_next_iomem_res'
      ../kernel/resource.c:337: warning: Function parameter or member 'flags' not described in 'find_next_iomem_res'
      ../kernel/resource.c:337: warning: Function parameter or member 'desc' not described in 'find_next_iomem_res'
      ../kernel/resource.c:337: warning: Function parameter or member 'first_lvl' not described in 'find_next_iomem_res'
      ../kernel/resource.c:337: warning: Function parameter or member 'res' not described in 'find_next_iomem_res'
    
    Add the missing function parameter documentation for the other warnings:
    
      ../kernel/resource.c:409: warning: Function parameter or member 'arg' not described in 'walk_iomem_res_desc'
      ../kernel/resource.c:409: warning: Function parameter or member 'func' not described in 'walk_iomem_res_desc'
    Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Borislav Petkov <bp@suse.de>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Fixes: b69c2e20 ("resource: Clean it up a bit")
    Link: http://lkml.kernel.org/r/dda2e4d8-bedd-3167-20fe-8c7d2d35b354@infradead.orgSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
    f75d6515
resource.c 39.7 KB