projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/net/batman-adv/bat_debugfs.c
b/net/batman-adv/bat_debugfs.c
index e8491ee66468602173d2d697cc12119706b88446..628ab185e9eecf743821fe7bb33823d8a9d0402a 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)