hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/net/atm/pppoatm.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /* net/atm/pppoatm.c - RFC2364 PPP over ATM/AAL5 */
23
34 /* Copyright 1999-2000 by Mitchell Blank Jr */
....@@ -6,10 +7,6 @@
67 /* And help from Jens Axboe */
78
89 /*
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.
1310 *
1411 * This driver provides the encapsulation and framing for sending
1512 * and receiving PPP frames in ATM AAL5 PDUs.
....@@ -219,9 +216,7 @@
219216 pvcc->chan.mtu += LLC_LEN;
220217 break;
221218 }
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);
225220 goto error;
226221 case e_vc:
227222 break;
....@@ -398,7 +393,7 @@
398393 * Each PPPoATM instance has its own tasklet - this is just a
399394 * prototypical one used to initialize them
400395 */
401
- static const DECLARE_TASKLET(tasklet_proto, pppoatm_wakeup_sender, 0);
396
+ static const DECLARE_TASKLET_OLD(tasklet_proto, pppoatm_wakeup_sender);
402397 if (copy_from_user(&be, arg, sizeof be))
403398 return -EFAULT;
404399 if (be.encaps != PPPOATM_ENCAPS_AUTODETECT &&