Skip to content

Commit

Permalink
net: Fix non-kernel-doc comments with kernel-doc start marker
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Hutchings <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Ben Hutchings authored and davem330 committed Jul 11, 2012
1 parent 2c53040 commit ae86b9e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 17 deletions.
14 changes: 4 additions & 10 deletions net/ceph/pagelist.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ int ceph_pagelist_append(struct ceph_pagelist *pl, const void *buf, size_t len)
}
EXPORT_SYMBOL(ceph_pagelist_append);

/**
* Allocate enough pages for a pagelist to append the given amount
/* Allocate enough pages for a pagelist to append the given amount
* of data without without allocating.
* Returns: 0 on success, -ENOMEM on error.
*/
Expand All @@ -95,9 +94,7 @@ int ceph_pagelist_reserve(struct ceph_pagelist *pl, size_t space)
}
EXPORT_SYMBOL(ceph_pagelist_reserve);

/**
* Free any pages that have been preallocated.
*/
/* Free any pages that have been preallocated. */
int ceph_pagelist_free_reserve(struct ceph_pagelist *pl)
{
while (!list_empty(&pl->free_list)) {
Expand All @@ -112,9 +109,7 @@ int ceph_pagelist_free_reserve(struct ceph_pagelist *pl)
}
EXPORT_SYMBOL(ceph_pagelist_free_reserve);

/**
* Create a truncation point.
*/
/* Create a truncation point. */
void ceph_pagelist_set_cursor(struct ceph_pagelist *pl,
struct ceph_pagelist_cursor *c)
{
Expand All @@ -124,8 +119,7 @@ void ceph_pagelist_set_cursor(struct ceph_pagelist *pl,
}
EXPORT_SYMBOL(ceph_pagelist_set_cursor);

/**
* Truncate a pagelist to the given point. Move extra pages to reserve.
/* Truncate a pagelist to the given point. Move extra pages to reserve.
* This won't sleep.
* Returns: 0 on success,
* -EINVAL if the pagelist doesn't match the trunc point pagelist
Expand Down
3 changes: 1 addition & 2 deletions net/dcb/dcbnl.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@
#include <linux/module.h>
#include <net/sock.h>

/**
* Data Center Bridging (DCB) is a collection of Ethernet enhancements
/* Data Center Bridging (DCB) is a collection of Ethernet enhancements
* intended to allow network traffic with differing requirements
* (highly reliable, no drops vs. best effort vs. low latency) to operate
* and co-exist on Ethernet. Current DCB features are:
Expand Down
3 changes: 1 addition & 2 deletions net/ipv4/tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -3310,8 +3310,7 @@ EXPORT_SYMBOL(tcp_md5_hash_key);

#endif

/**
* Each Responder maintains up to two secret values concurrently for
/* Each Responder maintains up to two secret values concurrently for
* efficient secret rollover. Each secret value has 4 states:
*
* Generating. (tcp_secret_generating != tcp_secret_primary)
Expand Down
5 changes: 2 additions & 3 deletions net/tipc/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -1699,9 +1699,8 @@ static int getsockopt(struct socket *sock,
return put_user(sizeof(value), ol);
}

/**
* Protocol switches for the various types of TIPC sockets
*/
/* Protocol switches for the various types of TIPC sockets */

static const struct proto_ops msg_ops = {
.owner = THIS_MODULE,
.family = AF_TIPC,
Expand Down

0 comments on commit ae86b9e

Please sign in to comment.