]> err.no Git - linux-2.6/blobdiff - drivers/char/riscom8.c
mac80211: fix an oops in several failure paths in key allocation
[linux-2.6] / drivers / char / riscom8.c
index 45e73bd8bd112451e9c135e6a5d69d778b7bf89b..f073c710ab8d958a2fb695f43ad279a12929da06 100644 (file)
@@ -1222,7 +1222,7 @@ static int rc_tiocmget(struct tty_struct *tty, struct file *file)
        unsigned int result;
        unsigned long flags;
 
-       if (rc_paranoia_check(port, tty->name, __FUNCTION__))
+       if (rc_paranoia_check(port, tty->name, __func__))
                return -ENODEV;
 
        bp = port_Board(port);
@@ -1250,7 +1250,7 @@ static int rc_tiocmset(struct tty_struct *tty, struct file *file,
        unsigned long flags;
        struct riscom_board *bp;
 
-       if (rc_paranoia_check(port, tty->name, __FUNCTION__))
+       if (rc_paranoia_check(port, tty->name, __func__))
                return -ENODEV;
 
        bp = port_Board(port);