Re: [PATCH 1/2] tty: new helper function tty_get_mget

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





--- a/include/linux/tty.h
+++ b/include/linux/tty.h
@@ -419,8 +419,9 @@ void tty_unthrottle(struct tty_struct *tty);
  int tty_throttle_safe(struct tty_struct *tty);
  int tty_unthrottle_safe(struct tty_struct *tty);
  int tty_do_resize(struct tty_struct *tty, struct winsize *ws);
-int tty_get_icount(struct tty_struct *tty,
+int tty_get_icount(struct tty_struct *tty

The robot already complained about this ^^^.

Have you even tried to compile-test this?

Sorry I made a rebase of the patch set. My mistake!
I compiled and tested my changes against kernel 5.15 (OpenWrt).
And it worked as expected.


  		struct serial_icounter_struct *icount);
+extern int tty_get_mget(struct tty_struct *tty);




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux