diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-09-07 01:15:17 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-09-07 01:15:17 -0400 |
commit | 344babaa9d39b10b85cadec4e5335d43b52b4ec0 (patch) | |
tree | 7ba5f46394251a478c071a64dff941369769a18c | |
parent | 4706df3d3c42af802597d82c8b1542c3d52eab23 (diff) |
[kernel-doc] fix various DocBook build problems/warnings
Most serious is fixing include/sound/pcm.h, which breaks the DocBook
build.
The other stuff is just filling in things that cause warnings.
-rw-r--r-- | Documentation/DocBook/mcabook.tmpl | 2 | ||||
-rw-r--r-- | drivers/net/wan/syncppp.c | 1 | ||||
-rw-r--r-- | drivers/scsi/libata-core.c | 4 | ||||
-rw-r--r-- | include/sound/pcm.h | 2 | ||||
-rw-r--r-- | kernel/sched.c | 1 |
5 files changed, 6 insertions, 4 deletions
diff --git a/Documentation/DocBook/mcabook.tmpl b/Documentation/DocBook/mcabook.tmpl index 4367f4642f3d..42a760cd7467 100644 --- a/Documentation/DocBook/mcabook.tmpl +++ b/Documentation/DocBook/mcabook.tmpl | |||
@@ -96,7 +96,7 @@ | |||
96 | 96 | ||
97 | <chapter id="pubfunctions"> | 97 | <chapter id="pubfunctions"> |
98 | <title>Public Functions Provided</title> | 98 | <title>Public Functions Provided</title> |
99 | !Earch/i386/kernel/mca.c | 99 | !Edrivers/mca/mca-legacy.c |
100 | </chapter> | 100 | </chapter> |
101 | 101 | ||
102 | <chapter id="dmafunctions"> | 102 | <chapter id="dmafunctions"> |
diff --git a/drivers/net/wan/syncppp.c b/drivers/net/wan/syncppp.c index f58c794a963a..b56a7b516d24 100644 --- a/drivers/net/wan/syncppp.c +++ b/drivers/net/wan/syncppp.c | |||
@@ -1440,6 +1440,7 @@ static void sppp_print_bytes (u_char *p, u16 len) | |||
1440 | * @skb: The buffer to process | 1440 | * @skb: The buffer to process |
1441 | * @dev: The device it arrived on | 1441 | * @dev: The device it arrived on |
1442 | * @p: Unused | 1442 | * @p: Unused |
1443 | * @orig_dev: Unused | ||
1443 | * | 1444 | * |
1444 | * Protocol glue. This drives the deferred processing mode the poorer | 1445 | * Protocol glue. This drives the deferred processing mode the poorer |
1445 | * cards use. This can be called directly by cards that do not have | 1446 | * cards use. This can be called directly by cards that do not have |
diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c index 9fb9814525a3..5cc53cd9323e 100644 --- a/drivers/scsi/libata-core.c +++ b/drivers/scsi/libata-core.c | |||
@@ -2531,7 +2531,7 @@ void swap_buf_le16(u16 *buf, unsigned int buf_words) | |||
2531 | * @ap: port to read/write | 2531 | * @ap: port to read/write |
2532 | * @buf: data buffer | 2532 | * @buf: data buffer |
2533 | * @buflen: buffer length | 2533 | * @buflen: buffer length |
2534 | * @do_write: read/write | 2534 | * @write_data: read/write |
2535 | * | 2535 | * |
2536 | * Transfer data from/to the device data register by MMIO. | 2536 | * Transfer data from/to the device data register by MMIO. |
2537 | * | 2537 | * |
@@ -2577,7 +2577,7 @@ static void ata_mmio_data_xfer(struct ata_port *ap, unsigned char *buf, | |||
2577 | * @ap: port to read/write | 2577 | * @ap: port to read/write |
2578 | * @buf: data buffer | 2578 | * @buf: data buffer |
2579 | * @buflen: buffer length | 2579 | * @buflen: buffer length |
2580 | * @do_write: read/write | 2580 | * @write_data: read/write |
2581 | * | 2581 | * |
2582 | * Transfer data from/to the device data register by PIO. | 2582 | * Transfer data from/to the device data register by PIO. |
2583 | * | 2583 | * |
diff --git a/include/sound/pcm.h b/include/sound/pcm.h index fa23ebfb857a..389e8ebe9c19 100644 --- a/include/sound/pcm.h +++ b/include/sound/pcm.h | |||
@@ -903,7 +903,7 @@ int snd_pcm_format_unsigned(snd_pcm_format_t format); | |||
903 | int snd_pcm_format_linear(snd_pcm_format_t format); | 903 | int snd_pcm_format_linear(snd_pcm_format_t format); |
904 | int snd_pcm_format_little_endian(snd_pcm_format_t format); | 904 | int snd_pcm_format_little_endian(snd_pcm_format_t format); |
905 | int snd_pcm_format_big_endian(snd_pcm_format_t format); | 905 | int snd_pcm_format_big_endian(snd_pcm_format_t format); |
906 | /** | 906 | /* |
907 | * snd_pcm_format_cpu_endian - Check the PCM format is CPU-endian | 907 | * snd_pcm_format_cpu_endian - Check the PCM format is CPU-endian |
908 | * @format: the format to check | 908 | * @format: the format to check |
909 | * | 909 | * |
diff --git a/kernel/sched.c b/kernel/sched.c index 5f889d0cbfcc..f41fa94d2070 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -1478,6 +1478,7 @@ static inline void prepare_task_switch(runqueue_t *rq, task_t *next) | |||
1478 | 1478 | ||
1479 | /** | 1479 | /** |
1480 | * finish_task_switch - clean up after a task-switch | 1480 | * finish_task_switch - clean up after a task-switch |
1481 | * @rq: runqueue associated with task-switch | ||
1481 | * @prev: the thread we just switched away from. | 1482 | * @prev: the thread we just switched away from. |
1482 | * | 1483 | * |
1483 | * finish_task_switch must be called after the context switch, paired | 1484 | * finish_task_switch must be called after the context switch, paired |