diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2008-10-29 14:01:15 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-30 11:38:47 -0700 |
commit | 7106a27b52940085c2c3f6e42742d3a2a84d872a (patch) | |
tree | 439723ef5835c3c21205ebdc7a767f2b3fa2de62 /drivers/rtc/rtc-s3c.c | |
parent | 89a056df78b113fcab21d71cd24aa1893c09225b (diff) | |
download | linux-7106a27b52940085c2c3f6e42742d3a2a84d872a.tar.bz2 |
kernel.h: fix might_sleep kernel-doc
Put the kernel-doc for might_sleep() _immediately_ before the macro
(no intervening lines). Otherwise kernel-doc complains like so:
Warning(linux-2.6.27-rc3-git2//include/linux/kernel.h:129): No description found for parameter 'file'
Warning(linux-2.6.27-rc3-git2//include/linux/kernel.h:129): No description found for parameter 'line'
because kernel-doc is looking at the wrong function prototype (i.e.,
__might_sleep). [Yes, I have a todo note to myself to check/warn for that
inconsistency in scripts/kernel-doc.]
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: <Uwe.Kleine-Koenig@digi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-s3c.c')
0 files changed, 0 insertions, 0 deletions