Re: [PATCH 07/16] tty: remove file from tty_ldisc_ops::ioctl and compat_ioctl

From
Jiri Slaby <jirislaby@kernel.org>
Date
2021-09-21 10:52:46
Also in
lkml
Reply to
Dmitry Torokhov, 2021-09-21
On 21. 09. 21, 6:00, Dmitry Torokhov wrote:
Hi Jiri,

On Tue, Sep 14, 2021 at 11:11:25AM +0200, Jiri Slaby wrote:
quoted
diff --git a/drivers/input/serio/serport.c b/drivers/input/serio/serport.c
index 17eb8f2aa48d..55e91d0e70ec 100644
--- a/drivers/input/serio/serport.c
+++ b/drivers/input/serio/serport.c
@@ -207,8 +207,8 @@ static void serport_set_type(struct tty_struct *tty, unsigned long type)
   * serport_ldisc_ioctl() allows to set the port protocol, and device ID
   */
  
-static int serport_ldisc_ioctl(struct tty_struct *tty, struct file *file,
-			       unsigned int cmd, unsigned long arg)
+static int serport_ldisc_ioctl(struct tty_struct *tty, unsigned int cmd,
+		unsigned long arg)
Can we please keep arguments aligned as they were? Otherwise
Fixed, thanks. Likely, I will send a follow-up -- depending if Greg drops or keeps these in the tree.

-- 
js
suse labs
Thread (48 messages) 48 messages, 22 authors, last reply 2021-11-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help