| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* net/atm/pppoatm.c - RFC2364 PPP over ATM/AAL5 */ |
|---|
| 2 | 3 | |
|---|
| 3 | 4 | /* Copyright 1999-2000 by Mitchell Blank Jr */ |
|---|
| .. | .. |
|---|
| 6 | 7 | /* And help from Jens Axboe */ |
|---|
| 7 | 8 | |
|---|
| 8 | 9 | /* |
|---|
| 9 | | - * This program is free software; you can redistribute it and/or |
|---|
| 10 | | - * modify it under the terms of the GNU General Public License |
|---|
| 11 | | - * as published by the Free Software Foundation; either version |
|---|
| 12 | | - * 2 of the License, or (at your option) any later version. |
|---|
| 13 | 10 | * |
|---|
| 14 | 11 | * This driver provides the encapsulation and framing for sending |
|---|
| 15 | 12 | * and receiving PPP frames in ATM AAL5 PDUs. |
|---|
| .. | .. |
|---|
| 219 | 216 | pvcc->chan.mtu += LLC_LEN; |
|---|
| 220 | 217 | break; |
|---|
| 221 | 218 | } |
|---|
| 222 | | - pr_debug("Couldn't autodetect yet (skb: %02X %02X %02X %02X %02X %02X)\n", |
|---|
| 223 | | - skb->data[0], skb->data[1], skb->data[2], |
|---|
| 224 | | - skb->data[3], skb->data[4], skb->data[5]); |
|---|
| 219 | + pr_debug("Couldn't autodetect yet (skb: %6ph)\n", skb->data); |
|---|
| 225 | 220 | goto error; |
|---|
| 226 | 221 | case e_vc: |
|---|
| 227 | 222 | break; |
|---|
| .. | .. |
|---|
| 398 | 393 | * Each PPPoATM instance has its own tasklet - this is just a |
|---|
| 399 | 394 | * prototypical one used to initialize them |
|---|
| 400 | 395 | */ |
|---|
| 401 | | - static const DECLARE_TASKLET(tasklet_proto, pppoatm_wakeup_sender, 0); |
|---|
| 396 | + static const DECLARE_TASKLET_OLD(tasklet_proto, pppoatm_wakeup_sender); |
|---|
| 402 | 397 | if (copy_from_user(&be, arg, sizeof be)) |
|---|
| 403 | 398 | return -EFAULT; |
|---|
| 404 | 399 | if (be.encaps != PPPOATM_ENCAPS_AUTODETECT && |
|---|