Skip to content
Snippets Groups Projects
  1. Aug 19, 2009
    • David S. Miller's avatar
      ppp_generic: Help GCC see that 'flen' is always initialized. · 886f9fe6
      David S. Miller authored
      
      It's too stupid to see that we always set flen to something
      before we use it in ppp_mp_explode():
      
      drivers/net/ppp_generic.c: In function 'ppp_push':
      drivers/net/ppp_generic.c:1314: warning: 'flen' may be used uninitialized in this function
      drivers/net/ppp_generic.c:1314: note: 'flen' was declared here
      
      This started warning after commit a53a8b56
      ("ppp: fix lost fragments in ppp_mp_explode() (resubmit)")
      
      So just put an explicit unconditional initialization there to
      hush it up.
      
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      886f9fe6
  2. Aug 18, 2009
  3. Aug 17, 2009
  4. Aug 14, 2009
Loading