Commit 16f14b45 authored by Sven Eckelmann's avatar Sven Eckelmann
Browse files

batman-adv: Remove comparising < 0 for unsigned type

parent f678bc98
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)