From fd1dc261dfd9d04e2b934693f2f3c4dc5563b314 Mon Sep 17 00:00:00 2001 From: wangweidong Date: Fri, 14 Feb 2014 15:43:43 +0800 Subject: appletalk: fix checkpatch errors with space required or prohibited fix checkpatch errors while the space is required or prohibited Signed-off-by: Wang Weidong Signed-off-by: David S. Miller --- net/appletalk/aarp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net/appletalk/aarp.c') diff --git a/net/appletalk/aarp.c b/net/appletalk/aarp.c index d27b86d..d1c55d8 100644 --- a/net/appletalk/aarp.c +++ b/net/appletalk/aarp.c @@ -926,7 +926,7 @@ static struct aarp_entry *iter_next(struct aarp_iter_state *iter, loff_t *pos) struct aarp_entry *entry; rescan: - while(ct < AARP_HASH_SIZE) { + while (ct < AARP_HASH_SIZE) { for (entry = table[ct]; entry; entry = entry->next) { if (!pos || ++off == *pos) { iter->table = table; @@ -995,7 +995,7 @@ static const char *dt2str(unsigned long ticks) { static char buf[32]; - sprintf(buf, "%ld.%02ld", ticks / HZ, ((ticks % HZ) * 100 ) / HZ); + sprintf(buf, "%ld.%02ld", ticks / HZ, ((ticks % HZ) * 100) / HZ); return buf; } -- cgit v1.1