Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tty: simserial: now phase out the ioctl file pointer for good

Alan missed the ia64 simulator serial driver (because it was hidden
in arch/... rather than located under drivers/... where one might
expect to find a driver). Drop the "file *" argument from rs_ioctl()
in arch/ia64/hp/sim/simserial.c

Signed-off-by: Tony Luck <tony.luck@intel.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Luck, Tony and committed by
Greg Kroah-Hartman
10e82f6c bdcffc5a

+1 -2
+1 -2
arch/ia64/hp/sim/simserial.c
··· 390 390 } 391 391 392 392 393 - static int rs_ioctl(struct tty_struct *tty, struct file * file, 394 - unsigned int cmd, unsigned long arg) 393 + static int rs_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg) 395 394 { 396 395 if ((cmd != TIOCGSERIAL) && (cmd != TIOCSSERIAL) && 397 396 (cmd != TIOCSERCONFIG) && (cmd != TIOCSERGSTRUCT) &&