Loading drivers/tty/rocket.c +10 −0 Original line number Diff line number Diff line Loading @@ -1284,18 +1284,28 @@ static int rp_ioctl(struct tty_struct *tty, switch (cmd) { case RCKP_GET_CONFIG: dev_warn_ratelimited(tty->dev, "RCKP_GET_CONFIG option is deprecated\n"); ret = get_config(info, argp); break; case RCKP_SET_CONFIG: dev_warn_ratelimited(tty->dev, "RCKP_SET_CONFIG option is deprecated\n"); ret = set_config(tty, info, argp); break; case RCKP_GET_PORTS: dev_warn_ratelimited(tty->dev, "RCKP_GET_PORTS option is deprecated\n"); ret = get_ports(info, argp); break; case RCKP_RESET_RM2: dev_warn_ratelimited(tty->dev, "RCKP_RESET_RM2 option is deprecated\n"); ret = reset_rm2(info, argp); break; case RCKP_GET_VERSION: dev_warn_ratelimited(tty->dev, "RCKP_GET_VERSION option is deprecated\n"); ret = get_version(info, argp); break; default: Loading Loading
drivers/tty/rocket.c +10 −0 Original line number Diff line number Diff line Loading @@ -1284,18 +1284,28 @@ static int rp_ioctl(struct tty_struct *tty, switch (cmd) { case RCKP_GET_CONFIG: dev_warn_ratelimited(tty->dev, "RCKP_GET_CONFIG option is deprecated\n"); ret = get_config(info, argp); break; case RCKP_SET_CONFIG: dev_warn_ratelimited(tty->dev, "RCKP_SET_CONFIG option is deprecated\n"); ret = set_config(tty, info, argp); break; case RCKP_GET_PORTS: dev_warn_ratelimited(tty->dev, "RCKP_GET_PORTS option is deprecated\n"); ret = get_ports(info, argp); break; case RCKP_RESET_RM2: dev_warn_ratelimited(tty->dev, "RCKP_RESET_RM2 option is deprecated\n"); ret = reset_rm2(info, argp); break; case RCKP_GET_VERSION: dev_warn_ratelimited(tty->dev, "RCKP_GET_VERSION option is deprecated\n"); ret = get_version(info, argp); break; default: Loading