diff options
author | Julius Volz <juliusv@google.com> | 2008-07-08 12:07:43 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-08 12:07:43 +0200 |
commit | 07035fc1bbf931a06e47583cddd2cea2907ac0db (patch) | |
tree | 7fda25add89536a7ae44e4e91537e5815dd59f97 /net/ipv6/addrconf.c | |
parent | irda: New device ID for nsc-ircc (diff) | |
download | linux-07035fc1bbf931a06e47583cddd2cea2907ac0db.tar.xz linux-07035fc1bbf931a06e47583cddd2cea2907ac0db.zip |
irda: Fix netlink error path return value
Fix an incorrect return value check of genlmsg_put() in irda_nl_get_mode().
genlmsg_put() does not use ERR_PTR() to encode return values, it just
returns NULL on error.
Signed-off-by: Julius Volz <juliusv@google.com>
Signed-off-by: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions