Hello.
I am sending you the patch which fixes incorrect device index parsing in tty_dev_name_to_number().
Thank you for your time and attention. I am looking forward to any comments or suggestions for improvement.
Sorry for any mistakes, this is my first patch.