Re: [PATCH v2] tty: remove file from tty_ldisc_ops::ioctl and compat_ioctl
From: Marc Kleine-Budde
Date: Mon Nov 22 2021 - 05:06:22 EST
On 22.11.2021 10:45:29, Jiri Slaby wrote:
> After the previous patches, noone needs 'file' parameter in neither
> ioctl hook from tty_ldisc_ops. So remove 'file' from both of them.
>
> Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>
> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx> [NFC]
> Acked-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
> Cc: Marcel Holtmann <marcel@xxxxxxxxxxxx>
> Cc: Johan Hedberg <johan.hedberg@xxxxxxxxx>
> Cc: Luiz Augusto von Dentz <luiz.dentz@xxxxxxxxx>
> Cc: Wolfgang Grandegger <wg@xxxxxxxxxxxxxx>
> Cc: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx>
> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
> Cc: Jakub Kicinski <kuba@xxxxxxxxxx>
> Cc: Andreas Koensgen <ajk@xxxxxxxxxxxxxxxxxxxxx>
> Cc: Paul Mackerras <paulus@xxxxxxxxx>
> ---
> [v2]
> - keep arguments aligned as they were as noted by Dmitry.
>
> drivers/bluetooth/hci_ldisc.c | 5 ++---
> drivers/input/serio/serport.c | 5 ++---
> drivers/net/can/slcan.c | 4 ++--
For the slcan.c:
Acked-by: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx>
regards,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung West/Dortmund | Phone: +49-231-2826-924 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Attachment:
signature.asc
Description: PGP signature