projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f678bc9
)
batman-adv: Remove comparising < 0 for unsigned type
author
Sven Eckelmann
<sven@narfation.org>
Sat, 14 May 2011 21:14:48 +0000
(23:14 +0200)
committer
Sven Eckelmann
<sven@narfation.org>
Mon, 30 May 2011 05:39:30 +0000
(07:39 +0200)
Signed-off-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/bat_debugfs.c
patch
|
blob
|
history
diff --git
a/net/batman-adv/bat_debugfs.c
b/net/batman-adv/bat_debugfs.c
index
e8491ee
..
628ab18
100644
(file)
--- 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,
!(debug_log->log_end - debug_log->log_start))
return -EAGAIN;
- if (
(!buf) || (count < 0)
)
+ if (
!buf
)
return -EINVAL;
if (count == 0)