1. 10 Jan, 2010 3 commits
    • Jiri Slaby's avatar
      NET: irda, remove unnecessary checks · c026ca58
      Jiri Slaby authored
      Stanse found a potential null dereference in ircomm_tty_close
      and ircomm_tty_hangup. There is a check for tty being NULL,
      but it is dereferenced earlier. But it is bogus, the tty cannot
      be NULL, so remove the !tty checks.
      Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
      Cc: Samuel Ortiz <samuel@sortiz.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Alan Cox <alan@linux.intel.com>
      Cc: Greg Kroah-Hartman <gregkh@suse.de>
      Cc: netdev@vger.kernel.org
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c026ca58
    • Jiri Slaby's avatar
      NET: ipv6, remove unnecessary check · c3f6c21d
      Jiri Slaby authored
      Stanse found a potential null dereference in snmp6_unregister_dev.
      There is a check for idev being NULL, but it is dereferenced
      earlier. But idev cannot be NULL when passed to
      snmp6_unregister_dev, so remove the test.
      Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
      Cc: "Pekka Savola (ipv6)" <pekkas@netcore.fi>
      Cc: James Morris <jmorris@namei.org>
      Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
      Cc: Patrick McHardy <kaber@trash.net>
      Cc: netdev@vger.kernel.org
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c3f6c21d
    • Geert Uytterhoeven's avatar
      mac8390: Fix build breakage · 51f53006
      Geert Uytterhoeven authored
      commit 18c00191 ("drivers/net/mac8390.c:
      Convert printk(KERN_<level> to pr_<level>(") broke the build:
      
      | drivers/net/mac8390.c:306: error: expected ')' before 'version'
      
      as "version" is not a string literal, but a variable.
      Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      51f53006
  2. 08 Jan, 2010 25 commits
  3. 07 Jan, 2010 12 commits