diff options
author | Sven Eckelmann <sven@narfation.org> | 2011-05-14 17:14:48 -0400 |
---|---|---|
committer | Sven Eckelmann <sven@narfation.org> | 2011-05-30 01:39:30 -0400 |
commit | 16f14b45c48f4f1be5857103ee3054114604d98c (patch) | |
tree | 14f10ce13c94b620e09bb0ff8f25e62a175b4e1e /net | |
parent | f678bc9883bb28d9d20db01bc0de53efbacc21c5 (diff) |
batman-adv: Remove comparising < 0 for unsigned type
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/batman-adv/bat_debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/bat_debugfs.c b/net/batman-adv/bat_debugfs.c index e8491ee66468..628ab185e9ee 100644 --- a/net/batman-adv/bat_debugfs.c +++ b/net/batman-adv/bat_debugfs.c | |||
@@ -115,7 +115,7 @@ static ssize_t log_read(struct file *file, char __user *buf, | |||
115 | !(debug_log->log_end - debug_log->log_start)) | 115 | !(debug_log->log_end - debug_log->log_start)) |
116 | return -EAGAIN; | 116 | return -EAGAIN; |
117 | 117 | ||
118 | if ((!buf) || (count < 0)) | 118 | if (!buf) |
119 | return -EINVAL; | 119 | return -EINVAL; |
120 | 120 | ||
121 | if (count == 0) | 121 | if (count == 0) |