.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * PPP synchronous tty channel driver for Linux. |
---|
3 | 4 | * |
---|
.. | .. |
---|
14 | 15 | * Copyright 1999 Paul Mackerras. |
---|
15 | 16 | * |
---|
16 | 17 | * Also touched by the grubby hands of Paul Fulghum paulkf@microgate.com |
---|
17 | | - * |
---|
18 | | - * This program is free software; you can redistribute it and/or |
---|
19 | | - * modify it under the terms of the GNU General Public License |
---|
20 | | - * as published by the Free Software Foundation; either version |
---|
21 | | - * 2 of the License, or (at your option) any later version. |
---|
22 | 18 | * |
---|
23 | 19 | * This driver provides the encapsulation and framing for sending |
---|
24 | 20 | * and receiving PPP frames over sync serial lines. It relies on |
---|
.. | .. |
---|
261 | 257 | */ |
---|
262 | 258 | static ssize_t |
---|
263 | 259 | ppp_sync_read(struct tty_struct *tty, struct file *file, |
---|
264 | | - unsigned char __user *buf, size_t count) |
---|
| 260 | + unsigned char *buf, size_t count, |
---|
| 261 | + void **cookie, unsigned long offset) |
---|
265 | 262 | { |
---|
266 | 263 | return -EAGAIN; |
---|
267 | 264 | } |
---|