diff options
author | wangweidong <wangweidong1@huawei.com> | 2014-02-14 15:43:43 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-14 16:18:32 -0500 |
commit | fd1dc261dfd9d04e2b934693f2f3c4dc5563b314 (patch) | |
tree | e65454083984d5cc447e67559f8bbdbfac774286 /net/appletalk/aarp.c | |
parent | 977cb0ecf82eb6d15562573c31edebf90db35163 (diff) |
appletalk: fix checkpatch errors with space required or prohibited
fix checkpatch errors while the space is required or prohibited
Signed-off-by: Wang Weidong <wangweidong1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/appletalk/aarp.c')
-rw-r--r-- | net/appletalk/aarp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/appletalk/aarp.c b/net/appletalk/aarp.c index d27b86dfb0e9..d1c55d8dd0a2 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; } |