From 973da4113da6fcce647e1e07500a5950aa0c6500 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sat, 4 Jan 2014 08:55:09 +0400 Subject: [PATCH] fix whitespace and comments --- bus.c | 1 - connection.c | 1 - internal.h | 4 ++-- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/bus.c b/bus.c index 0b859ea..492976f 100644 --- a/bus.c +++ b/bus.c @@ -274,7 +274,6 @@ int kdbus_bus_make_user(void __user *buf, struct kdbus_cmd_make **make, u64 bsize = 0; int ret; - if (kdbus_size_get_user(&size, buf, struct kdbus_cmd_make)) return -EFAULT; diff --git a/connection.c b/connection.c index a7580c2..b279f80 100644 --- a/connection.c +++ b/connection.c @@ -1625,7 +1625,6 @@ exit_unref: return ret; } - /** * kdbus_conn_has_name() - check if a connection owns a name * @conn: Connection diff --git a/internal.h b/internal.h index 8daffc7..8c1594f 100644 --- a/internal.h +++ b/internal.h @@ -80,7 +80,7 @@ * kdbus_size_get_user - read the size variable from user memory * @_s: Size variable * @_b: Buffer to read from - * @_t: Structure "size" is embedded in + * @_t: Structure, "size" is a member of * * Returns: the result of copy_from_user() */ @@ -94,7 +94,7 @@ * kdbus_offset_set_user - write the offset variable to user memory * @_s: Offset variable * @_b: Buffer to write to - * @_t: Structure "offset" is embedded in + * @_t: Structure, "offset" is a member of * * Returns: the result of copy_to_user() */ -- 2.34.1