Commit 3f64554f authored by Frank Davis's avatar Frank Davis Committed by Linus Torvalds

[PATCH] 2.5.11 : drivers/net/ppp_generic.c

Linus,
  During a 'make bzImage', I received a warning on ppp_generic.c that ret
wasn't initialized (also for 2.5.10). I have attached a patch that sets
ret = count, thus removing the warning. Please review for inclusion.

Regards,
Frank
parent feca11e9
......@@ -381,6 +381,8 @@ static ssize_t ppp_read(struct file *file, char *buf,
ssize_t ret;
struct sk_buff *skb = 0;
ret = count;
if (pf == 0)
return -ENXIO;
add_wait_queue(&pf->rwait, &wait);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment