Files
linux-stable-mirror/include/uapi/linux
Jiri Slaby (SUSE) f1180ca37a tty: vt: use _IO() to define ioctl numbers
_IO*() is the proper way of defining ioctl numbers. All these vt numbers
were synthetically built up the same way the _IO() macro does.

So instead of implicit hex numbers, use _IO() properly.

To not change the pre-existing numbers, use only _IO() (and not _IOR()
or _IOW()). The latter would change the numbers indeed.

Objdump of vt_ioctl.o reveals no difference with this patch.

Again, VT_GETCONSIZECSRPOS already uses _IOR(), so everything is paved
for this patch.

Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Cc: Nicolas Pitre <nico@fluxnic.net>
Reviewed-by: Nicolas Pitre <npitre@baylibre.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20250611100319.186924-8-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-06-17 13:42:34 +02:00
..
2025-02-08 15:16:29 +00:00
2025-01-13 07:36:29 -08:00
2025-02-05 13:22:04 +09:00
2025-02-12 02:29:30 +00:00
2025-05-03 12:02:09 +02:00
2025-04-17 11:09:10 +02:00
2025-05-13 11:12:48 +02:00
2025-01-08 13:18:11 +01:00
2025-04-17 12:30:02 +02:00
2025-02-25 18:14:03 -08:00
2025-05-21 13:41:03 +02:00
2025-04-17 12:30:02 +02:00
2025-04-14 09:51:31 -04:00
2025-05-27 10:27:54 -04:00